Recent Questions
Q: I have set up the dhtml menu javascript at this site. I have chosen to use the transitional filter from IE6. The main menus and sub menus work fine in IE but in Firefox the sub menus do not appear at all. Is their a fix for this. I realize that firefox does not support IE transitions but Ithought the sub menus would appear when the main item is clicked on. that hs not happened. Go to above URL and vie in both IE and Firefox and you will see what I mean.
A: You couldn't see submenus in FF because you had
var transparency="";
You should set your parameters in the following way:
var transparency="100";
var itemBackColor=["#072450",""];
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: I am interested in purchasing your product for use in my company's website code. My clients are not tech-savy, and I do not want to include any code that will generate concern or problems on the user end.
Is there a way to use the JavaScript menus without generating the warning as mentioned in the subject? I know how to allow the active content on my web browser, but I want code that will not require such actions on their browsers.
A: Thanks for your interest in our products.
Your clients should check browser settings.
Unfortunately, we can't affect on the browser behavior in this case.
Q: I can’t highlight the selected menu item of the current page in the javascript flyout menu?
A: Please, check the following parameter
var pressedItem=-2;
This parameter sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-menu.
The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page.
That is why you should write your own code on PHP.
You can also set the correct:
var pressedItem=1;
parameter on each html page.