Main menu

Category Archives: javascript

This is a simple but light weight javascript countdown timer,which can be integrated to your zen cart store by uploading the file to the jscript sub folder of your current zen cart template folder.

I name it as jscript_timer.php, so i can put some php configure variable to the zen cart admin backend. if you dont’ want,you can rename it to jscript_timer.js. This countdown timer countdown 4 days and it will start over again.so no bother to admin setting once and once again.(:

This works fine in all major browsers except IE.When the user click the submit button, the message dialog show,but the animated loading image is frozen.This is another know bug in IE browsers.IE didn’t play any hidden animated image after submit event.

To get around this bug,you need to let IE browser to reaload the image in a timeout. That means you need to change the image elements src attribute every moments.