Topic: cross browser inline frames. (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10694" title="Pages that link to Topic: cross browser inline frames. (Page 1 of 1)" rel="nofollow" >Topic: cross browser inline frames. <span class="small">(Page 1 of 1)</span>\

 
John H
Obsessive-Compulsive (I) Inmate

From: Preston, Lancashire, England
Insane since: May 2001

posted posted 03-21-2002 00:01

I know iFrame won't work in Netscape but I've run into a problem putting both iLayer and iFrame in same place.

Internet explorer has no problem ignoring an iLayer but netscape displays the iFrame below the rest of the of the page instead just ignoring it.

is there an alternative ? maybe putting the external page in a styled DIV or something.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 03-21-2002 03:30

John H: ~waves across to Preston~ Its tricky (Bugimus calls it the 'Holy Grail' and he isn't wrong) I have been pondering this:
www.ozoneasylum.com/Forum2/HTML/001305.html

and your best bet is to do something like:

code:
<ilayer>
<layer>
NS4.x stuff
</layer>
</ilayer>

<nolayer>
IFRAME
</nolayer>



See:
http://developer.netscape.com/docs/manuals/htmlguid/tags12.htm

You'll still need to put in some work to get it working cross-browser (I'd go for a little server-side browser detection to save a lot of painful work - JavaScript could handle this if Opera allowed you to set the location on the IFRAME but it won't, or I haven't been able to get it to do so anyway).

Good luck and let us know how it goes.

Emps

John H
Obsessive-Compulsive (I) Inmate

From: Preston, Lancashire, England
Insane since: May 2001

posted posted 03-21-2002 03:50

Thanks for the tip, I forgot about the <no ?> tags.

One thing that's hit me is that iLayers don't support scrolling. Also if you nest a layer in an clipped ilayer and move the layer iself to simulate scrolling with a couple of buttons, only some of the content in the page linked with src tag in the layer moves (I've got a page with a 2 row , 2 column table with a photo on 1 side and text on the other in both rows, the bottom photo seems to stick while the rest moves fine and it's just plain old HTML on the page aswell).

Maybe I'll give up and make a big ugly frameset for netscape. Avoiding the whole iFrame issue alltogether. Just out of interest, I got bored of netscape 6 never letting me register at startup aswell as the slow page renderer so I deleted it. does netscape 6 support iFrames ?

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 03-21-2002 04:11

John H: It should be doable in NS4.x. See the DHTML Alchemy link in the thread I gave above as well as this:
www.webreference.com/dhtml/column23/

and have a look at the zscrollbars script at www.znippets.com.

It is possible that you don't really need IFRAMEs or iframe-like behaviour so bear that in mind.

Without careful research you will keep running into cross-browser problems (in the Big Three, IE, NS6 and Op; as well as NS4.x - none of which you can really give up on unless you have good reason).

Yes NS6 supports IFRAMEs - try NS6.2 (which has a quick start mode) or Seamonkey or Mozilla.

Emps



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu