Jump to content

using Cool Menus


ryanlum

Recommended Posts

hey...i used this js script for cool menus... i inserted all the files into 1 directory... but i can't seem to open the page......this is the js file that i am usingoM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=1; oM.onlineRoot=""; oM.pxBetween =0; oM.fillImg="cm_fill.gif"; oM.fromTop=115; oM.fromLeft=155; oM.wait=300; oM.zIndex=400;oM.useBar=1; oM.barWidth="100%"; oM.barHeight="menu"; oM.barX=0;oM.barY="menu"; oM.barClass="clBar";oM.barBorderX=0; oM.barBorderY=0;oM.level[0]=new cm_makeLevel(90,21,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);oM.level[1]=new cm_makeLevel(102,22,"clS","clSover",1,1,"clB",0,"right",0,0,"",10,10);oM.level[2]=new cm_makeLevel(110,22,"clS","clSover");oM.level[3]=new cm_makeLevel(140,22);oM.makeMenu('m1','','CDS','footer.htm');oM.makeMenu('m2','','Test1','');oM.makeMenu('m3','','Test2','');oM.makeMenu('m3','m1','Test3','');oM.makeMenu('m22','m1','AAA','');oM.makeMenu('m5','m1','CDS 1','footer.htm');oM.makeMenu('m6','m1','CDS 2','');oM.makeMenu('m7','m5','CoolMenus','');oM.makeMenu('m8','m5','DHTML Library','');oM.makeMenu('m9','m5','DHTML Guestbook','');oM.makeMenu('m26','m5','Active topics','');oM.makeMenu('m13','m6','New scripts','');oM.makeMenu('m14','m6','All scripts','');oM.makeMenu('m15','m6','Categories','');oM.makeMenu('m27','m6','Links','');oM.makeMenu('m28','m6','Web books','');oM.makeMenu('m29','m6','Web software','');oM.makeMenu('m39','m7','About','');oM.makeMenu('m40','m7','Advertise','');oM.makeMenu('m41','m2','Site sponsor','');oM.makeMenu('m42','m3','Contributors','');oM.makeMenu('m43','m3','Newsletter','');oM.makeMenu('m44','m4','Members','');oM.makeMenu('m45','m4','Copyright','');var avail="190+((cmpage.x2-235)/7)";oM.menuPlacement=new Array(192,avail+"-11",avail+"*2-8",avail+"*3-12",avail+"*4-7",avail+"*5-9",avail+"*6+5")oM.construct()

Link to comment
Share on other sites

This is the menu bar to preview the frame<html><head> <title>Coolmenus example - CoolMenus4 DHTML script made by Thomas Brattli from DHTMLCentral.com. Visit for more great scripts.</title><!-- Using a linked stylesheet --><link rel="STYLESHEET" type="text/css" href="dhtmlcentral.css"><script language="JavaScript1.2" src="coolmenus4.js">/*****************************************************************************Copyright © 2001 Thomas Brattli (webmaster@dhtmlcentral.com)DHTML coolMenus - Get it at coolmenus.dhtmlcentral.comVersion 4.0_betaThis script can be used freely as long as all copyright messages areintact.Extra info - Coolmenus reference/help - Extra links to help files **** CSS help: http://192.168.1.31/projects/coolmenus/reference.asp?m=37General: http://coolmenus.dhtmlcentral.com/reference.asp?m=35Menu properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=47Level properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=48Background bar properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=49Item properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=50******************************************************************************/</script><script language="JavaScript1.2" src="cm_addins.js">/*****************************************************************************Copyright © 2001 Thomas Brattli (webmaster@dhtmlcentral.com)Coolmenus add-in file for more advanced featuers..******************************************************************************/</script></head><body topmargin=0 marginheight=0><script language="JavaScript1.2" src="dhtmlcentral.js">/*****************************************************************************Linked js file with all the menucreation code inside******************************************************************************/</script></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...