Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Banned
    Join Date
    Jan 2004
    Location
    Minneapolis, MN
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Showing/Hiding <ul>s with JS, some <a>s in lists not registering in IE

    http://www.esultants.com/d/dsi/

    When you mouse over one of the main tabs, a function is called which does two things:

    -Hides all submenu <ul>s (in case one was already up)
    -Shows the appropriate <ul> for the submenu links
    -Swaps the background image on the containing <td> so that it matches the main tab you moused over

    Simple enough, but for some reason the options under "Cities/Counties" and "Contact Us" do not register as links in IE. They must as far as the HTML and CSS are concerned because viewing the source shows that they are still <a>s. And they have the appropriate color specified by my stylesheet.

    So my question is why IE (and only IE) doesn't recognize the links for those last two sets.

    All applicable JS is easily viewable in the <head> of the page.

    Thanks,
    seth

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Not sure how to answer your question, but I did notice that in Mozilla, the website has some major positioning problems.

  • #3
    Banned
    Join Date
    Jan 2004
    Location
    Minneapolis, MN
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i wouldn't call 1-2px gaps "major" by any means, but i am aware of that. thanks. perhaps you could offer some insight there?

    it's a simple table holding all of that together. i don't know why Moz effs it up.

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    O by major I mean this...


  • #5
    Banned
    Join Date
    Jan 2004
    Location
    Minneapolis, MN
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts
    errr.. wow.. oh, yeknow what.. that's a Netscape screen isn't it?

    i think i recall seeing that happen before because i tried to horizontally center a table with CSS. netscape seems to not apply the absolute positioning specified, but apply the negative left margin.

    i'll look into it later, but i think wrapping it in a div is the solution. thanks for the heads up.

  • #6
    Banned
    Join Date
    Jan 2004
    Location
    Minneapolis, MN
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts
    bump!

    help? clues?



    please?

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try removing the "position: relative;" from the "#submenus ul" CSS Rule.

    Don't know why this works but it did on a simplified version of your page.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #8
    Banned
    Join Date
    Jan 2004
    Location
    Minneapolis, MN
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts
    indeed. thank you very much, sir.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •