Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. JHtml::_('jquery.framework');
  2.  
  3. jQuery(document).on('click', '#go-to-my-anchor', function(e) {
  4. e.preventDefault();
  5. window.location.hash = '#my-anchor';
  6. });
  7.  
  8. $(document).bind("mobileinit", function() {
  9. ...
  10. $.mobile.linkBindingEnabled = false;
  11. $.mobile.hashListeningEnabled = false;
  12. ...
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement