[TYPO3-english] GMENU transparency issue

Douglas La Farge doug at gcnpublishing.com
Sun Feb 6 17:05:47 CET 2011


We recently did a 4.2 to 4.4 upgrade to a site so I think that the following issue is related to that.

The images created for the menu navigation no longer render transparent.

This site as cached images and shows what the menu images should look like:

http://www.skinandallergynews.com/

This site has images that were just rendered.

http://skin-test.gcnpublishing.com/


we made no modifications to the GMENU typoscripting set up.  

Is there something that changed with the upgrade with respect to the gmenu  and tmenu libraries and their set up. 
I've included our typoscripting below:

CONSTANTS:
# colors for the dropdown menus
menu_color = 3399CC
color = 8C8D91
roll_color = B84F44


SETUP:
includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
includeLibs.tmenu_layers = media/scripts/tmenu_layers.php

temp.nav = HMENU
#temp.nav.entryLevel = 0

temp.nav.special = list
temp.nav.includeNotInMenu=0
temp.nav.special.value = {$menu_ids}

temp.nav.1 = GMENU_LAYERS
temp.nav.1 {
layer_menu_id = topnav1
      imgNameNotRandom = 1
      imgNamePrefix = nav1 
#added width: here for compatibilty. If width: is removed, menus display properly  for Firefox
#but don't work right with IE.
   layerStyle = position:absolute; left:0px; width:180x; display:block; VISIBILITY:hidden;
   expAll = 1
   lockPosition = x
   topOffset = {$topOffset}
   hideMenuWhenNotOver = 1
   hideMenuTimer = 3
   distributeX = 944 #subtracted 8 px for border; also change in _layout.css: #menu width
   relativeToTriggerItem = 1

   NO {
      XY = [10.w] -1, 24
      transparentColor = #{$menu_color}
      10.transparentBackgound = 1
      #####10.niceText = 1
      backColor = #{$menu_color}
      #make background transparent so bkgnd img on td shows
      transparentColor = #{$menu_color}
      10 = TEXT
      10.text.field = title
      #10.text.case = upper
      10.offset = 0,16
      10.align = center
      10.fontColor = #ffffff
      10.fontSize = 12
      10.fontFile = fileadmin/fonts/VERDANAB.TTF
      allWrap = <td style="background-image: url(fileadmin/images/{$directory}/blend_bg.jpg); border-right: 1px solid #ffffff">|</td> |*| <td style="background-image: url(fileadmin/images/{$directory}/blend_bg.jpg); border-right: 1px solid #ffffff">|</td> |*| <td style="background-image: url(fileadmin/images/{$directory}/blend_bg.jpg)">|</td>
   }
   RO < .NO
   RO = 0
   RO {
      backColor = #ffffff
      10 = TEXT
      10.fontColor = #ffffff
   }
   ACT < .RO
   ACT = 0
}

[browser = msie]
temp.nav.1.topOffset = {$topOffsetIE}
[end]

temp.nav.2 = TMENU
temp.nav.2 {
   wrap = <table width="170" style="border: 1px solid #ffffff;" cellpadding="4" cellspacing="0">|</table>
   expAll = 1
   hideMenuWhenNotOver = 10
   hideMenuTimer = 10
   NO {
      linkWrap = <tr><td id="secmenu{elementUid}" class="secondtiernav" align="left" style="border-bottom: 1px solid #ffffff; background-color: #{$color};">|</td></tr> |*| <tr><td id="secmenu{elementUid}" class="secondtiernav" align="left" style="border-bottom: 1px solid #ffffff; background-color: #{$color};">|</td></tr> |*| <tr><td id="secmenu{elementUid}" class="secondtiernav" align="left" style="background-color: #{$color};">|</td></tr>
      subst_elementUid = 1
      RO_chBgColor = #{$roll_color} | #{$color} | secmenu
      
      RO = 1
   }
}


any ideas what might be going on on where I might look to resolve this issue?

thank you in advance,

doug


More information about the TYPO3-english mailing list