Results 1 to 9 of 9

Thread: Any link drop down menu problem

  1. #1
    Join Date
    Oct 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any link drop down menu problem

    script: Any Link Drop Down Menu


    I was having some problems with this, i was making a menu4 drop down and when i finished none of my drop downs came up i made sure everything was right and it still didnt work?
    Last edited by darthmonkey9206; 10-22-2004 at 07:15 PM.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please provide an online example or a lot more details

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Oct 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok, heres an example,


    //Contents for menu 1
    var menu1=new Array()
    menu1[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a><br>'
    menu1[1]='<a href="http://www.freewarejava.com">Freewarejava.com</a><br>'
    menu1[2]='<a href="http://codingforums.com">Coding Forums</a><br>'
    menu1[3]='<a href="http://builder.com">Builder.com</a><br>'

    //Contents for menu 2, and so on
    var menu2=new Array()
    menu2[0]='<a href="http://cnn.com">CNN</a><br>'
    menu2[1]='<a href="http://msnbc.com">MSNBC</a><br>'
    menu2[2]='<a href="http://news.bbc.co.uk">BBC News</a><br>'


    //Contents for menu 3, and so on
    var menu3=new Array()
    menu3[0]='<a href="http://cnn.com">CNN</a><br>'
    menu3[1]='<a href="http://msnbc.com">MSNBC</a><br>'
    menu3[2]='<a href="http://news.bbc.co.uk">BBC News</a><br>'


    This one doesnt work

    //Contents for menu 4, and so on
    var menu4=new Array()
    menu4[0]='<a href="http://cnn.com">CNN</a><br>'
    menu4[1]='<a href="http://msnbc.com">MSNBC</a><br>'
    menu4[2]='<a href="http://news.bbc.co.uk">BBC News</a><br>'

    --------------------------------------------


    <a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a> |


    <a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '150px')" onMouseout="delayhidemenu()">Web Design</a> |


    <a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '150px')" onMouseout="delayhidemenu()">Web Design</a> |



    This doesnt work

    <a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu4, '150px')" onMouseout="delayhidemenu()">Web Design</a> |

    ----------------------------------------
    When i do a fourth one it wont show up?

  4. #4
    Join Date
    Oct 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    bumpy

  5. #5
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Attach your HTML and any other required files so that I can run the script successfully.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  6. #6
    Join Date
    Oct 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry for the long wait, could you possibly just tell me how to run it?

    thanks

  7. #7
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The code you posted looks valid - I can't help further until you either link to the problematic page or post all your HTML with [code] [/code] tags.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  8. #8
    Join Date
    Oct 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hey, i actually went back and tried it again and it worked! Thanks for your time.

  9. #9
    Join Date
    Jan 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any Link drop down menu and IE 5.2.3 MAC

    Hi folks,

    The script seems to work fine in Windows and in Safari, however it doesn't work in IE 5.2.3 for the Mac. (OS X) It works the first time you activate the drop down. After that, when clicking or mousing over, it creates a huge blank block above the mouse over. Anybody have this issue??

    Tom

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
  •