|
|
How do I control the individual tab width for afloat tabs?
Return to Recent Questions
Q:
How do I control the individual tab width for afloat tabs?
A:
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 text text","", "", "", "", "", "0", "", "", ],
["Item 2 text text","", "", "", "", "", "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:
- Sep 18, 2006 - Does the js menu work to load pages into an iframe?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Oct 16, 2006 - I need the sub menu of the drop menu to be vertical instead of horizontal
- Nov 17, 2006 - How can I open a new window of a specific dimension in the dhtml toolbar?
- Dec 02, 2006 - I have several questions about dynamic horizontal menu.
- Dec 21, 2006 - This rollover menu javascript works great in IE, but doesn't work in Firefox.
- Jan 06, 2007 - Is there a parameter in javascript expand menu to force the menu text to wrap
- Jan 24, 2007 - In firefox my css vertical javascript menu is shifted way to the right
- Jan 29, 2007 - Is this java script drop down menu floatable?
- Feb 06, 2007 - We use IFrames and Frameset. Will Deluxe-Menu and Deluxe menu tabs work for us?
- Feb 07, 2007 - Can you create/destroy tabs javascript with only client side javascript
|