| 
      Return to Recent Questions I'm trying your javascript expanding menu but can't get a clicked menu to stay highlighted. 
 
 Q:
  Hello. I'm trying your javascript expanding menu but cant get a clicked
 menu to stay highlighted. It works sometimes in Firefox but never in
 explorer.
 
 With sometimes I mean that if I click a link and that paticular
 link leeds to nowhere, and i've to click the browsers back
 button.....then the link I clicked is highlighted when I return. If
 I make a link that leeds to a new page (with exactly the same code
 as was generated from delux tuner), then nothing is highlighted. 
 Does this 'higlightstate' work at all?
 
 A:
  Javascript expanding menu doesn't save a pressed
item as it saves a tree state. It works within 1 page only and if you
reload the page you should set a pressed item using Javascript API:
 
 function apyt_ext_setPressedItem(menuInd, itemID)
 
 <script type="text/javascript">
 
 var I = 4 //index of the selected item
 onload=setPressed;
 function setPressed()
 {
 
 dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
 
 }
 
 </script>
 
 
 
 
 
 
 Return to Recent Questions
 
 Related:
 
 
         Sep 02, 2006 - Can I show / hide the javascript floating menu .
Sep 06, 2006 - The Items of the javascript tree view stay expanded in the same state.
Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
 |