Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 727 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 727 Bytes

Navigate.js

A very slim jquery plugin that allows native like page navigation in single page, hybrid mobile apps.

v1.0.0 is out! Hopefully it's best for deployment. Fingers crossed!

###Demo

Version

1.0.1

Installation

Just include the js and css

<script src="navigate.js"></script>
<link rel="stylesheet" type="text/css" href="navigate.css" />

###Usage

In HTML, define each page as 'page' class

<div class='page' id='page1'>
            <h1>Page 1</h1>
            <p onclick="navigateTo('#page2')">Go to Page 2</p>
            <p onclick='navigateGoBack()'>Back</p>
        </div>

License

MIT