lukezweb
11-20-2003, 10:04 AM
Does anyone have or could quickly make a small code that does this:
Detects if browser is IE {
AREA WHERE I CAN ADD A SCRIPT
} ELSE IF (
If browser is netscape
AREA WHERE I CAN ADD A SCRIPT
} ELSE IF {
If Browser Is Mozilla
AREA I CAN ADD A CODE
} ELSE {
document.write("Your Browser Is Not Either Netscape, IE or Mozilla, these are the main browsers that Web coders code for please buy one or download a free version soon. The coding here will not work for you!")
}
Thanks
Detects if browser is IE {
AREA WHERE I CAN ADD A SCRIPT
} ELSE IF (
If browser is netscape
AREA WHERE I CAN ADD A SCRIPT
} ELSE IF {
If Browser Is Mozilla
AREA I CAN ADD A CODE
} ELSE {
document.write("Your Browser Is Not Either Netscape, IE or Mozilla, these are the main browsers that Web coders code for please buy one or download a free version soon. The coding here will not work for you!")
}
Thanks