Recent Questions Jsp Dtree Jquery Blog
Q: After I successfully click and load the data in to my window using the tab menu, the tab defaults back to the original default tab. Because I have to reload my page after the tab has been selected the tab chosen is lost. What do you recommend for "remembering" the tab so that when the page reloads the correct tab is highlighted.
A: Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem= var bselectedSmItem=</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, forexample:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
Q: I would like two level of tabs i.e.
Tab 1 entertainment
Opens up another level of tabs
Tab 1_2 movies with information displayed in the tab not on new page
Tab 1_3 music with information displayed in the tab not on new page
Tab 1_4 tv and so on...
A: Unfortunately, you cannot do it using Deluxe Tabs in TabMode. Youcannot use object ID to show in TabMode, only links.
You can use 2 menus:
Tab 1 entertainment //1st menu
--------DIV----------------------
Tab 1_2 Tab 1_3 Tab 1_4 //2nd menu
----------DIV's for second menu--------------
content
----------end DIV's for second menu ---------
----------end DIV for the first menu -------
Q: Is there a function for flash tab menu a I can call to make a tab appear??
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>
Q: Will this menu rollout from within an iframe over a regular frame underneath it?
A: JavaScript Tree Menu doesn't work with <IFrame> objects. They work with