Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- // Save the hash the user loaded the page with
- var page = (location.hash) ? location.hash : '';
- // When you instantiate the jQTouch object, it will revert the hash to the top div on the page or the div with class="current"
- $jQT = new $.jQTouch({
- icon: 'jqtouch.png',
- statusBar: 'black-translucent',
- preloadImages: [
- 'themes/jqt/img/chevron_white.png',
- 'themes/jqt/img/bg_row_select.gif',
- 'themes/jqt/img/back_button_clicked.png',
- 'themes/jqt/img/button_clicked.png'
- ]
- });
- $(document).ready(function() {
- // If we have page set, make jQTouch go to that page
- if (page) jQT.goto(page, 'slide');
- });
- </script>
Add Comment
Please, Sign In to add comment