> >query and then populates the data in the main visible frame
> Now, does the Main Window have to constructed as some sort of frame?
> the definition of iframe does not seem to suggest that.
>
> The way to construct the iframe piece is like?
> <div id="loader" style="visibility:hidden">
> <iframe src="" width="0" height="0">
> </div>
>
> How to trigger the iframe to load (should be different from display,
> right?)
>
> >you can have a hidden div in the main frame that says "Please wait...
> " >that will become visible while that iframe code is doing its work
> and >invisible when the iframe code is done.
Thanks, Scott, not there yet, maybe I'm missing something.
Here's more details:
MAIN WINDOW
js function xyz(obj,el,p1,p2,p3)
document.frames['loadFrame'].src = ''+obj+'&col='+jcol+'&pop1='+p1+'&pop2='+p2+'&pop3='+p3;
bla bla tons of stuff
<div id="waitDiv" style="position:absolute;top:100;left:100;height:200;width:200;z-index:2;visibility:hidden;">
Loading. Please wait...
</div>
<iframe name="loadFrame" id="loadFrame" style="display:none;" src=""
----------------------------------------------------------------
content of dataloader.cfm:
top:
<script>
parent.document.getElementById('waitDiv').style.display = 'block';
</script>
main js:
pull data
and populate the MAIN window
// now close the "please wait .." frame
parent.document.getElementById('waitDiv').style.visibility = 'hidden';
msg win does not show up, data not loaded, what am i missing? many thanks.
Don
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

