I am convert the jquery-ui tabs into a more basic version that is easily customisable although I have come across a couple of problems:
- How would I change the code into a reusable plugin/function that I can then use in the next/prev links on click?
Also I have a problem with the second tab is adding the next link.
Would there be any point in adding the cookie plugin to remember the tab also?
I have tried to also write the code so that it adds the tab ID to the hash of the URL allowing direct bookmarking to a tab if the URL has a hash on the end.
JS Fiddle code can be viewed here: http://jsfiddle.net/pmnzT/21