Results 1 to 2 of 2

Thread: How to set a link from sub menu to a text in the same page?

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

    Default How to set a link from sub menu to a text in the same page?

    I have a question about how to link a sub menu with a text in the same page, and how to write the command in the :
    menus[1].addItem("http://www.domain.com", "", 22, "left", "Location", 0);
    using <a href .. and <a name... etc..
    For example: if the link from the sub menu is going to the buttom of the page to the word: Location, so that what I mean
    and where shall I write them?
    Thanks a lot!

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    HTML Code:
    <a name="anchorone">Location</a>
    ... then wherever you would normally put the URL to go to, put "#anchorone" instead.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •