hotmailisforloosers
Programmer
I created a pop-up menu using the behaviors in Dreamweaver and now I'm trying to fix the things up so that it's actually presentable. The big problem I'm having is that it's a horizontal menu and the width of each individual link cell is not modifiable.... I can only select one set width for all of the cells (which looks terrible when you have one link that fills the block and another that is stranded way out in the middle of this huge space.
So the horizontal menu ends up looking something like:
_________LINK___________ _THISISALONGLINK_ _ANOTHERLONGLINK_ __________SHORT__________ _________SHORT__________
... trust me, it's awful when you see it like that on a page. So is there some way to make the cell FIT to the text of the link?... rather than defining one set width for every link?
.... here is a snippet of code for one of the pop-up menu links:
The definted width for all of them is that '140'
Any help is appreciated, thanks.
So the horizontal menu ends up looking something like:
_________LINK___________ _THISISALONGLINK_ _ANOTHERLONGLINK_ __________SHORT__________ _________SHORT__________
... trust me, it's awful when you see it like that on a page. So is there some way to make the cell FIT to the text of the link?... rather than defining one set width for every link?
.... here is a snippet of code for one of the pop-up menu links:
Code:
window.mm_menu_0729161741_0 = new Menu("root",140,21,"Arial, Helvetica, sans-serif",9,"#336699","#3399CC","#FFFFFF","#FFFFFF","center","middle",3,0,1,-50,7,true,false,false,0,true,true);
mm_menu_0729161741_0.addMenuItem("asdf","location='cond.html'");
mm_menu_0729161741_0.addMenuItem("asdf","location='child.html'");
mm_menu_0729161741_0.addMenuItem("asdf","location='health.html'");
mm_menu_0729161741_0.addMenuItem("asdf","location='kiddies.html'");
mm_menu_0729161741_0.addMenuItem("asdf","location='kiddies.html'");
mm_menu_0729161741_0.addMenuItem("asdf","location='kiddies.html'");
mm_menu_0729161741_0.addMenuItem("asdf","location='kiddies.html'");
mm_menu_0729161741_0.hideOnMouseOut=false;
mm_menu_0729161741_0.bgColor='#555555';
mm_menu_0729161741_0.menuBorder=1;
mm_menu_0729161741_0.menuLiteBgColor='#FFFFFF';
mm_menu_0729161741_0.menuBorderBgColor='#777777';
The definted width for all of them is that '140'
Any help is appreciated, thanks.