Script: DD Tab Menu I
URL: http://www.dynamicdrive.com/dynamici...abmenu_dev.htm

Question: How does one preserve the tab the user was on durring either an onload or submit event? I basically have a search bar that I want to use. Once the form is submitted, i want the user to go back to the tab they were on but I cant figure out how to do it.

There is a variable in the script called previoustab. So how do i get to use that variable to be called onLoad at the initial tab? Also is someone could explain how expandcontent() works in detail, that would be AWESOME!

Heres a pic of what we are talking about here:






Any help is greatly appreciated.