www.gusucode.com > 左侧悬浮列表菜单源码程序 > 左侧悬浮列表菜单/zuocecaidan/ssmItems.js
<!-- /* 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]=["菜单"] //create header ssmItems[1]=["主页", "http://www.mycodes.net", ""] ssmItems[2]=["矢量素材", "http://www.mycodes.net/",""] ssmItems[3]=["图标素材", "http://www.mycodes.net/", ""] ssmItems[4]=["flash素材", "http://http://www.mycodes.net", "_new"] ssmItems[5]=["PSD素材", "http://www.mycodes.net/", ""] ssmItems[6]=["JS代码", "http://www.mycodes.net/", ""] ssmItems[7]=["壁纸桌面", "http://www.mycodes.net/", "", 1, "no"] //create two column row ssmItems[8]=["设计欣赏", "http://www.mycodes.net/", "",1] ssmItems[9]=["设计教程", "", ""] //create header ssmItems[10]=["平面设计教程", "http://www.mycodes.net", ""] ssmItems[11]=["网页设计教程", "http://www.mycodes.net", ""] ssmItems[12]=["程序设计教程", "http://www.mycodes.net", ""] buildMenu(); //-->