Results 1 to 3 of 3

Thread: HV Menu color issue switching form asp to php

  1. #1
    Join Date
    Feb 2015
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default HV Menu color issue switching form asp to php

    1) Script Title: HV Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem:
    I installed HV Menu years ago on a site with classic ASP scripting, and it works fine.

    I am rewriting the site to move to php scripting. The home page is the same except that the asp scripts have been changed to php scripts. The scripts do NOT call the menu. Now the colors for the fonts and hovering change on mouse-over, but do not revert back to normal when no longer hovering. Also, font colors in general do not appear to be read from the menu file. Host server changed from Windows to Linux. The .js scripts have not changed between sites.

    Working copy is here: www.amcw.org.
    Non-working version is here: www.amcw.net

    Any ideas why the functionality would change?
    Last edited by willblack; 02-02-2015 at 02:18 PM. Reason: Resolved.

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    I had a quick look at exmplmenu_var.js of both versions. They contain the following errors:

    Code:
    var HighBgColor='0099CC';			// Background color when mouse is over
    var HighSubBgColor='0099CC';			// Background color when mouse is over on subs
    should be:

    Code:
    var HighBgColor='#0099CC';			// Background color when mouse is over
    var HighSubBgColor='#0099CC';			// Background color when mouse is over on subs
    and

    Code:
    var FontLowColor='444488';			// Font color when mouse is not over
    var FontSubLowColor='444488';			// Font color subs when mouse is not over
    should be:

    Code:
    var FontLowColor='#444488';			// Font color when mouse is not over
    var FontSubLowColor='#444488';			// Font color subs when mouse is not over
    I don't know why the errors in one of your versions don't affect the colors, while they do in the other version.

    Anyhow, try to correct the errors and see what happens.

  3. The Following User Says Thank You to molendijk For This Useful Post:

    willblack (02-02-2015)

  4. #3
    Join Date
    Feb 2015
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I can't believe I missed that. Must have been looking at it too long. Thank you! That fixed it.

Similar Threads

  1. Switching Content using a menu
    By SafferBoy in forum Looking for such a script or service
    Replies: 1
    Last Post: 07-16-2010, 02:15 AM
  2. Replies: 7
    Last Post: 01-28-2010, 10:37 PM
  3. Horizontal menu background color issue
    By crazy51guy in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 12-10-2009, 06:39 AM
  4. Resolved Chrome Menu IE8 Background-color issue ...
    By Per K in forum Bug reports
    Replies: 0
    Last Post: 04-29-2009, 07:15 AM

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
  •