[TYPO3] Gmenu_layer with custom pictures for each link

Michael Davidson michael at picturesqueweb.com
Tue Dec 27 20:31:42 CET 2005


I have a site where each link to the top pages is a unique image. I want 
the sub-links to appear when the user hovers over each of these images. 
This submenu won't appear. I'm using the code below. Any ideas on where 
I've gone wrong?  Thanks!

page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php

# Leftside Navigation
subparts.LEFTNAV = HMENU
subparts.LEFTNAV.entryLevel = 0

subparts.LEFTNAV.1 = GMENU_LAYERS
subparts.LEFTNAV.1.NO {
      XY = [5.w],28
      min = 223,0
      transparentColor = #FFFFFF
      5 = IMAGE
      5.file {
      import = uploads/media/
      import.field = media
      import.listNum = 0
   lockPosition = y
   relativeToParentLayer = 1
   relativeToTriggerItem = 1
     relativeToTriggerItem.addWidth = 1
   hideMenuWhenNotOver = 1
   hideMenuTimer = 1
   expAll = 1
      }

# Top Navigation 2nd Level
    subparts.LEFTNAV.2 = TMENU
    subparts.LEFTNAV.2 {
  relativeToParentLayer = 1
       wrap = <table border="1" bordercolor="666666" bgcolor="#CCCCCC"
       cellspacing="0" cellpadding="0" class="leftnav2">
       <tr><td> | </td></tr></table>
       NO.allWrap =  <div align="left" class="leftnav1"> | </div>
       ACT = 1
       ACT.allWrap =  <div align="left" class="leftnav1_act"> | </div>
   }



-- 
Michael Davidson
Picturesque
http://picturesquedesigns.com



More information about the TYPO3-english mailing list