Results 1 to 7 of 7

Thread: HV menu navigation bar help

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

    Default HV menu navigation bar help

    1) Script Title: hv menu
    5.411 version menu
    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/hvmenu.zip

    3) Describe problem:
    Cannot see navigation bar on website. Our nonprofit organization's webmaster died and I inherited the job of updating our website, but I only know basic html. I didn't know the site was edited using frontpage. I made the mistake of changing a variable in examplmenu_var.js and saving the code in our servers file saver. Long story short, their tech support had me download the file, edit in frontpage and upload. Still can't see it. I printed out the code and line by line checked each keystroke against the config file. Identical except I changed 2007 to 2008 in a menu_new Array bracket. Any suggestions, we desperately need our navigation bar back! Thank you.
    Cindy K

  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

    This is a good reason to always keep backups. There may even be one. If your former webmaster was doing things by the book, he/she kept at least one local copy of all the work. I don't know how delicate that situation may or may not be, but you could try contacting his/her family and asking about the possibility of looking at the computer used to find it. Or having one of them look for you.

    Any other solution from us would require giving us a link to the website and explaining which page(s) are supposed to have the menu on them. It may be a simple syntax or other easily correctable error we could see by examining the source code:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

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

    cindyk (07-21-2008)

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

    Default

    You may have accidentally changed the value for var NoOffFirstLineMenus. If that value is higher than the actual number of the menus (Menu1=new Array bla; Menu2=new Array bla), then the situation that you describe occurs.
    ===
    Arie Molendijk.

  5. #4
    Join Date
    Jul 2008
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts

  6. #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

    Your exmplmenu_var.js and menu_com.js files have been edited and saved without line breaks, thus rendering them unusable. They also had opening and closing <html> tags added to them. The menu_com.js file is just a standard file so you can start over with a fresh one. I have reconstructed as best as I can your exmplmenu_var.js file, and together with a fresh menu_com.js file the menu is working. I will attach both in an archive:

    Attachment 1921
    - John
    ________________________

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

  7. The Following User Says Thank You to jscheuer1 For This Useful Post:

    cindyk (07-22-2008)

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

    Default

    Thank you John.
    I downloaded the file, but got a runtime error when I tried to open it in frontpage. I sent the file to our organization's president. He knows more than I do about website building. Hopefully he can fix this now. Thank you so much for your help on our problem and all the help you give others on using scripts and forms.
    Cindy

  9. #7
    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

    If he needs any help let me know. I have it working locally, so I know it can be done.

    I was going to mention though that these files should be edited with NotePad or another text only editor. They should not be opened with Window's default js program, or in FP. When you upload them to the site, it should be done via ftp, or by using your host's online uploading interface.
    - John
    ________________________

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

  10. The Following User Says Thank You to jscheuer1 For This Useful Post:

    cindyk (07-24-2008)

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
  •