View Full Version : Resolved When Page reloads the it does not go back to selected tab

06-22-2009, 03:39 AM
1) Script Title: Ajax Tabs Content Script (v 2.2)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:

The menu does not reset on page load. Please go to:


The menu is down on the page under the picture. Once on the page please select Tab 2: Complete Your Look.

Once you have done this, go to this page:

As you can see Tab 2 still comes up. The Complete Your Look section is showing.

It does not go back to Tab 1 on new page load. How do I make it reload on tab 1?

By the way I LOVE Dynamic Drive! The site is wonderful! I have recommended it to many! Thank you for your time.

06-22-2009, 11:25 PM
This is normal, as you have persistence of the last viewed tab enabled right now. Try turning it off:

<script type="text/javascript">

var countries=new ddtabcontent("countrytabs")
countries.setselectedClassTarget("link") //"link" or "linkparent"


06-23-2009, 12:16 AM
THANK YOU!!! That works great!