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:
- 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?
- Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
- 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 25, 2006 - If a user selects vertical menu in the upper frame he get the menu that is associated with...
- Dec 12, 2006 - I want that menu css recognize when user has moused off the menu, and then disappear.
- Jan 25, 2007 - Is there a way to use smartscrolling function on the MAIN javascript sliding menu?
- Jan 29, 2007 - Is this java script drop down menu floatable?
- Feb 01, 2007 - Is it possible to accomplish the following functionalities with your web tree menu
- Feb 03, 2007 - Is there some chance to use calling of JScript function from javascript hide menu?
|