[TYPO3] How do I get the page id in TMENU?
Mike
php at talkingspider.com
Sun Aug 27 19:49:46 CEST 2006
OK thanks but how do I stick that into the onmousover attribute off
the "a" element as in my example:
(see the question marks (????) below,
> I want them to be the page id of that page:)
>
> ...
> temp.redmenu.2 = TMENU
> temp.redmenu.2 {
>
> NO.allWrap = <li class="sub_menu_li"> | </li>
>
> NO.ATagParams = class = "rednavsublink"
> onmouseover="callfunction(??????)"
>
> }
At 07:45 PM 8/26/2006, you wrote:
>Mike schrieb:
> >
> > I have a HMENU/TMENU thing set up. I want each hyperlink in the menu to
> > call a javascript function and pass it's page id number. How do I get
> > the page id number in my TMENU? (see the question marks (????) below,
> > I want them to be the page id of that page:)
> >
> > ...
> > temp.redmenu.2 = TMENU
> > temp.redmenu.2 {
> >
> > NO.allWrap = <li class="sub_menu_li"> | </li>
> >
> > NO.ATagParams = class = "rednavsublink"
> > onmouseover="callfunction(??????)"
> >
> > }
> >
>Hello Mike,
>try this :
>
>NO.before.cObject = TEXT
>NO.before.cObject.field = uid
>
>
>or
>
> temp.redmenu.2.cObject = TEXT
> temp.redmenu.2.cObject.field = uid
>
>or this:
>
>temp.redmenu.2.field = uid
>
>i hope this help
>
>Johannes
>_______________________________________________
>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