|
|
If you click a list drop menu item that targets _self, the link does not remain highlighted...
Return to Recent Questions
Q:
If you click a list drop menu link in the tree that opens a new page, for
example, Solutions:By Type:Psuedo Wire , the link, Psuedo Wire,
remains highlighted.
If you click a line that targets _self, for example, Solutions:
By Type: T1 Extender, the link does not remain highlighted. My web
app will need highlighting and all links will target _self. I have
to solve this problem soon or else look elsewhere.
A:
It is normal behaviour, your list drop menu can save its state within one page only.
You can try to use frames, and open pages in the content frame. Also you can use a
server-side script (php, asp, vb, etc.) to generate html pages from
templates on your server (we use this method on our website
http://deluxe-tree.com).
You should set a pressed item using Javascript API:
function apyt_ext_setPressedItem(menuInd, itemID)
<script type="text/javascript"><br>
var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
</script>
To expand specific items you should use the following function:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);
Return to Recent Questions
Related:
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 04, 2006 - Set a menu item to pressed when a page is loaded.
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
- Sep 29, 2006 - Is it possible to use an external file in the java drop down menu?
|