Zum Inhalt springen

TMENU -> Ganze Zeile anklickbar ?

Erstellt am 8. September 2003 · Noch keine Antworten

Tags: Frage

T.​uX ·

Huhu

ich habe ein TMENU und ein grosses Problem...
Das Menu wird in einer Tabelle ausgegeben. Ich will jetzt aber das NICHT nur der Text sondern die KOMPLETTE Zeile anklickbar ist.

Habe es nicht hinbekommen, und dann habe ich es auf eine sehr blöde art gelöst. ich habe einfach bei allen Titles & nbsp; drangehangen. Funzt zwarist abersuper umständlich und die Sitemap ist nicht mehr korekt ;-(

Dann habe ich mir gedacht ich lasse im TMENU die subtitles anzeigen, aber das bekomme ich nicht hin.

Kann mir das vielleicht einer sagen oder kennt einer eine andere lösung wie ich die komplette zeile anklickbar mache ??!!!

Hier ist der Code des Menus:

temp.menu = COA
temp.menu {
  10 = HMENU
  10.entryLevel = 2

  10.1 = TMENU
  10.1.wrap = <table border="0" width="149" cellspacing="3">|</table>
  10.1.NO.allWrap = <tr><td bgcolor="#FFCC00" colspan="2" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'">|</td></tr> 

#
  10.1.IFSUB < .1.NO
  10.1.IFSUB = 1
  10.1.IFSUB.allWrap = <tr><td bgcolor="#FFCC00" colspan="2" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'"> |&nbsp;+</td></tr>
  
  10.1.IFSUB.ATagParams = class="level3-no"

  10.1.ACTIFSUB < .1.NO
  10.1.ACTIFSUB = 1
  10.1.ACTIFSUB.allWrap = <tr><td bgcolor="#FFCC00" colspan="2" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'"> |&nbsp;+</td></tr>
  10.1.ACTIFSUB.ATagParams = class="level3-no"

#
  
  10.1.ACT = 1
  10.1.ACT < .10.1.NO
  10.1.ACT.allWrap = <tr><td colspan="2" {$flipStyle} bgcolor="{$bgcolor}">|</td></tr>

  10.2 = TMENU
  10.2.NO.allWrap = |*||*|<tr><td valign="top" width="1%">{$node}</td><td width="99%" bgcolor="#FFCC00" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'">|</td></tr>||<tr><td valign="top" width="1%">{$node2}</td><td width="99%" bgcolor="#FFCC00" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'">|</td></tr>
  10.2.NO.ATagParams = class="level4-no"

#
  10.2.IFSUB < .2.NO
  10.2.IFUSB = 1
  10.2.IFSUB.allWrap = |*||*|<tr><td valign="top" width="1%">{$node}</td><td width="99%" bgcolor="#FFCC00" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'">|</td></tr>||<tr><td valign="top" width="1%">{$node2}</td><td width="99%" bgcolor="#FFCC00" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'">|&nbsp;+</td></tr>
  10.2.IFSUB.ATagParams = class="level4-no"

  10.2.ACTIFSUB < .2.NO
  10.2.ACTIFUSB = 1
  10.2.ACTIFSUB.allWrap = |*||*|<tr><td valign="top" width="1%">{$node}</td><td width="99%" bgcolor="#FFCC00" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'">|</td></tr>||<tr><td valign="top" width="1%">{$node2}</td><td width="99%" bgcolor="#FFCC00" {$buttonStyle} onMouseOver="this.bgColor='{$bgcolor}'" onMouseOut="this.bgColor='#FFCC00'">|&nbsp;+</td></tr>
  10.2.ACTIFSUB.ATagParams = class="level4-no"
#
#

  10.2.ACT = 1
  10.2.ACT < .10.2.NO
  10.2.ACT.allWrap = |*||*|<tr><td valign="top" width="1%">{$node}</td><td width="99%" {$flipStyle} bgColor="{$bgcolor}">|</td></tr>||<tr><td valign="top" width="1%">{$node2}</td><td width="99%" {$flipStyle} bgColor="{$bgcolor}">|</td></tr>
}[quote][/quote]