PDA

View Full Version : Ajax Tabs Content script - disable cookie



Lucifix
10-22-2009, 07:43 AM
1) Script Title: Ajax Tabs Content script

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

3) Describe problem:

Does anyone know how to disable tabs cookie for this script? I run this scrip on multiple pages with different content and I don't wish that if on 1st page user select 2 tab and then on another page it show him 2nd tab.

jscheuer1
10-22-2009, 07:47 AM
For example, using the initialization code from the demo page, set it to false as shown:


<script type="text/javascript">

var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
countries.setpersist(false)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()

</script>

Lucifix
10-22-2009, 09:36 AM
@jscheuer1's: Thank you!