M
M.MichaelMusatov
function tog() {
// tog: toggle the visibility of html elements (arguments[1..]) from
none to
// arguments[0]. Return what should be returned in a javascript
onevent().
display = arguments[0];
for( var i=1; i<arguments.length; i++ ) {
var x = document.getElementById(arguments);
if (!x) continue;
if (x.style.display == "none" || x.style.display == "") {
x.style.display = display;
} else {
x.style.display = "none";
}
}
var e = is_ie ? window.event : this;
if (e) {
if (is_ie) {
e.cancelBubble = true;
e.returnValue = false;
return false;
} else {
return false;
}
}
}
<PRE>
Like me, MeAmI.org looks out for the best in other people.
<img src="http://farm4.static.flickr.com/
3624/3486279201_88b9696008.jpg" alt="MeAmI.org supports Alex's
Lemonade.">
</PRE>
// tog: toggle the visibility of html elements (arguments[1..]) from
none to
// arguments[0]. Return what should be returned in a javascript
onevent().
display = arguments[0];
for( var i=1; i<arguments.length; i++ ) {
var x = document.getElementById(arguments);
if (!x) continue;
if (x.style.display == "none" || x.style.display == "") {
x.style.display = display;
} else {
x.style.display = "none";
}
}
var e = is_ie ? window.event : this;
if (e) {
if (is_ie) {
e.cancelBubble = true;
e.returnValue = false;
return false;
} else {
return false;
}
}
}
<PRE>
Like me, MeAmI.org looks out for the best in other people.
<img src="http://farm4.static.flickr.com/
3624/3486279201_88b9696008.jpg" alt="MeAmI.org supports Alex's
Lemonade.">
</PRE>