View Full Version : How to set a link from sub menu to a text in the same page?

07-04-2005, 07:57 AM
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!

07-04-2005, 04:20 PM
<a name="anchorone">Location</a>... then wherever you would normally put the URL to go to, put "#anchorone" instead.