Smokey, would you not have to un-hide the overlay too? Maybe I am wrong, am not that strong with scripted dhtml.
Also, I would add a destruction/hiding of the overlay div in the untrigger() function. just in case loading the iframe for some reason takes longer than 5 seconds.
This way the overlay gets removed if the iframe loads late afterall...
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right."
- Charlie Munger
|