Results 1 to 3 of 3

Thread: HV menu problem

  1. #1
    Join Date
    May 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV menu problem

    Title: HV menu
    http://dynamicdrive.com/dynamicindex1/indexc.html

    Copy of page I'm having a problem with is at http://www.usa4corners.org/special/example.htm

    Where the problem seems to appear is when I put "Menu2_3=new Array" and the rest of the line in, then test it. I have tried changing Menu2=new Array("Products","products.html","",5,20,140,"","","","",""); from 5 to other numbers with no success.

    I realize this is a 3rd party script but if anyone ran into this before and was able to tweak it I would apreciate the help.

    Attached is the javascript script that I'm trying to get to work.

  2. #2
    Join Date
    Jun 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV Menu

    Just had a very quick look, Menu item #9 has 4 menu items not 3 as specified. ie:

    Menu9=new Array("News & Events","news.html","",3,0,0,"","","","","");

    Menu9_1=new Array("Press Releases","press-releases.html","",0,20,180,"","","","","");

    Menu9_2=new Array("Events","events.html","",0,0,0,"","","","","");

    Menu9_3=new Array("Photos","photos.html","",0,0,0,"","","","","");

    Menu9_4=new Array("Speedtrap TV Commercial"","commercial.html","",0,0,0,"","","","","");

    Should be;


    Menu9=new Array("News & Events","news.html","",4,0,0,"","","","","");

    Menu9_1=new Array("Press Releases","press-releases.html","",0,20,180,"","","","","");

    Menu9_2=new Array("Events","events.html","",0,0,0,"","","","","");

    Menu9_3=new Array("Photos","photos.html","",0,0,0,"","","","","");

    Menu9_4=new Array("Speedtrap TV Commercial"","commercial.html","",0,0,0,"","","","","");

    This sort of thing makes the script fall over.

    Hope this helps.

    - Neil

  3. #3
    Join Date
    Jun 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just also got a bit more time to look at your script. You have the following;

    Menu9=new Array("News & Events","news.html","",4,0,0,"","","","","");

    Menu9_1=new Array("Press Releases","press-releases.html","",0,20,180,"","","","","");

    Is that the way you got the script with all those array elements at the end?

    What version are you using?

    I am on 5.5 and there are only 4 elements after the link element not 9

    So my script would look like;

    Menu9=new Array("News & Events","news.html","",4,0,0);

    Menu9_1=new Array("Press Releases","press-releases.html","",0,20,180);

    I would probably also even up the spacings in each menu item a bit with;

    Menu9=new Array("News & Events","news.html","",4,20,180);

    Menu9_1=new Array("Press Releases","press-releases.html","",0,20,180);

    Cheers,

    - Neil

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
  •