|
-
Apr 9th, 2003, 06:49 AM
#1
Thread Starter
Addicted Member
image loading?
Is it possible to make image to be loaded by some order or index???
exemple: the smallest imge are loaded first, then large images...than the middle one???
thanks!
Next regards from Herpysz!
-
Apr 9th, 2003, 08:55 AM
#2
No. The browser loads the images. HTML works top-down.
-
Apr 9th, 2003, 04:15 PM
#3
Lively Member
you can put it in a javascript which lets the next image load when the one before is loaded..
-
Apr 10th, 2003, 02:07 PM
#4
Thread Starter
Addicted Member
how?
Originally posted by bekkel
you can put it in a javascript which lets the next image load when the one before is loaded..
Please tell me how to do that? javascript or vbscript!
Next regards from Herpysz!
-
Apr 11th, 2003, 07:27 AM
#5
Addicted Member
use the onload event of the <img> tag
<HTML>
<HEAD>
<script>
function loadImage(strEl,strLink)
{
window.document.all('im'+strEl).src = strLink
}
</script>
</HEAD>
<BODY>
<img name=im1 id=im1 src="http://www.microsoft.com/library/homepage/images/2003/ts_April042003teched.jpg" onload="loadImage(2,'http://www.microsoft.com/homepage/gif/brands.gif')">
<img name=im2 id=im2 onload="loadImage(3,'http://www.microsoft.com/homepage/gif/artBiz5.gif')">
<img name=im3 id=im3 onload="loadImage(4,'http://www.microsoft.com/homepage/gif/artTech5.gif')">
<img name=im4 id=im4>
</BODY>
</HTML>
-
Apr 13th, 2003, 06:16 AM
#6
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|