[Sigia-l] DHTML -> iframe

Jon Hanna jon at spin.ie
Thu May 22 12:56:04 EDT 2003


> "Are you using the iframe just for the scroll effect, or are changing
> what document is loaded into it. If you're just using it for the scroll
> effect you could use a div with CSS to reproduce it."
>
> =================
>
> no scroll. i'm using it as a presentation vehicle when we smartpoll our
> system (userid) for presenting both asynchronous and synchronous
> messaging. the placement is key in the top of the interface, and I'm
> afraid the dhtml nav won't live on a higher z plane.

Well, then you could:

1. If it's a controlled environment then tell people they are only allowed
to use IE6 or Mozilla (boo! hiss!)

2. Give IE4 (and perhaps some other browsers that testing shows has the same
problem) the same fallback you use for browsers without dhtml and/or
iframes.

3. Make sure the iframe is nowhere near the menu, so it won't be an issue.

4. Copy the truly insane approach I took to this problem 4 years ago where I
loaded stuff into a hidden iframe and then copied from there to a div using
javascript and the innerHTML property of the div. I got this to work, but I
don't think I'd ever use this technique again if I could avoid it - too
clever by half; too susceptible to little bugs and browser foibles.




More information about the Sigia-l mailing list