Created
February 27, 2014 13:01
-
-
Save ajmalmsali/9249594 to your computer and use it in GitHub Desktop.
fix index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#test_link").on("singletap", function(e) { | |
var a = '#test'; | |
$.UINavigationHistory[0] = a; | |
$.UISetHashOnUrl(a); | |
$('.button.slide-out-button').hide(); // hides that toggle button | |
$('.slide-out').removeClass('open'); | |
$('article').removeClass('show'); | |
$('article').prev().removeClass('show'); | |
$(a).addClass('open'); | |
$(a).prev().addClass('show') | |
}); | |
$("#back_to_music").on("singletap", function(e) { | |
var a = '#music'; | |
$.UINavigationHistory[0] = a; | |
$.UISetHashOnUrl(a); | |
$('.button.slide-out-button').show(); // hides that toggle button | |
$('.slide-out').removeClass('open'); | |
$('article').removeClass('show'); | |
$('article').prev().removeClass('show'); | |
$(a).addClass('open'); | |
$(a).prev().addClass('show') | |
}); | |
<nav style="text-align:left"> | |
<a id="#back_to_music" .... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment