Difference between revisions of "Team:Marburg/Gallery"
Line 386: | Line 386: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
//$(FRAMEID).setFader(HOLDTIME,FADETIME); | //$(FRAMEID).setFader(HOLDTIME,FADETIME); | ||
− | slideid = $('#fader').initGallery().setFader( | + | slideid = $('#fader').initGallery().setFader(4000,500); |
$('#fader').hover(function() {clearInterval(slideid);},function() {slideid = $(this).setFader(3000,500);}); | $('#fader').hover(function() {clearInterval(slideid);},function() {slideid = $(this).setFader(3000,500);}); | ||
$('#fader img').click(function() {console.log("CLICK ON IMG: \"" + $(this).attr('alt') + "\"");}); | $('#fader img').click(function() {console.log("CLICK ON IMG: \"" + $(this).attr('alt') + "\"");}); |
Revision as of 12:06, 11 September 2015