If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Tabs & Sliders - remove cookies

Hi, I'm using the Tabs & Sliders plugin for Joomla and it's fantastic except for the fact that it does not automatically go to the first tab on page load. It goes to whatever tab you last viewed...and this is between pages. So for example, if you go to one page and click on the third tab, then click a link to a new page from there, you will end up on the third tab of the new page, which is really frustrating and not very helpful. Furthermore, if you come back to the site a week later, it will still be loading the last tab you were on, on any page that the plugin appears.

The people who created the plugin did not address this issue in the last 2 updates, in spite of multiple requests to do so, and someone on their forums claimed that they simply removed 4 cookie references from the js files and it solved the problem without hurting the functionality of the plugin. However, they haven't responded regarding exactly what code to remove.

Can someone please review the javascript code below and let me know if they see a way to prevent the plugin from remembering past tab selections and to simply load the first tab on page load? Any help would be appreciated, and I'm of course willing to do some trial and error if needed!