Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide windowed select when menu passes oves

Status
Not open for further replies.

dg11

Programmer
Mar 4, 2007
3
GB
Hello,

I'm struggling at present with this:


In IE when you Mouseover the menu, it passes over two forms and many select fields.

On doing this is hides behind them, because they are windowed objects.

I've tried hiding them with little success, (I've hidden them, but all of them, even when I'm not passing over them.

Can anyone please help..

DG)
----
 
Do you find this is a problem when using IE7? Or is it IE6 specific?

The only way you can solve this is to use an iframe. You will find that an iframe sits above form elements (including selects). You can then float over anything and no have to worry about "bleed through" of other elements.

I don't have an example of this to provide, but I'm sure you can whip something up. If you get stuck, show us the code you are working on and someone will take a look.

Cheers,
Jeff


[tt]Jeff's Page [!]@[/!] Code Couch
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Hello,

I'm trying to find away of doing it without iframes.

There should be away of hiding only that part of the DIV which is covered by the menu.


DG)
----
 
I'm trying to find away of doing it without iframes.

There's only 2 ways to fix this problem.

[ol][li]Use the iframe shim solution that Jeff detailed above[/li][li]Get a browser newer than IE6[/li][/ol]

So, all you have to do is convince your audience to download IE7 or FF or Opera... etc.

Or, you can do the generally accepted solution (which works fine) which is use the iframe shim. There is no other seamless way to make it work.



-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson
 
Well since you don't want to use iframes, you could do what feherke mentioned a few days ago and simply hide the select boxes when you hover over the menu with CSS visibility and when you mouseout, show them again.

[monkey][snake] <.
 
But monksnake, that wouldn't be seamless!

-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top