Preloading Images
If you’re looking for a way to speed up your web site’s perceived load time, preloading your images may be your answer. By using the following JavaScript code, you can preload the images you specify prior to your web page opening. This will enable your images to promptly display instead of your visitors having to wait for them to load.
————————————————————————————————————————-
Wenn Sie auf der Suche nach einem Weg zur Beschleunigung Ihrer Website wahrgenommen Ladezeiten, Preloading Ihre Bilder können Sie Ihre Antwort. Durch die Verwendung der folgenden JavaScript-Code, können Sie die Vorspannung der Bilder, die Sie angeben, vor Ihrer Web-Seite geöffnet. Auf diese Weise können Sie Ihre Bilder sofort Display anstelle von Ihren Besuchern zu warten, für sie zu laden.
__________________________________________________________________________________
Place this code between your <HEAD> and </HEAD> tags:
<SCRIPT language=”JavaScript”>
<!– Script courtesy of http://www.baldwinit.com - Website Design
var preload=new Image();
preload.src=”(image.gif)”;
// –>
</SCRIPT>
Edit the text indicated in red to your image file name.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.


Comments
No comments yet.
Leave a comment