[TYPO3-content-rendering] GTMENU (Graphical Text Menu)
Mathias Schreiber [wmdb>]
mathias.schreiber at wmdb.de
Mon Jul 4 16:42:02 CEST 2005
Stefan Beylen wrote:
>
> 1) a GMENU rendered with an IProcFunc in headerData
> 2) a TMENU rendered with an IProcFunc
>
> and the result is <cite title="JoH">chocolate & cookies</cite> ;)
> means: this is a graphical text menu
> means: disable the styles and there is just plain text
> means: search engines like it more than a graphical menu
> and further it doesnt need Javascript at all...
>
> see: http://test.lingoist.com/gtmenu.html
>
> the only problem that is no problem but just not nice is that the GMENU
> in the header also renders the JS needed for the rollovers of the
> "original" GMENU. This JS code is absolutely unnecessary and should be
> removed, I just dont know how.
>
> If anyone could give me a hint how to remove that it would be IMO a
> perfect solution ;)
>
> p.s.: criticism/improvements very much welcome!
I used before and after for rendering the images.
before.preCObject = IMG_RESOURCE
...
This way you don't even trigger the JS engine and are able to access the
images within your IProc that renders the inline styles.
--
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
$this->fresseHalten = 1;
}
More information about the TYPO3-project-content-rendering
mailing list