470,582 Members | 2,555 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,582 developers. It's quick & easy.

Re: Display "Please Wait" message in IFRAME while remote page load

Mister, any solution about it ? any sample code please ??

thanks in advance
Jun 27 '08 #1
1 5370
Yes I did find a solution. I haven't been into the newsgroups in a while so
didn't see your question and I don't have email notification turned on. In
effect I created a JavaScript function that handled the onload event of the

<iframe width="99%" style="z-index:1" height="820px" marginheight="4px"
marginwidth="4px" id="ifSearch" scrolling="no" src=http://example.com

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

What this does is just make the absolutely postioned animated gif become
invisible once the target web page loaded into the IFRAME. Seems to work
just fine.

Here is the code for the absolutely positioned WaitCell.

<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: White;
border-width: 4px; border-style: outset; color: #336699;
height: 100px; width: 300px;
font: arial bold 16px">
<img alt="downloading" src="images/download.gif" />
<br />
Search Tool Initializing...

Hope this helps...

"Alhambra Eidos Kiquenet" <Al*******************@discussions.microsoft.com >
wrote in message news:BC**********************************@microsof t.com...
Mister, any solution about it ? any sample code please ??

thanks in advance

Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by dave | last post: by
reply views Thread by Hari Kumar G | last post: by
4 posts views Thread by puja patel | last post: by
5 posts views Thread by Jeremy | last post: by
1 post views Thread by =?Utf-8?B?Sm9obiBXYWxrZXI=?= | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.