Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    POR
    POR is offline
    New to the CF scene
    Join Date
    Mar 2003
    Location
    McHenry
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    can't over 9 drop down menu

    I want make 10 drop down menu and i get error, the message said A Runtime Error has occurred. Do you wish to Debug? Line 91 Error:Expected ';' YES NO what i do here see code, thank you


    /***********************************************************************************
    * (c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
    * For info write to menus@burmees.nl *
    * You may remove all comments for faster loading *
    ***********************************************************************************/

    var NoOffFirstLineMenus=10 // Number of first level items
    var LowBgColor='#FF6600'; // Background color when mouse is not over
    var LowSubBgColor='#FF6600'; // Background color when mouse is not over on subs
    var HighBgColor='black'; // Background color when mouse is over
    var HighSubBgColor='black'; // Background color when mouse is over on subs
    var FontLowColor='black'; // Font color when mouse is not over
    var FontSubLowColor='black'; // Font color subs when mouse is not over
    var FontHighColor='white'; // Font color when mouse is over
    var FontSubHighColor='white'; // Font color subs when mouse is over
    var BorderColor='black'; // Border color
    var BorderSubColor='black'; // Border color for subs
    var BorderWidth=1; // Border width
    var BorderBtwnElmnts=1; // Border between elements 1 or 0
    var FontFamily="arial,comic sans ms,technical" // Font family menu items
    var FontSize=9; // Font size menu items
    var FontBold=1; // Bold menu items 1 or 0
    var FontItalic=0; // Italic menu items 1 or 0
    var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right'
    var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
    var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
    var ChildOverlap=.2; // horizontal overlap child/ parent
    var ChildVerticalOverlap=.2; // vertical overlap child/ parent
    var StartTop=140; // Menu offset x coordinate
    var StartLeft=1; // Menu offset y coordinate
    var VerCorrect=0; // Multiple frames y correction
    var HorCorrect=0; // Multiple frames x correction
    var LeftPaddng=3; // Left padding
    var TopPaddng=2; // Top padding
    var FirstLineHorizontal=0; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
    var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
    var DissapearDelay=1000; // delay before menu folds in
    var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
    var FirstLineFrame='navig'; // Frame where first level appears
    var SecLineFrame='space'; // Frame where sub levels appear
    var DocTargetFrame='space'; // Frame where target documents appear
    var TargetLoc=''; // span id for relative positioning
    var HideTop=0; // Hide first level when loading new document 1 or 0
    var MenuWrap=1; // enables/ disables menu wrap 1 or 0
    var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
    var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
    var WebMasterCheck=0; // menu tree checking on or off 1 or 0
    var ShowArrow=1; // Uses arrow gifs when 1
    var KeepHilite=1; // Keep selected path highligthed
    var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10]; // Arrow source, width and height

    function BeforeStart(){return}
    function AfterBuild(){return}
    function BeforeFirstOpen(){return}
    function AfterCloseAll(){return}


    // Menu tree
    // MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
    // For rollover images set "Text to show" to: "rollover:Image1.jpg:Image2.jpg"

    Menu1=new Array("HOME","http://www.dynamicdrive.com","",0,20,138);

    Menu2=new Array("SPORTS","blank.htm","",6);
    Menu2_1=new Array("VOLLEYBALL","blank.htm","",0,20,150);
    Menu2_2=new Array("FOOTBALL","blank.htm","",0);
    Menu2_3=new Array("BASKETBALL","none","",2);
    Menu2_3_1=new Array("BOYS","G:/WebPage8th/hsboysbasket/hsboysbasketball.htm","",0,20,150);
    Menu2_3_2=new Array("GIRLS","G:/WebPage8th/hsgirlsbasket/hsgirlbasketteam.htm","",0);
    Menu2_4=new Array("WRESTLING","none","",0);
    Menu2_5=new Array("TRACK","none","",0);
    Menu2_6=new Array("CHEERLEADING","none","",0);

    Menu3=new Array("CLUBS","blank.htm","",5);
    Menu3_1=new Array("LEO","none","",0,20,150);
    Menu3_2=new Array("SBG","http://www.google.com","",0);
    Menu3_3=new Array("TEEN COMMITTEE","http://www.yahoo.com","",0);
    Menu3_4=new Array("RECREATION COMMITTEE","none","",0);
    Menu3_5=new Array("ACADEMIC BOWL","none","",0);

    Menu4=new Array("TOUR","blank.htm","",0);

    Menu5=new Array("CLASS OF","none","",0);

    Menu6=new Array("ATHLETICS","NONE","",0);

    Menu7=new Array("FACULTY","none","",0);

    Menu8=new Array("LIBRARY","none","",0);

    Menu9=new Array"(DORM LIFE","none","",0);

    Menu10=new Array("ABOUT US","none","",0);

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote outside of braces:

    eg: Menu9=new Array("DORM LIFE","none","",0);

    .....Willy


  •  

    Posting Permissions

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