[TYPO3-english] Dropdown menu

Cecilie Andersen cecilie007007 at gmail.com
Tue Dec 7 08:26:36 CET 2010


Hi,

I found the reason why I could not get this working. In tempavoila I had 
checked my mapping etc  several times, but I have forgot  to mark the java 
in the header section in templavoila :)

Thanks

Cecilie

"Tobias Dörner" <hermes1 at web.de> skrev i meddelelsen 
news:mailman.3731.1291633836.648.typo3-english at lists.typo3.org...
> Hi Cecilie,
> quite easy. Make a html Template and map <div id="menu">menu</div> for
> example in TemplaVoila as a TSOP.
> Then put in TS:
>
> lib.myMenu = HMENU
> lib.myMenu {
>  special = directory # kind of Menu
>  special.value = 1  # Site Id
>  entryLevel = 1 # Site level
>  1 = TMENU
>  1 {
>      wrap = <ul class="menu">|</ul>
>      NO.wrapItemAndSub = <li>|</li>
>  }
> }
>
> Thats it rudimentarily.
> For Mapping whole html template and implementation in TS please read the
> documentation for TV.
>
> Rgeards
> Tobi
>
> -----Ursprüngliche Nachricht-----
> Von: typo3-english-bounces at lists.typo3.org
> [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von Cecilie
> Andersen
> Gesendet: Sonntag, 5. Dezember 2010 10:57
> An: typo3-english at lists.typo3.org
> Betreff: Re: [TYPO3-english] Dropdown menu
>
> Actually I can see I did not do any mistake. If I test the site on firefox
> it works.
> In explorer 8, there is a java script error, so I can only see this menu,
> and no drop down box are showed.
>
>
>
>
> 2010/12/5 Cecilie Andersen <cecilie007007 at gmail.com>
>
>> Hi,
>>
>> I think the problem is that I somehow insert it wrong into my html
>> template. My template is simple and looks just like this
>>
>> <div id="wrapper">
>> <div id="menu">menu</div>
>>
>> <div id="content">content</div>
>> </div>
>>
>> The code that have to be inserted into my html is this I suppose
>> <ul class="menu">
>>  <li ><a href="#">Ebene1 Punkt1</a></li>
>>  <li onmouseover="show(this)" onmouseout="hide(this)" >
>>   <a href="#">Ebene1 Punkt2</a>
>>   <ul class="submenu" onmouseover="show(this)" onmouseout="hide(this)" >
>>     <li><a href="#">Ebene2 Punkt1</a></li>
>>     <li><a href="#">Ebene2 Punkt2</a></li>
>>     <li class="active"><a href="#">Ebene2 Punkt3</a></li>
>>   </ul>
>>  </li>
>>  <li><a href="#">Ebene1 Punkt3</a></li>
>>  <li><a href="#">Ebene1 Punkt4</a></li>
>> </ul>
>>
>> Maybe a stupid question but how do I insert this code into my html, so it
>> works. As java and typoscript should be just easy to add
>>
>> Regards
>> Cecilie
>>
>> "Tobias Dörner" <hermes1 at web.de> skrev i meddelelsen
>> news:mailman.3669.1291498434.648.typo3-english at lists.typo3.org...
>>
>> Already tried this?
>>> http://www.mortox.de/typo3-tipps/typoscript-sammlung/dropdown-menue.html
>>> or
>>>
>>>
> http://www.mortox.de/typo3-tipps/typoscript-sammlung/dropdown-menue-mit-3-eb
>>> enen.html
>>>
>>> :) Regards
>>> Tobi
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: typo3-english-bounces at lists.typo3.org
>>> [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von Cecilie
>>> Andersen
>>> Gesendet: Samstag, 4. Dezember 2010 20:09
>>> An: typo3-english at lists.typo3.org
>>> Betreff: [TYPO3-english] Dropdown menu
>>>
>>> Hi,
>>>
>>> I have always used tmenu layers menus, but I would like some java etc
>>>
>>> I have seached on the web and suckerfish is mentioned, and I have also
>>> found
>>>
>>> some snippets. But somehow it doesn´t work as the menu´s is not showed
>>> correctly.
>>>
>>> I just look for a simpe drop down menu., so nothing advanced here at the
>>> start. Does anyone know a "idiot secure" tutorial - or maybe just post
> the
>>> typoscript, css and java code for such a menu here, so I will try it on
> my
>>> site. I am using templavoila, but I suppose the menu code should also
> work
>>> under that
>>>
>>> Hope someone are able to help me a bit
>>>
>>> Regards
>>> Cecilie
>>>
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>
>>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 


More information about the TYPO3-english mailing list