Preserved Topic: Crossbrowser 'iframes' (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 01-06-2002 17:25
I know the topic has come up a number of times (Bugimus has even called it the 'Holy Grail' on a couple of occasions) but I haven't seen any working examples (that I'm aware of - I think mr.maX had a script but I didn't think it did whole pages, or perhaps I'm wrong). I was thinking that something like that may prove a good idea for PSPong.com to stop having to reload very graphics heavy segments when one only really wants to refresh the comments say but as the layout is still up in the air and it is of general interest I thought I'd open up a specific thread and see what people have got (as I'm sure a number of you are beavering away on something like this). The really tricky bit seems to be the NS4.x part (and yes I think it is worth supporting it otherwise I don't think 'iframes' can really be of much use expect for, e.g. intranets, where you know NS4.x won't be used) as, as far as I'm aware, layers aren't scrollable so there is more work involved there. I know lallous has thrown in some great ideas here on this topic and as far as I can tell the whole NS4.x thing with loading has been sorted out here: code: <html>
|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 01-06-2002 17:53
Emps, I'm using a script which link was provided, of course, by mr.maX, the URL is http://www.dhtmlnirvana.com/alchemy/externalload.htm |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 01-06-2002 17:58
Wakkos: Excellent thanks for that - I knew someone out there had done this but I'd had a good nose around and must have missed this. I'll have a play with it now!! |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 01-06-2002 18:51
I've been trying to make it work in Opera too, but neither the Bug's script or the Iframe works... I'll be trying! |
Nervous Wreck (II) Inmate From: Australia |
posted 01-06-2002 20:36
While Opera accepts the iframe element, the iframe isnt exposed to scripting and that is what would be causing the problems you are experiencing. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 01-06-2002 21:10
If I'm not mistaken the technique Wakkos is implementing loads the page into the IFRAME and then loads it into a DIV. This may be a stupid question but would that double the time it takes for the page to display the external page (as compared to loading it directly into an IFRAME)? |
Nervous Wreck (II) Inmate From: Australia |
posted 01-07-2002 05:21
It typically takes milliseconds to shift the content from an iframe to a div so its not as big as issue as it would seem. But nonetheless it does take longer than loading into an iframe. The reason we shift from an iframe to <div> is to maintain transparency. in IE5.5 and IE6 you can have transparent iframes, but for other browsers it becomes problematic. My general rule is if you need transperancy then shift the content, otherwise just load into an iframe. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 01-07-2002 13:23
psych3: Thanks for the overview there. |