hi all,
i do the following JS code:
as you see, when i click on some link - the div layer is showing, when i click back - it is hiding.
Firefox is showing nothing. When I click on the link it shows for a milli-second, then disappears.
What can You suggest, please?
i do the following JS code:
Code:
<script language="javascript">
function hideLevel(id) {
var thisLevel = document.getElementById(id);
thisLevel.style.display = "none";
}
function showLevel(id) {
var thisLevel = document.getElementById(id);
if ( thisLevel.style.display == "none") {
thisLevel.style.display = "block";
}
else {
hideLevel(id);
}
}
function hideAll() {
hideLevel("layer1");
hideLevel("layer2");
hideLevel("layer3");
}
</script>
Firefox is showing nothing. When I click on the link it shows for a milli-second, then disappears.
What can You suggest, please?
Comment