Ausklappmenu klappt aus--aber nicht mehr ein
Verfasst: 20.07.2005, 18:50
moin moin,
könnte mir mal jemand helfen mein ausklappmenu auch wieder zum einklappen zu bewegen?
der part aus der css ist
gruss axel
könnte mir mal jemand helfen mein ausklappmenu auch wieder zum einklappen zu bewegen?
der part aus der css ist
und das beötigte JS istdl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menu { position: absolute; z-index: 100; top: 20px; left: 20px; width: 100% }
#menu dl { margin: 0 1px; width: 7.7em; float: left }
#menu dt { font-weight: normal; background: #dfd4af; text-align: center !important; cursor: pointer !important; border: solid 1px gray }
#menu dd { border: solid 1px gray }
#menu li { background: #e7e1cd; text-align: center }
#menu li a, #menu dt a { color: #000; font-size: 11px; text-decoration: none; display: block; height: 100%; border: 0 }
#menu li a:hover, #menu dt a:hover { color: AppWorkspace; background-color: #734811; background-image: none; background-repeat: repeat; background-position: 0 0 }
vielen dank schonmal<script type="text/javascript">
<!--
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
for (var i = 1; i<=10; i++) {
if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
}
if (d) {d.style.display='block';}
}
//-->
</script>
gruss axel