Difference between revisions of "Template:Peshawar"

Line 683: Line 683:
 
});
 
});
  
 +
//********************PRELOAD IMAGES (CUSTOM)**************************
 +
$.preloadImages = function() {
 +
  for (var i = 0; i < arguments.length; i++) {
 +
    $("<img />").attr("src", arguments[i]);
 +
  }
 +
}
  
 
+
$.preloadImages("https://static.igem.org/mediawiki/2016/8/8f/T--Peshawar--ali-2.jpg",
 
+
"https://static.igem.org/mediawiki/2016/a/a2/T--Peshawar--asif-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/8/83/T--Peshawar--hadi-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/b/ba/T--Peshawar--ismail-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/e/e8/T--Peshawar--maleeha-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/3/3d/T--Peshawar--mansoor-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/e/e9/T--Peshawar--masoom-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/e/ea/T--Peshawar--rabia-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/7/7e/T--Peshawar--rayan-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/0/09/T--Peshawar--sami-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/b/b8/T--Peshawar--sarah-2.jpg",
 +
"https://static.igem.org/mediawiki/2016/1/17/T--Peshawar--sidra-2.jpg");
 
</script>
 
</script>
  
  
 
</html>
 
</html>

Revision as of 03:22, 10 September 2016