Re: offestTop et scrollTop always zero



Claude Schneegans wrote:
Hi,

Is it a well known problem and is there any work around?

The offsetTop value of an option in a select, and the scrollTop of the select are always zero in IE,
whatever the position of the scroll bar is.
Mozilla shows correct values.

Not really... There might be a slimy hack using text height times index or something, but
that can fail if the user scales up their zoom ratio...

Since you're not going to get it easily ... lets examine why do you need it?

D?
.


Loading