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


 

    How to change the font color if the user click on css pull down menu?

Return to Recent Questions


Q: How to modify data.js in deluxe menu to change the font color if the user click on css pull down menu.

Expl. If the user click on 'Webdesign' and then on 'Thema Webdesign' the color dosn't change to #333. So the user don't now, where is it. Please test it on www.media-design.ch. Thank!

A: Deluxe Tree 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 dtreet_ext_setPressedItem (menuInd, itemID)

<script type="text/javascript">

var i = <?php echo $selitem; ?>;
onload=setPressed;
function setPressed()
{

dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));

}
</script>

You should define selitem using server side script.






Return to Recent Questions

Related:
Responsive Website Maker 15 Recommended Website Makers Arranged by Level Of Popularity  |  Mobile-friendly Page Maker  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Builder | Website Generator AI | AI web design generator | AI web page design generator