I have a jquery stat does something when the page loads:
$(document).ready(function(){
tb_show('#TB_inline?height=490&width=534&inlineId=compare', false);
});
what I want is for the script to run once in a while maybe every 2 days … any idea?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to set up a cookie to record the last time it showed up. That’s document.cookie, or better still, use jQuery’s cookie plugin functionality.