Advertisement:

Author Topic: javascript incompatibility: z-index?  (Read 7892 times)

Offline 7summits

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
  • My personal text would like to stay that way
    • 7summits.com the highest mountains per continent!
javascript incompatibility: z-index?
« on: March 19, 2004, 02:24:31 PM »
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 :-)

Offline pulpitfire

  • Sophist Member
  • *****
  • Posts: 1,132
  • Gender: Male
  • This is what the php parser looks like.
    • Pulpitfire Devotionals
Re: javascript incompatibility: z-index?
« Reply #1 on: March 19, 2004, 02:58:44 PM »
check this out

url=http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2F7summits.com%2Fcss%2Fforumnew.css]and this[/url] :)


Offline 7summits

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
  • My personal text would like to stay that way
    • 7summits.com the highest mountains per continent!
Re: javascript incompatibility: z-index?
« Reply #2 on: March 19, 2004, 03:07:18 PM »
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 :-)

Offline pulpitfire

  • Sophist Member
  • *****
  • Posts: 1,132
  • Gender: Male
  • This is what the php parser looks like.
    • Pulpitfire Devotionals
Re: javascript incompatibility: z-index?
« Reply #3 on: March 19, 2004, 03:16:36 PM »
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 :)

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: javascript incompatibility: z-index?
« Reply #4 on: March 19, 2004, 07:20:20 PM »
I've never trusted absolute positioning.  It just never works properly.

-[Unknown]

Offline pulpitfire

  • Sophist Member
  • *****
  • Posts: 1,132
  • Gender: Male
  • This is what the php parser looks like.
    • Pulpitfire Devotionals
Re: javascript incompatibility: z-index?
« Reply #5 on: March 19, 2004, 08:25:28 PM »
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.