Event.observe(window,’load’,function(){ new Fabtabs(’tabs’); },false);
Event.observe(window,’load’,function(){ new Fabtabs(’tabs2’); },false);
Event.observe(window,’load’,function(){ new Fabtabs(’tabs3’); },false);
Event.observe(window,’load’,function(){ new Fabtabs(’tabs4’); },false);
Event.observe(window,’load’,function(){ new Fabtabs(’tabs5’); },false);
Event.observe(window,’load’,function(){ new Fabtabs(’tabs6’); },false);
Event.observe(window,’load’,function(){ new Fabtabs(’tabs7’); },false);
Event.observe(window,’load’,function(){ new Fabtabs(’tabOmni’); },false);
There’s eight errors when it loads on the "index" page. And seven when I go to a page that uses one of them. Thus, the "unused" ones are creating the issue.
Since I have to have them set, is there any way to edit the tabbed.js file, or could I add in the line for the one I’m using in a <script> tag (i.e., would the browser be able to know the code belongs to tabbed.js?