Results 1 to 6 of 6

Thread: HV Menu - navigation did not appear

  1. #1
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV Menu - navigation did not appear

    I have a problem after i configure the HV exmplmenu_var.js to have different color combinations for the different sub.
    I followed exactly the format given from config.htm but the navigation does not appear. However it works when I take the last 4 variables out.
    Below is what I have done

    Menu1=new Array("Home","http://www.dynamicdrive.com","",0,20,138,#ffff99,#ffcc00,#990000,#330000,#ffffff);

    This is what given in the config.htm

    Menu1=new Array("TextToShow","Link","BgImage",NoOfSubs,Height,Width,BgColor,BgHiColor,FontColor,FontHiColor,BorderColor);

    I wonder where the mistake lies.
    Do help as I need this urgently to complete my project. Thank you.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Parameters other than those containing only numeric values must be quoted:

    Code:
    Menu1=new Array("Home","http://www.dynamicdrive.com","",0,20,138,"#ffff99","#ffcc00","#990000","#330000","#ffffff");
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey,

    Thanks John. Appreaciate your help.

    However, when I tried to add the quotes, the navigation did appear but it uses the global variables. It does not read the variables of the menu tree.

    Another way that I did was to empty the global variable but it cause the navigation not to appear.

    What else should be done ya cos I have tried a few ways already?

  4. #4
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    try css to format. It is much easier, aaaaannnndddd, it is more precise. Try it.
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Near as I can tell it is some kind of bug. There is a newer version from the author:

    http://www.burmees.nl/menu/menus.htm

    Good Luck!
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks. I will explore them then.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •