Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JHtml::_('jquery.framework');
- jQuery(document).on('click', '#go-to-my-anchor', function(e) {
- e.preventDefault();
- window.location.hash = '#my-anchor';
- });
- $(document).bind("mobileinit", function() {
- ...
- $.mobile.linkBindingEnabled = false;
- $.mobile.hashListeningEnabled = false;
- ...
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement