Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Code for preload DreamWeaver code is rather bloated kapow msg:1472386 5:42 pm on Aug 6, 2003 (gmt 0) I'm using DreamWeaver but its code for things like an image preload is rather bloated.
Can someone tell me a nice short code to get a button and logo to preload e.g. something in the head tad would be good.
tedster msg:1472387 8:02 pm on Aug 6, 2003 (gmt 0)
Simple image preload:
</script> kapow msg:1472388 8:56 am on Aug 7, 2003 (gmt 0)
Thanks Is it ok in the head tag? korkus2000 msg:1472389 1:32 pm on Aug 7, 2003 (gmt 0)
Yes that works in the head tag. You could actually put it anywhere, but I believe it will start preloading earlier in the head tag. You could make it a function and add it to your onload event in the body tag if you want preload to start after the page loads. That way your page won't wait to finish loading until the preload is done.