Template:NavBar

From 2014.igem.org

(Difference between revisions)
m
m
Line 140: Line 140:
$(document).ready(function() {
$(document).ready(function() {
if (!!('ontouchstart' in window)){
if (!!('ontouchstart' in window)){
-
$('.dropToggle').click(function(event) {  
+
$('.dropToggle', this).click(function(event) {  
-
$('.navDropMenu').slideToggle();
+
$('.navDropMenu', this).stop(true,true).slideDown();
e.stopPropogation();
e.stopPropogation();
});
});

Revision as of 14:46, 31 January 2014