|
|
I am trying to make the javascript tabs all the same width...
Return to Recent Questions
Q:
I am trying to make the tabs all the
same width and would like to know how to do that. Therefore "Personal",
"Account Summary", "Tax Exemptions", "Password", "Invoices", "Quotes",
"VOIP" - I need them to all be the EXACT SAME width.
A:
See, I've created Individual style
var bstyles = [
["bitemWidth=250px"], // style 0
];
And used this style for some items
["Account Summary","AccountSummary", "tabs/img/icon_ie.gif","tabs/img/icon_ie.gif", "tabs/img/icon_ie.gif", "", "0", "", "",], // style 0
["Tax Exemptions","TaxExemptions", "tabs/img/icon_ie.gif", "tabs/img/icon_ie.gif", "tabs/img/icon_ie.gif", "", "0", "", "", ], // style 0
You can use this style for all items in the same way.
You should set the width of your Tabs
var bmenuWidth="770px";
and width for each Tab
var bstyles = [
["bitemWidth=110px"], // style 0
];
And assign this style for all items.
Return to Recent Questions
|