Just wondering if it is possible to select a specific dhtml tab via JavaScript.
Return to Recent Questions
Q:
Just wondering if it is possible to select a specificdhtml tab via JavaScript.
Eg. A link on the page to select the next tab (or any other for that matter)
A:
You can use the following function to open appropriate tab:
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 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Oct 29, 2006 - When I purchse your javascript select menu, does this include any future updates?
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 28, 2006 - Do I need any additional loaded software using the javascript select menu?
- Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
- Feb 03, 2007 - The dhtml menu example looks different in IE and Firefox. In IE it is much
- Feb 07, 2007 - Can you create/destroy tabs javascript with only client side javascript
- Feb 11, 2007 - Is it possible for the dhtml sliding menu to highlight selected item on the page?
- Feb 20, 2007 - Can I divide data file of my dhtml menu javascript for several files?
- March 04, 2007 - For some reason all of the javascript dhtml menu items are squished together
- March 08, 2007 - Which file(s) I must change to change the content of each tab in the tabs dhtml?
|