Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- How do I stop a certain javascript working on the Mac?


korkus2000 - 6:22 pm on Dec 10, 2002 (gmt 0)


if (navigator.appVersion.indexOf('Mac')!= -1){
alert("Wow, you use a Mac!");
}else{

function toggleVisibility(id, NNtype, IEtype, WC3type) {
if (document.getElementById) {
eval("document.getElementById(id).style.visibility = \"" + WC3type + "\"");
} else {
if (document.layers) {
document.layers[id].visibility = NNtype;
} else {
if (document.all) {
eval("document.all." + id + ".style.visibility = \"" + IEtype + "\"");
}}}}}


Thread source:: http://www.webmasterworld.com/javascript/242.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com