Results 1 to 5 of 5

Thread: .js for menu not working in IE8

  1. #1
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default .js for menu not working in IE8

    1) Script Title: jQuery Gooey Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/gooeymenu.htm

    3) Describe problem:
    Hi!
    url http://www.tantrayoga.us
    I'm stuck. I adapted the jQuery Gooey Menu for our own button images. It works beautifully in FF & Saf, but in IE8, the dynamically generated image for the a:active state displays about 80px too low.
    Tried debugging in IE and got error
    "line 28 character 4 'eq(…).position(…).top' is null."
    I'm just an amateur - comfortable with CSS, but I don't know my way around JS much at all. I suspect it's something really simple, but I haven't a clue…
    Any help would be greatly appreciated!
    goodidea

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    Please post a link to the page on your site that contains the problematic script so we can check it out.
    http://www.tantrayoga.us/index.html
    the .js file
    the CSS
    THANKS!!!

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    At a glance the problem seems to stem from you using an image for each menu item (instead of text like in the default demos). To confirm this try replacing each of those images with a text instead, ie:

    Code:
    <div id="gooeymenu1" class="gelbuttonmenu">
    <div><a href="index.html">Home</a></div>
    "
    "
    </div>
    DD Admin

  5. The Following User Says Thank You to ddadmin For This Useful Post:

    goodidea (04-18-2012)

  6. #5
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Right you are. Got it working fine now - thanks for this elegant bit of code!

Bookmarks

Posting Permissions

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