Web Analytics Made Easy -
StatCounter ssItems.js - CodingForum

Announcement

Collapse
No announcement yet.

ssItems.js

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ssItems.js

    I got that slide in menu 6.5 of dynamicdrive.com and I have always thought that they were the coolest things. But then I edited it to fit my "wants" and then uploaded the modified ssmitems.js and ssm.js to the server and then looked @ the web page and it is All black. I had 1 picture and the script and the stuff that goes in the <head> but here is my modified script, please help me out.

    <!--

    /*
    Configure menu styles below
    NOTE: To edit the link colors, go to the STYLE tags and edit the ssm2Items colors
    */
    YOffset=150; // no quotes!!
    XOffset=0;
    staticYOffset=30; // no quotes!!
    slideSpeed=20 // no quotes!!
    waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
    menuBGColor="black";
    menuIsStatic="yes"; //this sets whether menu should stay static on the screen
    menuWidth=150; // Must be a multiple of 10! no quotes!!
    menuCols=2;
    hdrFontFamily="verdana";
    hdrFontSize="2";
    hdrFontColor="white";
    hdrBGColor="#170088";
    hdrAlign="left";
    hdrVAlign="center";
    hdrHeight="15";
    linkFontFamily="Verdana";
    linkFontSize="2";
    linkBGColor="white";
    linkOverBGColor="#FFFF99";
    linkTarget="_top";
    linkAlign="Left";
    barBGColor="#444444";
    barFontFamily="Verdana";
    barFontSize="2";
    barFontColor="white";
    barVAlign="center";
    barWidth=20; // no quotes!!
    barText="SIDE MENU"; // <IMG> tag supported. Put exact html for an image to show.

    ///////////////////////////

    // ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
    ssmItems[0]=["Menu"] //create header
    ssmItems[1]=["Home", "http://www.geocities.com/lumpbuzcut/liqous.html", ""]
    ssmItems[2]=["News", "http://www.geocities.com/lumpbuzcut/news.html",""]
    ssmItems[3]=["Files", "http://www.geocities.com/lumpbuzcut/files.html", ""]
    ssmItems[4]=["Information", "http://www.geocities.com/lumpbuzcut/info.html", ""]
    ssmItems[5]=["Contact me", "mailto:[email protected]", ""]

    ssmItems[6]=["Links"] //create header
    ssmItems[7]=["The Zone", "http://www.zone.com", ""]
    ssmItems[8]=["Game Spy", "http://www.gamespy.com", ""]
    ssmItems[9]=["Woody2000", "http://www.woody2000.dk", ""]

    buildMenu();

    //-->




    Thank you for your time,
    lump
    Last edited by lumpbuzcut; Jun 17, 2002, 09:47 PM.

  • #2
    hi,
    the above code you provided works fine...

    Comment


    • #3
      is posible to do a submenu with this javascript???
      Thanks

      Comment

      Working...
      X