|
|
I am trying create web menu tabs that occupy 100% width with each tab being equal width.
Return to Recent Questions
Q:
I recently purchased your Deluxe-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:
- Oct 05, 2006 - Is it easy to incorporate your Menu into a website created on Front Page?
- Oct 12, 2006 - Can I create a scroll vertical menu on the right side and the subnav popout on the LEFT?
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 19, 2006 - Can I create a javascript menu code with one line of the subitems?
- Nov 26, 2006 - Can I create my floating menu to make it easier for search engines to crawl through?
- Dec 05, 2006 - I can not createPopup windows by clicking on a menu.
- Dec 25, 2006 - How do you created a multiple column for only one menu js item.
- Dec 26, 2006 - I'm trying to have two separate mouseover menus on my web page.
- Dec 28, 2006 - How do I create more space between the menu items in my simple javascript menu?
- Dec 30, 2006 - Can I create the following menu with your javascript menu sample code?
- Jan 06, 2007 - Do I need to replace all the files and script in all the web pages with hover menu...?
|