Link to home
Start Free TrialLog in
Avatar of musqua
musqua

asked on

IFRAMEs are hiding my page!

I've been designing a website which makes use of inline frames in a few places, and I've just realized that the iframes are hiding my javascript drop-down menus - is there an easy solution to this, some way of putting the iframe in the background or something??

Thanks,
Evan
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

In IE5.5 maybe.  The z-index is supposed to apply to frames and Iframe.  Everything else...No chance.  You need to re-arrange the location of things or move things out of the way dynamically.

Cd&
Avatar of preeth
preeth

Can any one explain me the difference between frames and iframes, where exactly we use iframes.

Preeth
You would use an iFrame only in rare occasions in my humble opinion...but to be precise...iframes are floating frames....they are working as any other normal layer would, but with the functionality of a frame....

For example if you have a large page and in the middle you want to have a frame that will hold news from another site....now you could go about this the hard way and create a frameset around the middle frame so it will look like a big page with a frame in the middle but that would take a very good design and some good programming to work properly....

The easier way to do this is with the use of iFrames (although they are no picnic either...) where you would just have the normal page and declare a iFrame in the center of it...set the source of it to the page you would like and bingo...there you go...the same effect but with only 1 frame....but there comes the problems....compatibility sucks for that...Netscape uses iLayer instead and those will hardly ever look the same....

As for the original question...Cd& already answered that one....there is no way that you can get all browsers to show the layer on top of the iFrame...the best thing to do when faced with a situation like that is to reconsider the design.....

Hope this sheds some light...

Max.
You finaly back from vacation Max?

Cd&
As you can see Cd&...

I missed EE...but am happy I had a nice vacation.... :-)

Max.
ASKER CERTIFIED SOLUTION
Avatar of bruno
bruno
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
huh...did i not post the link??


https://www.experts-exchange.com/jsp/qShow.jsp?ta=html&qid=20116800


let's try this again!

:-)
Avatar of musqua

ASKER

Dagnabbit, just found how to do it...

add 'allowtransparency="true"' to my iframe tags. Simple as that.

No javascript required.

They would still be behind your iFrame though....

Max.
Allowtransparency is a single browser version solution.  It works in IE 5.5 only and is not w3c standard, so it will likely not be around in later versions as M$ moves closer to the standard.

All right if you just want it to work on your machine.  but if it is going on hte WEB half the users will not see it the same way.

Cd&
Yep...

Max.
i guess it is up to musqa....

musqa, if you want it to work on all browsers check the link i posted.

BRUNO
This question has been abandoned. Would the experts please indicate how
this should be closed out. Is there a comment which should be accepted?
Should the points be split? Should it be reduced to zero points and PAQed?
should it be deleted?  In the absence of direction, the default will be
for me to delete.

TIA for helping to clean up the old questions.

teacher_mod
Community Support Moderator
Experts-Exchange
teacher_mod@experts-exchange.com


zero PAQ.  The user seems happy with the partial solution they found themselves.

Cd&
*shrug*  the link i posted has a valid solution from an earlier thread of mine that would do exactly what they wanted....but they didn't use it so...

BRUNO
kb,

that link doesn't work? (granted it was a few months ago...)


BRUNO