[TYPO3-german] Effekte fehlen bei horizontalen Navigation

Kristijan krizzaffm at hotmail.de
Wed Mar 27 20:12:55 CET 2013


Hallo,

Ich habe ein Problem mit meiner horizontalen Navigation.

Und zwar soll zwischen den Menüs ein " | " angezeigt werden.

Das hier ist mein bisheriger Code:

lib.navigation = HMENU
lib.navigation {
  wrap = <ul>|</ul>
  
  1 = TMENU
  1 {
    NO = 1
    NO {
      allWrap = <li>|</li>
    }
}

Und er soll den jQuery Effekt anzeigen, was er bisher auch nicht tut obwohl ich diesen Code eingefügt habe im TS Template:

seite.includeJS.file1 = fileadmin/templates/js/jquery-1.9.1.js
seite.includeJS.file2 = fileadmin/templates/js/animate-shadow.js

seite.headerData.5 = TEXT
seite.headerData.5.value {
  <script>
   $(document).ready(function() {
  
    $("a").click(function(){
      $(this).blur();
    });
  
    $("li").mouseover(function() {
      $(this).stop().animate({boxShadow:'0 0 50px'}, {duration:400})
    });
  
    $("li").mouseout(function() {
      $(this).stop().animate({boxShadow:'0 0 0'}, 'slow')
    });
  });
</script>
}


More information about the TYPO3-german mailing list