How to change the font color if the user click on horizontal menu using?
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:
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our horizontal menu using...
- March 30, 2009 - Is there a way to optimize the horizontal menu using to reduce the loading time for submenus?
- Apr 02, 2009 - Where can I change the font size of the top javascript onmouseover menu items?
- Apr 16, 2009 - Do you have a template that allows me to have a standard windows tree control horizontal menu using?
- May 04, 2009 - The horizontal menu using won't align itself correctly in Firefox.
- May 21, 2009 - I am looking to integrate your horizontal menu using into a CMS such as Joomla.
- May 25, 2009 - How can I setup size and color of the font for individual button in the menue script?
- Jun 07, 2009 - The background images for horizontal menu using are missing in the browser...
- Jun 17, 2009 - I want to have a different font and color for my css menu example submenu items...
- Jun 25, 2009 - Your horizontal menu using doesn't work on Mac with Safari.
- Jul 12, 2009 - Is it possible to set target attribute individually for the horizontal menu using items?
|