Javascript coding problem...
I'm hoping someone in here can help?!
I have a website and on several of the pages there is a javascript code in between the head tags. Now let's say someone were to click on a link on my website and go to another page that did NOT have that javascript. From that page they then clicked a link that took them back to the page with the javascript.
I hope that makes sense?!
My question is this. What is the best way for me to disable the javascript when the person returns to that page? In other words, I only want the javascript to be enabled the first time they visit that page and disabled if they return to that page.
I would want to only do this for a certain amount of time though so if they came back to that page the next day the javascript would then be enabled again on the page.
Any ideas? I know this could probably be done using cookies however I would prefer if there was some way around this where cookies would not be necessary.
Are you using WordPress? Have you tried qSandbox yet?