Results 1 to 2 of 2

Thread: I need help about links in Menu!

  1. #1
    Join Date
    May 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking I need help about links in Menu!

    Can u help me please: I installed the menu and everything is working! But I want to add a link in the sub menu to another page to a specific text!
    Ex: menus[1].addItem("http://www.domain.com", "", 22, "left", "Location", 0);
    So "Location" is the title of the text, that exist in the other page, so to what shall I change the link that is in this part: ("http://www.mayfadoun.com",... ?? What I have to write in it?
    Because I was using in html the following method:
    <a href="#Location "></a>
    <a name="Location"></a>
    or if in another page:
    <A HREF="main2.html#Location"></A>
    But now, it is from a sub menu to another page! Pls can u help me with that?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Actually, this method of yours should still work:
    Quote Originally Posted by Devilhamo
    <A HREF="main2.html#Location"></A>
    with a little modification:
    Code:
    menus[1].addItem("http://www.domain.com/main2.html#Location", "", 22, "left", "Location", 0);
    Now, I'm not sure which menu you got this code from, if the parameters are in the right slots, or if the rest of the parameters are appropriate - your menu's documentation should tell you that though.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •