Inserts a tab or tabs before tab with id=before
insert(before, tabs)
before string, id of tab to insert before
tabs object or array, tab or array of tabs
Returns undefined.


New tabs will be inserted before tab with id = before. If before is null, new tabs will be appended at the end. The tabs argument can be either an object or array of objects. If it is an object it represents a tab that will be added to .tabs array. If it is an array then each element of the array will be treated as a separate tab object.
If you have tabs defined in the following way: You can add tabs:

User Comments

comments powered by Disqus