|
|
I am trying create css pulldown menu tabs that occupy 100% width with each tab being equal width.
Return to Recent Questions
Q:
I recently purchased your DHTML Tabs product and I am trying to create
tabs that occupy 100% width with each tab being equal width.
Right now when I specify 100% menu width all of the tabs are difference
sizes (widths).
How do I control the individual tab width?
A:
You should use Individual Item styles to achieve this effect.
See the attached example.
You should set:
var bmenuWidth="100%";
I have 5 items in my example, so I've created Individual Style
var bstyles = [
["bitemWidth=20%"],
];
And assign it for all items:
["Item 1 aaaaa ssssss","", "", "", "", "", "0", "", "", ],
["Item 2 ffff jjjjjjjjjj","", "", "", "", "", "0", "", "", ],
["Item 3 text text","", "", "", "", "", "0", "", "", ],
["Item 4 text text","", "", "", "", "", "0", "", "", ],
["Item 5 text text","", "", "", "", "", "0", "", "", ],
But notice that items width cannot be smaller than the width of its'
text. So it is possible that you'll have different size of some items
if your window have a small size.
Return to Recent Questions
Related:
- March 20, 2009 - Is it possible to have the "parent" items of the css pulldown menu be purely an image?
- Apr 05, 2009 - We have status bar errors that say: "Done, but with errors on page" in css pulldown menu...
- Apr 23, 2009 - I cannot configure the actual links or link names in the css pulldown menu?
- May 10, 2009 - I've started using your css pulldown menu the CPU jumps to 100%...
- May 28, 2009 - Can we specify our own onclick event handler for the css pulldown menu item?
- Jun 14, 2009 - How can I insert html code into css pulldown menu?
- Jul 02, 2009 - Is it possible to install my css pulldown menu on the page made with Yahoo sitebuilder
- Jul 18, 2009 - Submenu of css pulldown menu doesn't appear over the Flash in Firefox...
- Aug 05, 2009 - We have several problems with your css pulldown menu. Please, help to solve these problems!
- Aug 22, 2009 - Is it possible to create a css pulldown menu with one line of the subitems?
- Sep 07, 2009 - Is it possible to load pages into an iframe in the css pulldown menu?
|