Is there anyway to preload images then show them all once they're loaded, instead of it loading up each one individually and showing the little loading image on each image, ty.

Is there anyway to preload images then show them all once they're loaded, instead of it loading up each one individually and showing the little loading image on each image, ty.
Edited by Catzsy Forum Super Moderator: Your signature has been removed because
It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.
By using Javascript/AJAX and use a ajax loading image
Edited by Catzsy Forum Super Moderator: Your signature has been removed because
It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.
I'm only just learning it myself, I don't know the code but others will
then create javascript.js and insertCode:<script src="javascript.js"></script> <body onLoad="dopage('images.html', 'content')">
Something like thatCode:function dopage(url, containerid){ document.getElementById("content").innerHTML = '<div align="center"><font size="1" color="#FFFFFF" face="verdana"><b>Loading</b>...</font></div><br><br>'; var page_request = false if (window.XMLHttpRequest) page_request = new XMLHttpRequest() else if (window.ActiveXObject){ try { page_request = new ActiveXObject("Msxml2.XMLHTTP") } catch (e){ try{ page_request = new ActiveXObject("Microsoft.XMLHTTP") } catch (e){} } } else return false page_request.onreadystatechange=function(){ loadpage(page_request, containerid) } if (bustcachevar) bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime() page_request.open('GET', url+bustcacheparameter, true) page_request.send(null) }
Last edited by Drompo; 02-05-2007 at 04:41 PM.
Thats of PowerPod, which is off mine and Dans site btw.
i know, thats the only thing i could think of it on
I got it from Dan
Want to hide these adverts? Register an account for free!