View Full Version : Switch Content Script Cookies

05-01-2009, 03:17 AM
1) Script Title: Switch Content Script

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

3) Describe problem: Hi Everyone. I am wanting to change the setCookie in Switch Content Script to happen onClick of the heading instead for on unload of the whole page.

I'm really hoping that this is possible and I thank you in advance for your help.

05-01-2009, 08:05 AM
Is there a reason you need to do this? It's a lot more complex to store the DIVs that should be persisted each time a header is clicked on, instead of via window unload.