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: We want to evaluate Delux Menu(DM). But before doing any testing I want to ask few questions.
-#1 Can DM support context menus on right click with in a DIV and on a button click.
ex: I have a Options button on the web page and also a DIV which is transformed using xml and xsl.
Onclick of the button and right click within the DIV area should popup the same menu.
I have various DIVs and each DIV has its own context menu.
-#2 Any issues like IE memory leaks by using DM. I am asking this we are having some issues with the present menu control we are using. IE hangs up when the web page is idle for more than 20 mins.
A: 1. Deluxe Menus supports such a feature. Please, go tohttp://deluxe-menu.com, section "Samples->Functional Samples->Popup Menu"
You can create any number of menus on a page.
2. We don't know about such a problem with Deluxe Menu. Please, try atrial version of DM. It has a full functionality.
Q: How can I set the top-level menu items of the html pop up menu to be transparent?
A: You should create Individual Item and Submenu styles with transparent itemBackColor and assign it for the top items:
var itemStyles = [
["itemBackColor=transparent,transparent","itemBorderWidth=0","fontColor=#000000,#000000"],
];
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0"],
];
Q: The submenu should look identical to the main menu but it is not allowing this.
Even though parameters are set to 0 it is showing smart scroll and also not showing the sub menus how they should be.
I also notice and error in the templates window view when I am looking at the javascript onmouseover menu.
A: You've set the exact width for your submenus:
var smHeight="21px"; // it is the height of the whole submenu
It is not right.
Try to write:
var smHeight="";
> I also notice and error in the templates window view when I am looking
> at the menu.
Now you have:
var pressedItem="";
It is not correct. Try to set:
var pressedItem="-2";
See the attached example.