|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 |
| Sponsored Links |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] Nochmal TMENU :( | Sebastian Lorenz | typo3-german@lists.netfielders.de | 3 | 15.02.2007 15:03 |
| [TYPO3] TMENU | Bas van der Togt | typo3-english@lists.netfielders.de | 8 | 24.01.2007 20:03 |
| [TYPO3] insert tmenu into other tmenu | Patrick Pirrotte | typo3-english@lists.netfielders.de | 2 | 21.12.2006 09:50 |
| [TYPO3] tmenu on submenu items | dave typo | typo3-english@lists.netfielders.de | 9 | 18.12.2006 13:42 |
| [TYPO3] TMENU and beforeROImg: does not roll over | Claus Faber | typo3-english@lists.netfielders.de | 1 | 02.12.2006 14:55 |