PDA

View Full Version : Javascript countdown timer code free...



JackieBolinsky
02-23-2012, 02:45 AM
Hi -

I'm using the countdown timer with the autologout module... I would like to give users the chance to add more time before they are automatically logged out for inactivity.

Any way to create a "give me more time" link easily w/ javascript that would update the countdown to replace the page load time with the current time w/o actually reloading the page? I know this is probably way off, but I was thinking of something like:


<a href="#" onclick="this.countdowntimer.date = getDate(); return false;">I need more time!</a>

Thanks!
Jackie

Javascript Countdown Timer (http://www.javascript****.com/javascript-countdown-timer.html)