Widget:Frontpagegallery: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
if ($.browser.msie) { theme = "gif"; } else { theme = "light"; } | if ($.browser.msie) { theme = "gif"; } else { theme = "light"; } | ||
$('#photos').galleryView({ panel_width: | $('#photos').galleryView({ panel_width: 1024, panel_height: 256, transition_interval: 7000, border: "1px solid #CCC", pause_on_hover: true, nav_theme: theme }); | ||
$('#photos').css("margin", "0 auto"); | $('#photos').css("margin", "0 auto"); | ||
}); | }); |
Revision as of 10:21, 4 August 2010
This widget displays a gallery of images for the main page.
Dependencies:
/mediawiki/skins/csdmsskin_new/js/jquery/jquery-galleryview-1.1/*