Template:Team:HokkaidoU Japan/JS

From 2014.igem.org

(Difference between revisions)
Line 26: Line 26:
                               hide_method: "fadeOut",
                               hide_method: "fadeOut",
                               justify: "left",
                               justify: "left",
-
                               enable_js_shadow: false,
+
                               enable_js_shadow: true,
                               shadow_size: 0,
                               shadow_size: 0,
                               mm_timeout: 400
                               mm_timeout: 400
Line 163: Line 163:
// 'show_method' can take 'fadeIn', 'slideDown' and 'simple' as values only. Default: 'slideDown'
// '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'
// 'hide_method' can take 'fadeOut', 'slideUp' and 'simple' as values only. Default: 'slideUp'
 +
});
 +
 +
jQuery(document).ready(function(){
 +
    jQuery(".megamenu").megamenu({ 'enable_js_shadow':true, 'shadow_size':5 });
 +
// 'enable_js_shadow' can take true/false. Default: true
 +
// 'shadow_size' can take any whole number greater than 0. Default: 3
});
});

Revision as of 02:37, 7 September 2014