[TYPO3-english] accessible gmenu.. typoscript question

piet roorda pietroorda at gmail.com
Sun Oct 19 00:41:23 CEST 2008


super,
thanx for the superfast respons;

do you have an idea what the serverside implications are?

On Sun, Oct 19, 2008 at 12:31 AM, Aji Yahya <aji.yahya at gmail.com> wrote:
> piet roorda schrieb:
>> supposedly the script should be on snipplr.com but the site is either
>> down or slow,
>> hopefully it isn't running typo3  ; )
>>
>> still I want to look at the typoscript part of the gtmenu
>>
>> anyone has it, and willing to share??
>> regards
>> piet
> Hi,
>
> hier the script from the site:
> #######################################
> ### TypoScript ###
>
> lib.gtmenu = HMENU
> lib.gtmenu {
>   1 = TMENU
>   1 {
>     wrap = <ul id="navi">|</ul>
>     NO.doNotLinkIt = 1
>     NO.wrapItemAndSub = <li>|</li>
>     NO.stdWrap.cObject = COA
>     NO.stdWrap.cObject {
>       10 = TEXT
>       10 {
>         field = title
>           typolink {
>           parameter.field = uid
>
>           ATagParams.cObject = COA
>           ATagParams.cObject {
>
>             10 = IMG_RESOURCE
>             10.file = GIFBUILDER
>             10.file {
>               XY = [10.w]+[20.w]+10,70
>               transparentColor = #ffffff
>               10 = TEXT
>               10 {
>                 text.field = subtitle//title
>                 fontSize = 14
>                 fontFile=fileadmin/fonts/DINPro-Bold.otf
>                 offset = 5,20
>                 fontColor = #787879
>                 }
>
>               20 = BOX
>               20.dimensions = 0,30,[10.w]+[20.w]+10,30
>               20.color = #e53827
>
>               30 = TEXT
>               30 < .10
>               30 {
>                 offset = 5,50
>                 fontColor = #ffffff
>                 }
>               }
>               10.stdWrap.dataWrap =
> style="width:{TSFE:lastImgResourceInfo|0}px; background-image: url('/|');"
>             }
>           }
>         }
>       }
>     }
>   }
>
>
>
> ### CSS ###
>
> ul#navi {list-style: none;}
> ul#navi li {float: left;}
> ul#navi li a {background-repeat:no-repeat; display:block;
> overflow:hidden;text-indent: 999em; white-space:nowrap; height:30px;}
> ul#navi li a:hover, ul#navi li.current a,ul#navi li.over a
> {background-position:0px -30px;}
> ###########################################
>
>
>
> --
> Regards
>
> Aji Yahya
>
> ----------------------------------------------
> "Do not let any unwholesome talk come out of your mouths, but only what
> is helpful for building others up according to their needs, that it may
> benefit those who listen."- Ephesians 4:29
>
>
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list