View Single Post
Old January 28th, 2013, 11:41 AM   #1 (permalink)
attroll
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
Creating a Gallery Tab

I am trying to create a navigation tab for vBGallery. I have gotten it to work so that when clicking on the links inside the gallery tab it keeps the tab highlighted and stays on that tab. I have succeeded with the exception of the amount of links I can add to the gallery tab and keep it highlighted on the gallery tab. What is keeping me from adding more links and have the tab work properly is the limited amount of characters allowed in VB’s Navigation Manager’s Tab Script(s). It only allows 30 characters.

With this said I am asking for some help. If you click on the help option for Tab Script(s) inside the Navigation Manager you get one of the following statements that I have attached below.

Quote:
If you are writing a product that uses many different scripts, you should set your own constant in them, and use the 'set_navigation_tab' hook to detect this constant and set your selected tab.
Does anyone know how to make this work so that I can have more than two links in the tab I am creating and have it work correctly?
attroll is offline   Reply With Quote