Recent Questions
Q: I am using the dhtml-tabs code. I have 2 tabs that I use for a basic form and an advanced form. The advanced form is on the second tab. When I submit, I get results. When I click the back button, the selected tab is the first one, and not the second. Is there a way to configure the tabs to be persistent or sticky. Such that clicking on the back button will result on being on the second tab, which was the last dynamic drop menu tab before going to a new page? 
A:  You can try to use the following dynamic drop menu function:
dtabs_itemClick(0,1)
To open your second tab.
Q: Is there any way to have a floating menu float in relation to the centre of the screen (not the left of the screen).  I have a centre based website. When I use the floating menu and view the site on different screen sizes, the floating menu appears in different places on the x scale. For example,  I would like it 20 percent from the edge of my centre based webpage, not 20 percent from the left of the screen.  I want the menu to appear on the same horizontal place on my webpage (which is centre based)
 
A:  No unfortunately it is not possible to write 
   var posX="50% - 20"; 
You should adjust your coordinates to center the menu with absoluteposition.
Q: If   var bselectedSmItem= anything other than 0, the dropdown menu maken links do not work and I get the following error: 
A: You should set bselectedSmItem parameter in tabMode=1 only. When youhave subitems.
I'm also sending you the fixed version of dtabs.js file. Please, useit.
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>