[TYPO3] Typo3 and suckerfish dropdown menu
Tyler Kraft
headhunterxiii at yahoo.ca
Fri Jun 23 16:07:46 CEST 2006
No i did read your whole post - I still think you should have done more
searching though. No offence but maybe looking again at the menu section
of tsref would have helped a bit. You for one shouldn't have
ACT.wrapItemAndSub = <li id="sel">|</li> as that will give you an
warning and have you using the id twice. Try it CUR.
Also if the css is right then why post it? Its not the problem and its
not helpful.
But first and and foremost you should have gone back and look at your
own typoscript! lib.menu_1.2 NO.wrapItemAndSub = </li> | </li> Probably
has something to do with it not working.
Below should work the way you want. Maebe you should have read your
whole post! Salt with you foot... ;-)
# Menu 1 cObject
lib.menu_1 = HMENU
lib.menu_1.1 = TMENU
lib.menu_1.1 {
expAll = 1
noBlur=1
wrap = <ul id="nav">|</ul>
NO.ATagTitle.field = title
NO.wrapItemAndSub = <li>|</li>
CUR = 1
CUR.wrapItemAndSub = <li id="sel">|</li>
CUR.ATagTitle.field = title
}
lib.menu_1.2 = TMENU
lib.menu_1.2 {
expAll = 1
NO.ATagTitle.field = title
wrap = <ul id=level1> | </ul>
NO.wrapItemAndSub = <li> | </li>
CUR = 1
CUR.wrapItemAndSub = <li id=sel> | </li>
CUR.ATagTitle.field = title
}
Brian Bendtsen wrote:
> Tyler Kraft wrote:
>> have you done a seacrh on how to implement this? my guess is not, as
>> its very common menu....
>>
>> as said so many times in the past (mainly by christopher) have you
>> gotten the html and css to work correctly?
>>
>> after that once you know the the html and css is correct then try to
>> impliment it via ts! this should be very easy to do as its nothing
>> but unordered lists!
>>
>> also M cohen has very good tutorials on how to do this....
>
> You guessed incorrectly, I have it working as an html and css. Thats why
> I assume the problem is with the TS Setup.
>
> I guess you didnt read my entire post.
>
> If you read it you will see that I have tried to set it up in Typoscript
> but I think the wrapping is wrong since my source code looks like this:
>
> <UL id="nav">
> <li id="sel"><a href="index.php?id=37" title="Velkommen"
> onfocus="blurLink(this);">menu item 1</a></li>
> <li><a href="index.php?id=19" title="Søg bolig"
> onfocus="blurLink(this);">menu item 2</a></li>
> <li><a href="index.php?id=25" title="Åbningstider"
> onfocus="blurLink(this);">menu item 3</a>
> <UL id=level1></LI><a href="index.php?id=65" title="Hverdage"
> onfocus="blurLink(this);">sub menu 1</a></LI>
> </LI><a href="index.php?id=67" title="Helligdage"
> onfocus="blurLink(this);">sub menu 2</a></LI>
> </LI><a href="index.php?id=66" title="Weekend"
> onfocus="blurLink(this);">sub menu 3</a></LI></UL></li>
> <li><a href="index.php?id=40" title="Sælg bolig"
> onfocus="blurLink(this);">menu item 4</a></li>
> <li><a href="index.php?id=26" title="Kontakt os"
> onfocus="blurLink(this);">menu item 5</a></li>
> <li class="last"><a href="index.php?id=59" title="Find os"
> onfocus="blurLink(this);">menu item 6</a></li>
> </UL>
>
> /Brian Bendtsen
More information about the TYPO3-english
mailing list