Hey leute ich glaube fast, dass ich auf dem richtigen Weg bin. Doch ich glaube auch, dass es noch ein weiter Weg ist. Jedenfalls habe ichs mal so versucht:
Mittels Tabelle in welche ich die Menus lege. Das Klappt nicht schlecht. Doch leider habe ich mit dem scipt noch einen gravierenden "Schönheitsfehler"
-> Die Menues lassen sich nicht schön ausklappen
seite.10.marks {
MENU_HOTEL = HMENU
MENU_HOTEL.special = directory
MENU_HOTEL.special.value = 37
MENU_HOTEL.entryLevel = 4
MENU_HOTEL.1 = GMENU
MENU_HOTEL.1 {
wrap = <table border="0" cellspacing="3" cellpadding="0" width="200"> | </table>
NO.allWrap = |*|<tr><td CLASS="" width="100"> | </td>||<td CLASS="" width="250"> | </td> </tr>|*|
ACT = 1
ACT.allWrap = |*|<tr><td CLASS="" width="100"> | </td>||<td CLASS="" width="250"> | </td></tr>|*|
}
MENU_HOTEL.1.NO = 1
MENU_HOTEL.1.NO {
wrap = |<br>
XY = 90, 20
backColor = #FFFFFF
10 = TEXT
10.text.field = title
10.fontColor = #5D93AE
10.fontFile = fileadmin/fonts/menu.ttf
10.fontSize = 12
10.niceText = 1
10.offset = 7, 15
20 = IMAGE
}
MENU_HOTEL.1.RO < .MENU_HOTEL.1.NO
MENU_HOTEL.1.RO {
tmp < .backColor
backColor = #DDDDDD
5 < .10
5.fontColor < .tmp
5.offset = 9, 19
}
MENU_HOTEL.1.CUR < .MENU_HOTEL.1.RO
MENU_HOTEL.2 < .MENU_HOTEL.1
MENU_HOTEL.2 {
NO.backColor = #E2F5E5
NO.10.fontColor = #CCCCCC
NO.20.file.backColor = #478951
RO < .NO
RO.backColor = #FFFFFF
RO.5 >
CUR < .RO
}
}
Es sieht dann so aus:
http://greenbanana.deluxetargets.ch/index.php?id=37
Unter "Zürich" hätte es noch mehrere Untermenues
Gruss GreenBanana