DHTML Forum  

Go Back   DHTML Forum > CoolMenus > CoolMenus 4
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25.07.2005, 15:43
trinimoses trinimoses is offline
Neuer Benutzer
 
Join Date: 24.07.2005
Location: Trinidad and Tobago
Posts: 4
Default

ahh.. IE6 is proving to be a pain with CSS.. i have my menubar width set to 100%, and IE goes up to 95% .. it refuses to go the full width of the screen....

Any ideas y ? attached is my code

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=140
oCMenu.rows=1
oCMenu.menuPlacement="center"

oCMenu.offlineRoot="file:///D|/work/websites/itc"
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=1000
oCMenu.fillImg="images/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=140
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass="clLevel2border"

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=150
oCMenu.level[0].height=20
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=oCMenu.level[0].width-2
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+73
oCMenu.level[1].offsetY=5
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=175
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/
oCMenu.makeMenu('top0','','<center>Home</center>','main.php','')

oCMenu.makeMenu('top1','','<center>Comapny Info</center>','')
oCMenu.makeMenu('sub11','top1','**About Us','aboutus.php')
oCMenu.makeMenu('sub12','top1','**Contact Us','contactus.php')
oCMenu.makeMenu('sub13','top1','**News','news.php' )

oCMenu.makeMenu('top2','','<center>Products</center>','')
oCMenu.makeMenu('sub20','top2','**Broadband','')
oCMenu.makeMenu('sub200','sub20','**Supplies','',' ',70,20)
oCMenu.makeMenu('sub201','sub20','**Solutions','', '',70,20)
oCMenu.makeMenu('sub21','top2','**Wired Networking','')
oCMenu.makeMenu('sub22','top2','**Wireless Networking','')
oCMenu.makeMenu('sub23','top2','**Routers','')
oCMenu.makeMenu('sub24','top2','**Print Servers','')
oCMenu.makeMenu('sub25','top2','**Antennas','')
oCMenu.makeMenu('sub26','top2','**VOIP','')

oCMenu.makeMenu('top3','','<center>IP Security Surveillance</center>','')
oCMenu.makeMenu('sub30','top3','**IP Security Solutions','ipsecuritysolutions.php')
oCMenu.makeMenu('sub31','top3','**IP Camera Products','')
oCMenu.makeMenu('sub310','sub31','**IP Cameras','ipcameras.php','',140,20)
oCMenu.makeMenu('sub311','sub31','**IP Camera Servers','ipcameras.php','',140,20)
oCMenu.makeMenu('sub312','sub31','**IP Camera Accessories','ipcameras.php','',140,20)

oCMenu.makeMenu('top4','','<center>Help</center>','')
oCMenu.makeMenu('sub40','top4','**Technical Support','')
oCMenu.makeMenu('sub41','top4','**Live Tech Support','')
oCMenu.makeMenu('sub42','top4','**Knownledge Center','')
oCMenu.makeMenu('sub43','top4','**FAQs','')
oCMenu.makeMenu('sub44','top4','**Driver Downloads','')
//Leave this line - it constructs the menu
oCMenu.construct()


With Jah Jah
Anything is possible
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 20.06.2007, 17:39
semaj semaj is offline
Neuer Benutzer
 
Join Date: 20.06.2007
Posts: 2
Default

Have you solved this problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +2. The time now is 13:28.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.