Hi,
ich habe in meiner Website auf der linken Seitenhälfte ein einfaches zweistufiges Menü, das zugeklappt sein soll und beim anklicken eines Menüpunktes, soll das Untermenü aufgehen. Klicke ich einen anderen Menüpunkt an, soll das vorherige aufgeklappte Untermenü wieder zugehen und das aktuelle auf.
Hab alles versucht, heir mein Script:
temp.linksnavi= COA
temp.linksnavi.10 = HMENU
temp.linksnavi.10.special = directory
temp.linksnavi.10.special.value = 4
#temp.linksnavi.10.entryLevel= 1
temp.linksnavi.10.1 = TMENU
temp.linksnavi.10.1{
expAll=0
collapse=1
target=_self
NO.allWrap = <table cellpadding="0" cellspacing="0" border="1"><tr><td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td><td width="200" class="backgroundLinks" >|<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td></tr></table>
}
temp.linksnavi.10.2=TMENU
temp.linksnavi.10.2{
target=_self
NO{
allWrap=<table cellpadding="0" cellspacing="0" border="1"><tr><td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="15" height="1"></td><td width="200" class="backgroundLinks" >|<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td></tr></table>
}
Wenn mir jemand helfen kann, bin ich seeeeehr glücklich
bis dann
Hi,
versuch mal so:
temp.linksnavi = COA
temp.linksnavi.10 = HMENU
temp.linksnavi.10.special = directory
temp.linksnavi.10.special.value = 4
temp.linksnavi.10.entryLevel = 0
temp.linksnavi.10.1 = TMENU
temp.linksnavi.10.1 {
expAll = 0
NO.allWrap (
<table cellpadding="0" cellspacing="0" border="1">
<tr>
<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td>
<td width="200" class="backgroundLinks">|<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td>
</tr>
</table>
)
# Enable active state and set properties:
ACT = 1
ACT.allWrap (
<table cellpadding="0" cellspacing="0" border="1">
<tr>
<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td>
<td width="200" class="backgroundLinks">|<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td>
</tr>
</table>
)
}
temp.linksnavi.10.2 = TMENU
temp.linksnavi.10.2 {
expAll = 0
NO.allWrap (
<table cellpadding="0" cellspacing="0" border="1">
<tr>
<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="15" height="1"></td>
<td width="200" class="backgroundLinks" >|<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td>
</tr>
</table>
)
# Enable active state and set properties:
ACT = 1
ACT.allWrap (
<table cellpadding="0" cellspacing="0" border="1">
<tr>
<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="15" height="1"></td>
<td width="200" class="backgroundLinks" >|<td class="backgroundLinks"><img src="fileadmin/templates/images/spacer.gif" width="5" height="1"></td>
</tr>
</table>
)
}
Gruss
jimmy
vielen vielen dank, hat geklappt!