javascript incompatibility: z-index?

Started by 7summits, March 19, 2004, 02:24:31 PM

Previous topic - Next topic

7summits

Hi There,

as you can see on the images in the menu on yabsse 1.5 http://7summits.com/forum I use the pop-up javascript to expand the alt'tags.

The included file is http://7summits.com/menus/menu.html
But if I include the same file into SMF the box suddenly does not float anymore, but appears inside the page?!?

Check the dev example: http://7summits.com/smf : it looks ok, until you mouseover the images in the menu.

What has changed between Yabbse and SMF? Any help appreciated!


Thanks,
7summits
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)


7summits

ummm. Ok, I have been bad and not a coder and sloppy and all.
:( ::) >:( ;) 8)

But what does that have to do with the problem?

Why does it work in Yabbse, not in SMF?
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

pulpitfire

well, i'm not sure, but i would start with validation.  sometimes just one mis-placed item can screw up everything.  happened to me today.  i was puzzled why a background image wasn't showing up.  finally tried to validate my css, and there was the problem.  instead of ; there was a "--messed up everything. 

you'll probably stumble across the solution while you're validating.  go for it :)

[Unknown]

I've never trusted absolute positioning.  It just never works properly.

-[Unknown]

pulpitfire

it works for me, but it's tricky.  you have to use percentages to keep it in the proper place when the page expands or contracts.

Advertisement: