Recent Questions Xp Style Tree MenuQ: I downloaded the new version of dhtml menu source code copied the files over to my folder this menu was made with3.0 the files I copied over is 3.2 and now I get an error.
A: Now you have:
var fontStyle=["nirmal 12px Trebuchet MS, Tahoma","nirmal 12px Trebuchet MS, Tahoma"];
It is not correct. You should write:
var fontStyle=["normal 12px Trebuchet MS, Tahoma","normal 12px Trebuchet MS, Tahoma"];
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
You can generate search engine friendly code.
To create a search engine friendly menu you should add additional html code within your html page:
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your vertical drop menu and click Tools/Generate SE-friendly Code (F3).
Q: Why don't any of the effects work in Firefox? I have built several different types of menus and they don't work the same in firefox as they do in IE. Is there a way to fix this? i.e. adding any html code or anything?
A: Yes, it is really so. Firefox supports only transparency of the menu.
Visual effects work in IE only. other browsers don't support them.
See more info:
A: The menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
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.