PDA

View Full Version : HV menu problem



achatfield
09-16-2004, 12:17 PM
HV Menu (http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm)

Have a set up and configured the HV menu to work across a frame on my site and want to change the borders and font colors for each element.

In the documentation it states that by specifying colors in the individual menu trees that should overide the colors in the global variables. However this does not seem to be happening and I can not get the menu items to have individual colors.

Here is some code from one of the menu trees. Am i missing something?

Menu2=new Array("rollover:buttons/bt_botanical_up.gif:buttons/bt_botanical_dn.gif","botanical.htm","",2,28,98);
Menu2_1=new Array("A Guide to Botanical Extracts","botanicalguide.htm","",0,30,120,'white','white','black','green','white');
Menu2_2=new Array("Our Range","blank.htm","",5,20);
Menu2_2_1=new Array("ActiveX","activex.htm","",0,20,60);
Menu2_2_2=new Array("BotaniX","botanix.htm","",0);
Menu2_2_3=new Array("FlowerX","flowerx.htm","",0);
Menu2_2_4=new Array("OrganiX","organix.htm","",0);
Menu2_2_5=new Array("SpecifiX","specifix.htm","",0);

Thanks in advance

cr3ative
09-16-2004, 02:21 PM
Well if the script supports html in its code (I presume it does)...

Menu2_2_1=new Array("<font color='color'>ActiveX</font>","activex.htm","",0,20,60);

I know there's probably a solution in CSS or similar, but this is a quick fix at least.
cr3ative

achatfield
09-16-2004, 03:49 PM
Thanks for the help. That solves the problem of individual colors but it still means that the settings for border colors and mouse over etc. are still set to the global settings of the script.