poniedziałek, 29 sierpnia 2011

kod na własne napisy do menu ;p


To wklejamy po lewej stronie : 
<script>$("ul#menu li:nth-child(1) a").html("Tekst");</script>
<script>$("ul#menu li:nth-child(2) a").html("Tekst");</script>
<script>$("ul#menu li:nth-child(3) a").html("Tekst");</script> 
To po prawej :
 <script>$("ul#menu li:nth-child(4) a").html("Tekst");</script>
<script>$("ul#menu li:nth-child(5) a").html("Tekst");</script>
<script>$("ul#menu li:nth-child(6) a").html("Tekst");</script>

a tu własny tekst na przycisk 'wyloguj' :
<script>$("ul#extras li.logout:nth-child a").html("Tekst");</script>

tam gdzie mamy "Tekst" wpisujemy to, co chcemy żeby było napisane . ; p


Brak komentarzy:

Prześlij komentarz