Template:Team:Edinburgh/Code
From 2013.igem.org
(Difference between revisions)
Hristianita (Talk | contribs) |
Hristianita (Talk | contribs) |
||
Line 286: | Line 286: | ||
$(function() { | $(function() { | ||
- | + | $(".gallery > p > a > img").css("display", "none"); | |
+ | if ($(".gallery > p > a > img")[gallery_active_id]) $(".gallery > p > a > img")[gallery_active_id].style.display="block"; | ||
setInterval("changeGalleryPic()", 10000) ; | setInterval("changeGalleryPic()", 10000) ; | ||
Revision as of 21:19, 3 October 2013