Loader ajax/css
Loader ajax/css
Out of context: Reply #3
- Started
- Last post
- 4 Responses
- quamb0
I've managed to get this far... though can't figure out how to make display=none once the img has loaded. Am guessing this code is horribly wrong...
function movepic(img_name,img_src) {
var loadingdiv = document.getElementById('loading...
loadingdiv.style.display = "block";document[img_name].src=img_src;
var loadingdiv = document.getElementById('loading...
loadingdiv.style.display = "none";
}