TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 06.03.2007, 12:06
Chris Paige
Gast
 
Beiträge: n/a
Standard [TYPO3] GMENU / TMENU combined...

Hi,

I'm trying to figure out how to setup typoscript to create a menu that includes both image and non-GIFBUILDER text.

I want the image to come from media, such as...

import = uploads/media/
import.field = media
import.listNum = 0

I want text to be scalable text (font-size with ems).

AND I want to be able to adjust the background color behind all of this on hover.

I can see how to do GMENU version with RO/rollover, but text in GIFBUILDER is not scalable and I can't figure out how to append plain text within a GMENU.

I can also see how to do use beforeImg in a TMENU, but the A tag for the beforeImg is seperate from the A tag for the text. This means that the background changes on the image area OR behind the text. But it does not hover as if one connected object. (See: http://redesign.tabunited.org/navigation/home/)

1 - Is there a way to add scalable (ems) menu text to a GMENU?
2 - Is there a way to enclose the beforeImg and TMENU text in the *same* A tag to enable a unified hover?

Thanks for your pointers...

Chris
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Sponsored Links
  #2  
Alt 06.03.2007, 14:07
Peter Klein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] GMENU / TMENU combined...

Hi Chris.

1) No.
2) No. But instead of using the "beforeImg" property, you can add it
directly to the *hidden* stdWrap property of the TMENU, like this:

10 = HMENU
10.1 = TMENU
10.1 {
NO {
stdWrap.cObject = COA
stdWrap.cObject {
10.import = uploads/media/
10.import.field = media
10.import.listNum = 0
20 = TEXT
20.field = title
}
}
}

--
Peter Klein/Umloud Untd

"Chris Paige" <system (AT) chrispaige (DOT) info> skrev i en meddelelse
news:mailman.57435.1173179099.21067.typo3-english (AT) lists (DOT) netfielders.de...
Hi,

I'm trying to figure out how to setup typoscript to create a menu that
includes both image and non-GIFBUILDER text.

I want the image to come from media, such as...

import = uploads/media/
import.field = media
import.listNum = 0

I want text to be scalable text (font-size with ems).

AND I want to be able to adjust the background color behind all of this on
hover.

I can see how to do GMENU version with RO/rollover, but text in GIFBUILDER
is not scalable and I can't figure out how to append plain text within a
GMENU.

I can also see how to do use beforeImg in a TMENU, but the A tag for the
beforeImg is seperate from the A tag for the text. This means that the
background changes on the image area OR behind the text. But it does not
hover as if one connected object. (See:
http://redesign.tabunited.org/navigation/home/)

1 - Is there a way to add scalable (ems) menu text to a GMENU?
2 - Is there a way to enclose the beforeImg and TMENU text in the *same* A
tag to enable a unified hover?

Thanks for your pointers...

Chris


_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 06.03.2007, 20:20
Chris Paige
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] GMENU / TMENU combined...

So many wraps, so little time... with a few semantic adjustments, CSS
styling, and further testing, that did the trick! Thanks Peter!

For future reference, my final typoscript goes something like this...

temp.menuMix = HMENU
temp.menuMix.1 = TMENU
temp.menuMix.1 {
NO.allWrap = <div class="menuMix"> | </div>
NO {
stdWrap.cObject = COA
stdWrap.cObject {
10 = IMAGE
10.file.import = uploads/media/
10.file.import.field = media
10.file.import.listNum = 0
20 = TEXT
20.field = title
}
}
}

My CSS includes something like this...

..menuMix img {
display:block;
margin:auto;
}

..menuMix a:hover {
font-weight:bold;
background-color:white;
}

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3-german] Nochmal TMENU :( Sebastian Lorenz typo3-german@lists.netfielders.de 3 15.02.2007 16:03
[TYPO3] TMENU Bas van der Togt typo3-english@lists.netfielders.de 8 24.01.2007 21:03
[TYPO3] insert tmenu into other tmenu Patrick Pirrotte typo3-english@lists.netfielders.de 2 21.12.2006 10:50
[TYPO3] tmenu on submenu items dave typo typo3-english@lists.netfielders.de 9 18.12.2006 14:42
[TYPO3] TMENU and beforeROImg: does not roll over Claus Faber typo3-english@lists.netfielders.de 1 02.12.2006 15:55


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:56 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103