Widget:Frontpagegallery: Difference between revisions
From CSDMS
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: 680, panel_height: 320, transition_interval: 7000, border: " | $('#photos').galleryView({ panel_width: 680, panel_height: 320, transition_interval: 7000, border: "10px solid #CCC", pause_on_hover: true, nav_theme: theme }); | ||
$('#photos').css("margin", "0 auto"); | $('#photos').css("margin", "0 auto"); | ||
}); | }); |
Revision as of 14:41, 10 August 2010
This widget displays a gallery of images for the main page.
Dependencies:
/mediawiki/skins/csdmsskin_new/js/jquery/jquery-galleryview-1.1/*