Recent Questions Treemenu Does Not Work In ChromeQ:
Is there a way to have the menu stay expanded in the same exact state when
DHTML Tree Menu can save items state automatically.
Please, see the example of the menu that works with cookies:
Set the following parameter:
var tsaveState = 1;
and the menu remembers its structure for each user who visit your page.
Try to expand/collapse items. Then reload the page and you'll see results.
var menuItems = [
var menuItems = [
Unfortunately, you can't assign onmouseover/onClick event to each item. However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
item text", "index.html"]
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.
Q: I have built a new website to replace a dated version and the menu work fine everywhere, except I just found out the site needs to be accessed from a remote sever and the Client cannot enable scripting as it would compromise their security settings.
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
Please, try to use search engine friendly code you'll see all yourlinks.
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 menu and click Tools/Generate SE-friendly Code (F3).