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', this).click(function() { | |
- | $('. | + | $('.navDropMenu', this).stop(true,true).slideDown(); |
- | } | + | }); |
- | + | $(document).click(function() { | |
- | + | $('.navDropMenu').slideUp(); | |
- | } | + | }); |
} | } | ||
}); | }); | ||
</script> | </script> | ||
<html> | <html> |
Revision as of 14:49, 31 January 2014