[TYPO3] problems with gmenu_layers
Christian Hensel
christian.hensel at gmx.net
Mon Apr 30 19:14:16 CEST 2007
Hi Peter,
thanks very much,
i changed it now to:
offset = 3, 20
that seems for me fine, because font size is 16, i should a least something.
I cleared the cache, but still the picture is blank
see: http://www.logotherapie-basel.ch
regards
Christian:
new actuall typoscript:
### Menü oben ###
page.includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
temp.menu >
temp.menu = HMENU
temp.menu.1 = GMENU_LAYERS
temp.menu.1 {
layerStyle=position: absolute; left: 80px; top: 180px; width: 10px;
VISIBILITY: hidden;
expAll = 1
dontFollowMouse = 1
lockPosition = x
relativeToParentLayer = 1
xPosOffset = -10
}
temp.menu.1.NO{
backColor = #FFFFFF
4 = IMAGE
4.file = fileadmin/menu.gif
XY = [10.w]+10, 26
10 = TEXT
10 {
text.field = title
fontSize = 14
fontColor = #000000
10.fontFace = fileadmin/verdana.ttf
niceText = 1
offset = 3, 20
}
}
temp.menu.1.ACT{
backColor = #FFFFFF
4 = IMAGE
4.file = fileadmin/menu.gif
XY = [10.w]+10, 26
10 = TEXT
10 {
text.field = title
fontSize = 14
iterations = 6
fontColor = #000000
10.fontFace = fileadmin/verdana.ttf
niceText = 1
offset = 3, 20
}
}
temp.menu.2 = GMENU_LAYERS
temp.menu.2{
wrap = <b>|<b><br>
lockPosition = y
layerStyle=position: absolute; left: 80px; top: 175px; width: 10px;
VISIBILITY: hidden;
relativeToParentLayer = 1
relativeToParentLayer.addWidth = 1
expAll = 1
xPosOffset = -11
dontFollowMouse = 1
}
temp.menu.2.NO {
backColor = |*| #FFFFFF || #FFFFFF |*|
XY= 120, 20
dontFollowMouse = 1
10= TEXT
10 {
text.field = title
fontSize = 14
fontColor = #0033FF
10.fontFace = fileadmin/verdana.ttf
niceText = 1
offset = 5, 16
}
}
temp.menu.3 = GMENU
temp.menu.3.wrap = <b>|<b><br>
temp.menu.3.NO {
backColor = |*| #E8E8E8 || #E8E8E8 |*|
XY= 120, 20
10= TEXT
10 {
text.field = title
fontSize = 14
fontColor = #0033FF
10.fontFace = fileadmin/verdana.ttf
niceText = 0
offset = 5, 16
}
}
subparts.menu_1 < temp.menu
subparts.menu_2 < temp.menu2
"Peter Klein" <peter at umloud.dk> schrieb im Newsbeitrag
news:mailman.1.1177952624.19478.typo3-english at lists.netfielders.de...
> Hi Christian.
>
> Try changing the "offset = 1, 1" in your "temp.menu.1.NO" object, to
> something more useful. As right now you are placing the text outside the
> visible area of your button ;)
>
> --
> Peter Klein / Umloud Untd.
>
> "Christian Hensel" <christian.hensel at gmx.net> wrote in message
> news:mailman.1.1177874705.15919.typo3-english at lists.netfielders.de...
>> hi list, im having problems with a gmenu_layers setup, that works fine in
>> another typo3 installation on the same server.
>>
>> Problem: No text / font appear in the generated grafics:
>> see: http://www.logotherapie-basel.ch
>>
>> ### Menü oben ###
>> page.includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
>> temp.menu >
>> temp.menu = HMENU
>> temp.menu.1 = GMENU_LAYERS
>> temp.menu.1 {
>> layerStyle=position: absolute; left: 80px; top: 180px; width: 10px;
>> VISIBILITY: hidden;
>> expAll = 1
>> dontFollowMouse = 1
>> lockPosition = x
>> relativeToParentLayer = 1
>> xPosOffset = -29
>> }
>>
>> temp.menu.1.NO{
>> backColor = #FFFFFF
>> 4 = IMAGE
>> 4.file = fileadmin/menu.gif
>> XY = [10.w]+10, 26
>> 10 = TEXT
>> 10 {
>> text.field = title
>> fontSize = 14
>> fontColor = #000000
>> 10.fontFace = fileadmin/verdana.ttf
>> niceText = 1
>> offset = 1, 1
>>
>> }
>> }
>> temp.menu.1.ACT{
>> backColor = #FFFFFF
>> 4 = IMAGE
>> 4.file = fileadmin/menu.gif
>> XY = [10.w]+10, 26
>> 10 = TEXT
>> 10 {
>> text.field = title
>> fontSize = 14
>> iterations = 6
>> fontColor = #000000
>> 10.fontFace = fileadmin/verdana.ttf
>> niceText = 1
>> offset = 5, 16
>>
>> }
>> }
>>
>> temp.menu.2 = GMENU_LAYERS
>> temp.menu.2{
>> wrap = <b>|<b><br>
>> lockPosition = y
>> layerStyle=position: absolute; left: 80px; top: 175px; width: 10px;
>> VISIBILITY: hidden;
>> relativeToParentLayer = 1
>> relativeToParentLayer.addWidth = 1
>> expAll = 1
>> xPosOffset = -11
>> dontFollowMouse = 1
>> }
>>
>> temp.menu.2.NO {
>> backColor = |*| #FFFFFF || #FFFFFF |*|
>> XY= 120, 20
>> dontFollowMouse = 1
>> 10= TEXT
>> 10 {
>> text.field = title
>> fontSize = 14
>> fontColor = #0033FF
>> 10.fontFace = fileadmin/verdana.ttf
>> niceText = 1
>> offset = 5, 16
>> }
>>
>> }
>>
>> temp.menu.3 = GMENU
>> temp.menu.3.wrap = <b>|<b><br>
>> temp.menu.3.NO {
>> backColor = |*| #E8E8E8 || #E8E8E8 |*|
>> XY= 120, 20
>> 10= TEXT
>> 10 {
>> text.field = title
>> fontSize = 14
>> fontColor = #0033FF
>> 10.fontFace = fileadmin/verdana.ttf
>> niceText = 0
>> offset = 5, 16
>> }
>>
>> }
>>
>>
>> any ideas, verdana.ttf exists: -->
>> -rwxrwxrwx 1 web5 web5 171792 2007-04-29 20:43 verdana.ttf
>>
>>
>> any ideas?
>>
>> greetings
>> Christian
>>
>
>
More information about the TYPO3-english
mailing list