Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Why doesn't this work correctly in FireFox?

Thread Tools

Why doesn't this work correctly in FireFox?

John Kotuby
Posts: n/a
Hi all,

I have created an ASPX page in VS 2008 that appears inside of an IFRAME
inside a standard HTML page. Because it loads from an external site and is
database driven, the first load takes a few seconds. As a result I have
placed an absolutely positioned <DIV> element that is built into the HTML
page that uses an animated GIF and a "Please Wait" message.

When the IFRAME finishes loading a javascript function is called to change
the Visibilty of the DIV to hidden. All this works fine with IE but in
Firefox the DIV remains visible. Below is the relevant code from the HTML

Can anyone tell me why this doesn't work in FireFox?

<td width="775" valign="top">
<iframe width="99%" style="z-index:1" height="820px" marginheight="4px"
marginwidth="4px" id="ifSearch" scrolling="no"
src="" onload="iframe_onload();">

<script type="text/jscript" language="javascript">
function iframe_onload()
var theWaitCell = document.getElementById('Wait1'); = "hidden";

<div id="Wait1" style="visibility: visible; position: absolute; top: 40%;
left: 40%">
<table id="WaitTable1">
<td id="WaitCell1" align="center" valign="middle"
style="background-color: Silver;
border-width: 4px; border-style: outset; color: White;
height: 100px; width: 300px;
font: vedana bold 16px">
<img alt="downloading" src="images/loadingAnimation.gif" />
<br />
Search Tool Initializing...

Thanks for any help with this.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript w/My AJAX Callback - Why Doesn't This Work Correctly? Joey ASP .Net 1 11-01-2007 05:30 PM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
why does Response.ContentType = "text/plain"; not work correctly? =?Utf-8?B?bGV0dWNlIGRhbmNl?= ASP .Net 3 10-26-2006 06:39 PM
Why this function doesent work correctly...?? Bore Biko C Programming 11 09-22-2005 04:46 AM