[Typo3] ATagParams to use Title of a page for Javascript hiding/showing

mukul at eng.iastate.edu mukul at eng.iastate.edu
Wed May 18 08:24:02 CEST 2005


Hello,

I'd like Typo3 to output the following

<ul id="somemenu">
<li><a href="..." class="..." onClick="doFunc('Page_Title');">...</li>
   <ul id="Page_Title"><li><a href=".." class=".." ....</ul></li>
....
</ul>

The idea is I want my first level menu item to print it's page title, for
it's "A" tag.

Therefor I thought ATagParams would help, but I can't figure out how to
put the title of the page in ATagParams.

SECONDLY,

I also want the <ul id="Page_Title">, since I use wrapItemAndSub I can
figure out the correct way of puttings <ul>'s etc. again I'm puzzled, as
to <ul id="Page_Title"> how to get that?

Anybody familiar with this?

Thanks,
Mukul



More information about the TYPO3-english mailing list