By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,737 Members | 1,321 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,737 IT Pros & Developers. It's quick & easy.

Workaround for SelectBox under IE - how?

P: n/a
Hi,

we probably all know the problem that select boxes under IE are always
overlap DIV layers.
Afaik there are two workarounds:

1. hiding the select box
2. IFrame beneath the DIV layer

But I don't know how to do that.

We want to show a DIV layer as tooltip.
The DIV layer has no defined size (neither a width nor a height
attribute). The size depends on the text the user defined for the tooltip.

My questions:

1. How can I know when the tooltip is 'over' a select box, so I can hide it.

2. How can I define an IFrame that has the same size as the tooltip,
when I don't know the tooltip's size?

thank you

bye Armin
Feb 6 '07 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Armin Gajda schrieb:
Hi,

we probably all know the problem that select boxes under IE are always
overlap DIV layers.
Afaik there are two workarounds:

1. hiding the select box
2. IFrame beneath the DIV layer

But I don't know how to do that.

We want to show a DIV layer as tooltip.
The DIV layer has no defined size (neither a width nor a height
attribute). The size depends on the text the user defined for the tooltip.

My questions:

1. How can I know when the tooltip is 'over' a select box, so I can hide
it.

2. How can I define an IFrame that has the same size as the tooltip,
when I don't know the tooltip's size?
Already found a solution for 2:

offsetHeight and offsetWidth returns the current dimension of the tooltip.
Feb 6 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.