SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2003
    Location
    Perth W.A.
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    correct syntax for java menu

    Hi Folks,
    Can anyone help me with the correct syntax for my javascript menu?
    I need to point to an anchor in my page using one of the dropdown submenus.
    The following is the existing code;

    Menu2_1_2=new Array("Hosting","dom_reg.htm","",0);

    I tried Menu2_1_2=new Array("Hosting","dom_reg.htm/hosting","",0); 'hosting' being the named anchor I wanted to point to, but when called, the page delivered was missing images and the menu.

    Any help appreciated

    Colin[B]

  2. #2
    SitePoint Member Siddhartha's Avatar
    Join Date
    Mar 2004
    Location
    Bulgaria
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shouldnt it be dom_reg.htm#hosting

  3. #3
    SitePoint Zealot
    Join Date
    Apr 2003
    Location
    Perth W.A.
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahhh yes ;-)
    Thanks for that, it works fine now.
    Cheers
    Colin


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
  •