Smartnav: client-side onload doesn't fire on postback

O

Oleg Ogurok

Hi all,

I have a small image ("Loading..." icon) that I hide using Javascript once
the page finishes loading.
To do so, I attach to the client side onload event.
However, as soon as I turn on Smart Navigation, the onload event no longer
fires on postbacks.
Any idea?

<script language=javascript>
document.attachEvent("onload", HideProgressBar);

function HideProgressBar()
{
alert("onload ran");
document.all.imgProgress.style.visibility = "hidden";
}
</script>


-Oleg.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top