Could I create a function that displays the tab that the user clicked in the left tab menu.
Return to Recent Questions
Q:
Could I create a function that displays the
tab that the user clicked in the left tab menu.
These tabs are all within the same window, so
the page will always be the same. Just need a function to make different
tabs appear.
A:
Unfortunately Deluxe Tabs doesn't support API functions now.
You can use the following function to open specific tab:
dtabs_itemClick(menuInd,itemInd);
where
menuInd - index of a tab menu on a page, >= 0.
itemInd - index of a item, >=0.
For example:
<DIV onClick="dtabs_itemClick(0,2)" style="width: 200px; border: 2px solid #000;">Click to open the third tab</DIV>
Return to Recent Questions
Related:
- Aug 30, 2006 - Can all the java script be contained with in the html and not use an external .js file?
- Sep 22, 2006 - How to call the function in my java script menu?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 30, 2006 - The frame below the javascript menubar is moved to the bottom of the page.
- Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
- Oct 29, 2006 - When I purchse your javascript select menu, does this include any future updates?
- Nov 05, 2006 - With the new version of javascript rollover menus, my body onload function is blocked.
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 24, 2006 - Is it possible to have the actual words clickable in order to open up an expandable tree
- Nov 25, 2006 - If a user selects vertical menu in the upper frame he get the menu that is associated with...
- Dec 10, 2006 - I need the cursor not to change when hovering over Menu items which don't have links
|