Posted on August 3, 2008 by ubk
With JavaScript, it is possible to execute some code after a specified time interval.
This is called timing events.
So it is like: if you want to execute a code 2 minutes later from the page load , you can do that with a simple trick and here the trick is given to us by “God of [...]
Filed under: Basic Scripts, Scripts, javascript | Tagged: clearTimeout, events, function call back, javascript, script timer, settimeout, timers, timing events | Leave a Comment »
Posted on October 26, 2007 by ubk
Browser detection allows you to find out what browser your viewer is using, and then perform a script based on it– or just to send a friendly message to those with your favorite browser.
You might come around a situation when you need to include different Javascript files for different browsers, or call different function. This [...]
Filed under: Scripts, javascript | Tagged: appname, appversion, browser detection, javascript, location.href, navigator, redirection, settimeout, window.location | 1 Comment »