Javascript check for IE

function getInternetExplorerVersion() {     var rv = -1; // Return value assumes failure.     if (navigator.appName == ‘Microsoft Internet Explorer’) {         var ua = navigator.userAgent;         var re = new RegExp(“MSIE ([0-9]{1,}[\.0-9]{0,})”);         if (re.exec(ua) != null)             rv = parseFloat(RegExp.$1);     …

adminJavascript check for IE

Jquery tips and tricks

I recently found a very good article of some useful jquery tips and tricks here it is: http://www.opensourcehunter.com/2010/02/27/26-cool-and-usefull-jquery-tips-tricks-solutions/

adminJquery tips and tricks

Redirect page through javascript

Simple Redirect Page <script type=”text/javascript”> <!– window.location = “http://www.google.com/” //–> </script> Time Delayed Redirect <html> <head> <script type=”text/javascript”> <!– function delayer(){ window.location = “../javascriptredirect.php” } //–> </script> </head> <body onLoad=”setTimeout(‘delayer()’, 5000)”> <h2>Prepare to be redirected!</h2> <p>This page is a time delay redirect, Hang on while we redirect to another page.</p> </body> </html>

adminRedirect page through javascript