Try making the persistence feature side wide, instead of just directory wide. Inside the .js file, replace the original switchcontent.setCookie() function with the below instead:
Code:
switchcontent.setCookie=function(name, value, days){
if (typeof days!="undefined"){ //if set persistent cookie
var expireDate = new Date()
var expstring=expireDate.setDate(expireDate.getDate()+days)
document.cookie = name+"="+value+"; path=/; expires="+expireDate.toGMTString()
}
else //else if this is a session only cookie
document.cookie = name+"="+value+";path=/"
}
Bookmarks