How to change the font color if the user click on vertical menu javascript?
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:
- Apr 02, 2009 - Where can I change the font size of the top web menu items?
- May 25, 2009 - How can I setup size and color of the font for individual button in the css drop down menus?
- Jun 17, 2009 - I want to have a different font and color for my menu pop up no submenu items...
- Jul 29, 2009 - Is there any way to change the font size of the submenu links in submenu javascript?
- Aug 14, 2009 - How I can set the font and backcolors in dynamic dropdown menus using the hexidecimal number?
- Aug 16, 2009 - I cannot change the background color of the html floating menu
- Aug 21, 2009 - Is there a way in the onmouseover drop down menu example maker to change preview screen color?
- Aug 23, 2009 - When I roll over the menu web part the font color doesn't change
- Sep 02, 2009 - Does this include any future updates after I'll purchase your pop up menu javascript?
- Sep 09, 2009 - Is it possible to change colors for the dhtml drop down menus and the submenus in the dhtml drop down menus?
- Sep 12, 2009 - How I can change the background color of the left navigation menu?
|