hai groups

0 views
Skip to first unread message

siva kumar

unread,
Nov 7, 2005, 2:12:32 AM11/7/05
to Techdot...@googlegroups.com
hai all,

  in asp.net    i had used treeview in one frame..  if u click the treeview node the corresponding  page will be displayed on the another frame..sometimes it will take more  times to find a corresponding page..   at that time i want display  please wait gif image or  some message..
anybody  knows please help me..

advance  thanks

by

Sivakumar  Periasmy

BabuLives

unread,
Nov 7, 2005, 2:23:06 AM11/7/05
to .NetIndia
Ya it can be done using javascript...


<SCRIPT LANGUAGE="JavaScript">

function go()
{

setInterval("Animate()",250);

}
var tick=1;
function Animate()
{
if(tick < 6)
{
var _id = "loadingbox"+tick;

var _e = document.getElementById(_id)

if(_e)
_e.style.visibility = "visible"
tick++;
}
else
{
tick = 0
if(document.getElementById("loadingbox1"))
document.getElementById("loadingbox1").style.visibility =
"hidden"
if(document.getElementById("loadingbox2"))
document.getElementById("loadingbox2").style.visibility =
"hidden"
if(document.getElementById("loadingbox3"))
document.getElementById("loadingbox3").style.visibility =
"hidden"
if(document.getElementById("loadingbox4"))
document.getElementById("loadingbox4").style.visibility =
"hidden"
if(document.getElementById("loadingbox5"))
document.getElementById("loadingbox5").style.visibility =
"hidden"
}

}

</SCRIPT>


<META HTTP-EQUIV="refresh" CONTENT="0;url="redirect Page">
</HEAD>
<BODY onload="go()">

Reply all
Reply to author
Forward
0 new messages