Template:Team:HokkaidoU Japan/JS
From 2014.igem.org
(Difference between revisions)
Line 182: | Line 182: | ||
jQuery(document).ready(function(){ | jQuery(document).ready(function(){ | ||
jQuery(".megamenu").megamenu(); | jQuery(".megamenu").megamenu(); | ||
+ | }); | ||
+ | |||
+ | jQuery(document).ready(function(){ | ||
+ | jQuery(".megamenu").megamenu({ 'show_method':'fadeIn', 'hide_method': 'fadeOut' }); | ||
+ | // 'show_method' can take 'fadeIn', 'slideDown' and 'simple' as values only. Default: 'slideDown' | ||
+ | // 'hide_method' can take 'fadeOut', 'slideUp' and 'simple' as values only. Default: 'slideUp' | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 07:52, 28 August 2014