|
www.insideDHTML.com
Inside Dynamic HTML | Fun and Games | The 10K Demo | XML Online | CSS Online | Resources Write Once! | DHTML Toolkits | Inside Techniques | Inside Scriptlets |
|
isie4() Function The isie4() function that detects if the user is running IE4 and navigates them to a specified URL.
isie4() Function
function isie4(x) {
isat = navigator.userAgent.indexOf("MSIE ") + 5;
if(navigator.userAgent.substring(isat, (isat + 1)) == "4") {
document.location = x;
}
Copyright © 1997-98 InsideDHTML.com, LLC. |