anandnerkar
asked on
Please wait.... message before the page load
Does anyone know how to show a "please wait..." message until the page load was finished?
I have an image button on a page called 'Take Test'. But loading of test page takes some time. So I want to show "Please wait ...page loading" text above the image button.
Thanks in advance.
I have an image button on a page called 'Take Test'. But loading of test page takes some time. So I want to show "Please wait ...page loading" text above the image button.
Thanks in advance.
ASKER
Hey thanks for quick reply... but I dont want image preload code.
I have a page which has "Take test" image button. On click it starts to load a test i,e question pages. This page is very large so it takes time to download. So after button click I want to show 'Please wait....' text above the image button itself untill the question page load was finished.
I have a page which has "Take test" image button. On click it starts to load a test i,e question pages. This page is very large so it takes time to download. So after button click I want to show 'Please wait....' text above the image button itself untill the question page load was finished.
<html>
<head>
<title>Load Test</title>
<Script>
function kk() {
document.getElementById("s ").style.v isibility = "visible"
}
</Script>
</head>
<body topmargin="0" leftmargin="0" onLoad="kk()">
Loading...
<div id="s" style="visibility:hidden">
<p><img border="0" name="ss" src="img1.jpg" width="800" height="600"></p>
</div>
</body>
</html>
<head>
<title>Load Test</title>
<Script>
function kk() {
document.getElementById("s
}
</Script>
</head>
<body topmargin="0" leftmargin="0" onLoad="kk()">
Loading...
<div id="s" style="visibility:hidden">
<p><img border="0" name="ss" src="img1.jpg" width="800" height="600"></p>
</div>
</body>
</html>
so b/w the DIV tag is your Page Content.
And Customize your Loading.. message to anything you want.
And Customize your Loading.. message to anything you want.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
-Matt