Created
February 10, 2013 15:44
-
-
Save gekh/4749969 to your computer and use it in GitHub Desktop.
Предзагрузка картинок
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
if(document.images) /* если доступен объект Image */ | |
{ | |
/* создаем объект - изображение. указывем размеры изображения */ | |
var pic1=new Image(); | |
/* путь к изображению */ | |
pic1.src="path-to/popup-back.png"; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment