Zum Inhalt springen

datawrap im GMENU_LAYERS

Erstellt am 12. Dezember 2006 · Noch keine Antworten

Tags: Frage

ray_mue ·

Hallo,

Ich möchte per mouseover im Menu, in einem menuexternen Divcontainer, den Inhalt wechseln.
Dadzu habe ich mir überlegt im Menu mit einem datawrap den subtitel zu verwenden um die gleichlautende id des externen containers anzusprechen.

So funktioniert es aber nicht. Könnt ihr mir bitte helfen, wie man in einem GMENU_LAYERS einen datawrap erstellt.

HAUPTNAVIGATION = HMENU
HAUPTNAVIGATION {
  1 = GMENU_LAYERS
  1 {
    layerStyle = position:absolute; VISIBILITY:hidden; border: 0px solid #aaaaaa; width: 163;
    expAll = 1
    topOffset = 28
    relativeToTriggerItem = 1 
    displayActiveOnload = 0
    hideMenuWhenNotOver = 1
    hideMenuTimer = 1000
    NO {
      before.dataWrap = <div onmouseover="document.getElementById('{field:subtitle}').style.visibility = 'visible'" onmouseout="document.getElementById('{field:subtitle}').style.visibility = 'hidden'">|</div>
      XY = 163,29
      10 = TEXT
      10.text.field = title
      10.fontFile = uploads/tf/Kabeln.ttf 
      10.fontSize = 10
      10.offset = 10,12
      10.fontColor = #b2b2b2
      10.align = left
    } 
    ACT < .NO
    ACT = 1
    ACT {
      10.fontColor = #000000
    }
    RO < .NO
    RO = 1
    RO {
      10.fontColor = #000000
    }
  }
  2 = GMENU
  2 {
    NO {
      before.dataWrap = <div onmouseover="document.getElementById('{field:subtitle}').style.visibility = 'visible'" onmouseout="document.getElementById('{field:subtitle}').style.visibility = 'hidden'">|</div>
      backColor = #ffffff
      XY = 163,29
      5 = IMAGE
      5.file = uploads/tf/menupunkt_bg.gif
      5.offset = 0,0        
      10 = TEXT
      10.text.field = title
      10.fontFile = uploads/tf/Kabeln.ttf
      10.fontSize = 10
      10.offset = 25,12
      10.fontColor = #b2b2b2
    }
    ACT < .NO
    ACT = 1
    ACT {
      10.fontColor = #000000
    }
    RO < .NO
    RO = 1
    RO {
      10.fontColor = #000000
    }
  }
}