SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    K, Dan K Dan_K's Avatar
    Join Date
    Jun 2001
    Location
    Perth - Western Australia
    Posts
    475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with Javascript Menu

    Hi, hope you can help me. I've got a Javascript menu and i want a little change. Firstly have a look
    here. As you can see there are arrows on the sub menus. I have only two levels in my version one on the top and subs. What i want is to put arrow pics similar to the inner ones on the top menu.

    array file

    Other file

    These download.

    Thanks for any help!
    Last edited by Dan_K; Mar 5, 2002 at 17:55.
    -Daniel Kerton,
    Humor

  2. #2
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Dan

    Had a look inside your array file and noticed that in the array block for the menu containing the only arrow currently in your example, the string "show-menu3" is added instead of the URL for the link.

    Code:
    menu2=[
    ,,170,1,"",prop1,,"left",effect,,,,,,,
    "CNN","http://www.cnn.com",,,0,
    "MSNBC","http://www.msnbc.com",,,0,
    "ABC News","http://www.abcnews.com",,,0,
    "Vancouver Local News","show-menu3",,,0,      <---
    "BBC News","http://news.bbc.co.uk",,,0
    ]
    This is what tells the menu show the next drop down and adds the arrow. BUT the top most menu has these strings to tell the script to drop the appropriate script on mouseover. Maybe the reason it isnt showing is because the first menu is defined as part of the master array and doesnt have the "menu1=[" title to define it as such whereas all the others are defined like menu3 and menu4 and so on.

    Perhaps adding this will bring you luck, but its all specuation and I was just offering my thoughts and moving this thread back to the top so maybe someone else will see it.

    Goodluck, Glen

  3. #3
    K, Dan K Dan_K's Avatar
    Join Date
    Jun 2001
    Location
    Perth - Western Australia
    Posts
    475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I noticed that too, Anyway thanks Glen!
    -Daniel Kerton,
    Humor


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
  •