skip to main
|
skip to sidebar
Easy things learned hard way
Wednesday, September 23, 2009
Another way to preload images in javascript
function preloadImg(url) {
var divPreLoad = '<div style="height:0px; width:1px; background-image:url(' + url + ')"></div>';
document.write(divPreLoad);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2010
(1)
►
July
(1)
▼
2009
(6)
►
November
(1)
►
October
(1)
▼
September
(2)
Another way to preload images in javascript
DataList with automatically generated columns
►
August
(1)
►
July
(1)
About Me
i-um
View my complete profile
No comments:
Post a Comment