Recent Questions
Q: Is it possible to insert a dhtml foldout menu item at the top of the submenu? For example, if a dhtml foldout menu is defined as:
var menuItems = [
["Search","","","","","","1","0"],
["|Residential","srch.php","","","","","0"],
["|VacantLand","srch.php?cri","","","","","0"],
["|Commercial/Industrial","srch.php","","","","","0"]];
How can I add a new item above “Residential?” I’ve tried the following with no luck — the forth argument does not seem to be used:
dm_ext_addItem(0, 1, ["New Sample", "testlink.htm", "", "", "Your Sample Tooltip", "middle", 0], 0)
A: To insert item in the specific position you should use thefollowing function:
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Q: The submenus of the javascript menu buttons are reported behind the mediaplayer (IE 8)
A: Try to set the following parameter for your object:
windowlessvideo="true"
So, you'll have:
<embed width="800" height="470" src="video/spot-1.wmv" windowlessvideo="true">
Q: I should like that the active item were not stand out changing thebackground color to blue, but underlined, but I don't find as to do it.
A: Try to set the following parameter: var ttoggleMode = 1;
Q: The home page of our website uses java script dhtml. The error comes up when attempting to select a tab for the first time; subsequent selections are fine. The error is something about an object being null. Probably just need to modify a function to test for null, but can't read the .js file because its obfuscated.
A: You should set the following java script dhtml parameter.
var bselectedSmItem=0;
There are no subitems in your menu.