function show(ln,option) {
var layer = document.getElementById(ln);
layer.style.visibility = option;
}
simple stuff that just changes the layer visibility on or off as in
show("layer1","visibile")
and this makes layer1 visible
and then hidden when its hidden
It works in ie and only in mozilla and opera when I change it to be like this
function show(ln,option) {
var layer = document.getElementById("layer1");
layer.style.visibility = option;
}
which is strange and stupid because then the point of this is gone
var layer = document.getElementById(ln);
layer.style.visibility = option;
}
simple stuff that just changes the layer visibility on or off as in
show("layer1","visibile")
and this makes layer1 visible
and then hidden when its hidden
It works in ie and only in mozilla and opera when I change it to be like this
function show(ln,option) {
var layer = document.getElementById("layer1");
layer.style.visibility = option;
}
which is strange and stupid because then the point of this is gone