matzilla74
Programmer
Hello all,
I have a wait page that displays an animated gif and uses a javascript function to redirect the page. This works fine in ie6/ie7 but does not work in firefox, the animation just freezes. Is there a way to get this to work in firefox?
Thanks
<script type="text/javascript">
function redirectTo(targetPage, querystring)
{
if (targetPage.length > 0)
{
location.replace(targetPage + querystring);
document.images['imgWait'].src = document.images['imgWait'].src;
}
}
</script>
</head>
<body onload="redirectTo('<%Response.Write(redirectPage);%>', '<%Response.Write(Request.Url.Query);%>');">
I have a wait page that displays an animated gif and uses a javascript function to redirect the page. This works fine in ie6/ie7 but does not work in firefox, the animation just freezes. Is there a way to get this to work in firefox?
Thanks
<script type="text/javascript">
function redirectTo(targetPage, querystring)
{
if (targetPage.length > 0)
{
location.replace(targetPage + querystring);
document.images['imgWait'].src = document.images['imgWait'].src;
}
}
</script>
</head>
<body onload="redirectTo('<%Response.Write(redirectPage);%>', '<%Response.Write(Request.Url.Query);%>');">