(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    I'm trying your javascript expanding menu but can't get a clicked menu to stay highlighted.

Return to Recent Questions


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:
Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs Best AI website generator and creator - create a website with AI.  |  Website Builder for Churches, Authors, Consultants, Magazines  |  Best AI Website Builder - Create Website Design with AI  |  Best Website Builder for Education, Software Companies, Designers, Videos  |  Website Builder for Beginners, Bloggers, Writers, IT Companies  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Free AI Website Builder | AI Website Builder | Website Generator AI | AI website design generator