User:Rodejong/imagepop.js

importScriptURI( wgServer + "/w/extensions/UsabilityInitiative/js/js2.combined.min.js" ); importStylesheet( 'User:TheDJ/imagepop.css'); var ip_timeout1; var ip_timeout2; $( function { ip_timeout1 =  setTimeout("ip_start1;", 2000);  ip_timeout2 =  setTimeout("ip_start2;", 4000); }); function ip_start1 { importScript( 'User:TheDJ/fancybox.js'); clearTimeout(ip_timeout1) } function ip_start2 { $("a.image").fancybox; clearTimeout(ip_timeout2) }