kab_184
08-31-2006, 09:32 AM
hi
During the loading of pages at www.ip2location.com ..a white box is visible with message similar to "Loading please wait" until whole page is loaded and then it disappears... is this AJAX or anything else? where to get it if anyone knows for Sure..
cheers
Spudhead
08-31-2006, 12:40 PM
Right-click -> View Source
function preloadImages() {
if (document.all){
document.all.pleasewaitScreen.style.visibility='hidden';
} else {
if(document.layers){
document.layers['pleasewaitScreen'].visibility='hidden';
} else {
if(document.getElementById('pleasewaitScreen')) {
document.getElementById('pleasewaitScreen').style.visibility='hidden';
}
}
}
if (document.images) {
<!-- Always preload the following -->
home_down = newImage("images/home_down.gif");
products_down = newImage("images/products_down.gif");
about_down = newImage("images/about_down.gif");
investors_down = newImage("images/investors_down.gif");
feedback_down = newImage("images/feedback_down.gif");
contact_down = newImage("images/contact_down.gif");
}
} // end of preload images
ronaldb66
08-31-2006, 03:08 PM
is this AJAX or anything else? Annoying? No, nothing to do with server side access, just plain JavaScript.