Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    is this AJAX or anything else?

    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
    Move on....

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    Right-click -> View Source

    Code:
    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

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Js

    is this AJAX or anything else?
    Annoying? No, nothing to do with server side access, just plain JavaScript.
    Regards,
    Ronald.
    ronaldvanderwijden.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •