|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
Stability of IFRAME and LAYER
Hi all,
I have a rather complex banner on a site I'm putting together right now and I'm wondering about {IFRAME} and {LAYER} stability. I would really like to avoid copying this complex banner to every page, and I don't want to use FRAMES pages. I currently have the following and it seems to work in the browser variations I've tried, but I'm a little weary of things I haven't proven before. HTML Code:
<IFRAME SRC="header.htm" style="border: 0px;" width="100%" height="27px" scrolling="no"> <LAYER SRC="header.htm" style="border: 0px;" width="100%" height="27px" scrolling="no"> </LAYER> </IFRAME> The big question... is this stable and/or reliable? Is there a better way to do this without using FRAMES pages? Thanks very much! Stryker
__________________
Athlon XP 2800+ • Asus A7N8X (nVidia Nforce2) • Radeon 9600 Pro 256MB • 2x512MB KVR DDR PC3200 Dual Channel • 120GB Seagate 7200RPM 8MB • 160GB WD 7200RPM 8MB • Liteon DVD±RW DL • AOpen DVD±RW DL • Vantec Ion2 350W PSUSend me your picture for the Member Photo Gallery |
|
|
|
|
|
#2 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
It will work fine for pretty much all browsers by nesting iframe and layer tags. I've been using it for a while now with no negative effects.
|
|
|
|
|
|
#3 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
Thanks Statica... I appreciate the response.
I'll stick with it and see if anyone reports any issues with it. Thanks again, Stryker
|
|
|
|
|
|
#4 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
You're welcome. Just as an addendum, you might be interested to note that the Layer tag is deprecated. IFRAME is the standard as per DOM 2 specifications. Any IE based browser or Gecko browser (Firefox etc) recognize IFRAME. However, including the Layer tag will ensure that users of the older Netscape browsers can still view content.
Addendum: you can view the DOM reference here: http://www.mozilla.org/docs/dom/domr...ame_ref13.html |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|