3 replies [Last post]
driley
Offline
newbie
Last seen: 16 years 49 weeks ago
Joined: 2004-10-22
Posts: 2
Points: 0

Hi I'm making some dynamic dropdowns. Got it working fine in IE and am now working through a bunch of issues in Mozilla. The one I am at now is this:

My dropdown is stored in a div with this class:
.dropDown{position: absolute; visibility: hidden; z-index: 199;}

in the html it also has a mouseover=optionover()

unfortunately in mozilla when i hit the mouseover, it doesn't call the function unless i change position to relative. however for my display i need position to be absolute. anyone know why this would do this or how to get the mouseover to work in this case.

dan

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 8 years 9 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Absolute Position, MouseOver command in Mozilla

I might be totally off the mark here but if you take a box out of the flow with position:absolute, shouldn't you be telling the browser where you want it to sit with the 'left', 'right', 'top', and 'bottom' properties? And what about the box's dimensions? How tall and wide is the box supposed to be? :?

Life's a b*tch and then you die!

driley
Offline
newbie
Last seen: 16 years 49 weeks ago
Joined: 2004-10-22
Posts: 2
Points: 0

Absolute Position, MouseOver command in Mozilla

Yes, I'm telling it width and height, and top bottom properties so the dropdown box appears when a user rolls over a certain area of the screen, it shows up. However why does absolute remove my mouseover commands?

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 8 years 9 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Absolute Position, MouseOver command in Mozilla

I'm sorry but I don't know. I looked at your snippet and saw an obvious problem so I thought I'd try and help out. I suggest that you post more code to give someone else a better idea of what you're doing.

Life's a b*tch and then you die!