editing dynamic navigation tabs of template

I'm pretty new to coding particular to javascript, so sorry upfront for any dump ass questions.

what I'm trying to do is redesigning an template. I need to edit the length of the navigation tabs. I have a java script(tabs.js) which is automatically scaling the length of the tabs measured on the number of letters i guess. Question is how can I set the length of the tabs similar, even when the word changes in the number of letters.

This is the javascript

tabs = {

init : function(){ $('.tabs').each(function(){

var th=$(this),
 navA=$('.nav a',th)


    var th=$(this),
    return false;

Here is my html code


                  <ul id="menu">
                    <li><a href="#!/page_Home"><span></span><strong>EVENTS</strong></a></li>
                    <li><a href="#!/page_About"><span></span><strong>HISTORY</strong></a></li>
                    <li><a href="#!/page_Portfolio"><span></span><strong>IMPRESSIONS</strong></a></li>
                    <li><a href="#!/page_Services"><span></span><strong>BOOKING</strong></a></li>
                    <li><a href="#!/page_Contact"><span></span><strong>CONTACT</strong></a></li>

Thank you in advance for your help!


I'm trying to recall something I read in the past....

.setTabSize(int Size)

I'm pretty sure that will help, or at least get you on the right track. Hopefully...

Need Your Help

How to use an <img> Tag in Flash?

javascript html actionscript-3

I have a tracking tag from adcloud. Now, if I can rely on js, calling it from my Flash app works just peachy. However, my boss would like that I send the same information when js is disabled.

Segmentation fault in PHP?

php segmentation-fault mysqli

Why does the following code cause a segmentation fault?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.