Board Logo

anchor tags in menu_items.js
megaquark - 5/11/2005 at 07:08 AM

I have a catalog page that I want to address in the tigra menu - let's call it "purchase.html"
The purchase.html page is a rather long document. I want the menu which I have on the left side for navigation to point to a specific place on the document. For example, I want my main level to be "Accessories" and the next level to have several options such as "CDs", "Cases", "Label Kits", etc. Each of those links should point to the same page, but a different part.

Now this is easy in regular HTML using a combo of anchor and name tags, but I can;t get the menu to do this.

The code on the menu_items.js looks like this:

["Accessories", "purchase.html",
["Blank Business Card CDs", "purchase.html"],
["Pre-burned CDs", "purchase.html"],
["Blank Labels", "purchase.html"],
["Cases", "purchase.html"],
["Labeling Kits", "purchase.html"],
["Custom Labels", "purchase.html"]

As you can see, each one links to "purchase.html" but I would like each one to go to a specific spot on the "purchase.html" page. How the heck do I accomplish this?


Corey - 7/18/2011 at 08:31 AM

I want the menu which I have on the left side for navigation to point to a specific place on the document. For example, I want my main level to be "Accessories" and the next level to have several options such as "CDs", "Cases", "Label Kits", etc. Each of those links should point to the same page, but a different part.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/