![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 195 Pomógł: 0 Dołączył: 29.04.2007 Ostrzeżenie: (0%) ![]() ![]() |
Mam kod w java script:
Kod <script type="text/javascript"> $(document).ready(function() { $('.slideshow').cycle({ fx: 'fade', timeout: '3000', speed: '900' // choose your transition type, ex: fade, scrollUp, shuffle, etc... }); $("ul#bookmarks li a").click(function() { $("ul#bookmarks .active").removeClass("active"); $(this).parent().addClass("active"); var element_index = $("#bookmarks a").index(this); $("#content div:visible").hide(); $("#content div").eq(element_index).show(); return false; }); $("ul#bookmarks2 li a").click(function() { $("ul#bookmarks2 .active").removeClass("active"); $(this).parent().addClass("active"); var element_index = $("#bookmarks2 a").index(this); $("#content div:visible").hide(); $("#content div").eq(element_index).show(); return false; }); }); </script> Oraz kod w PHP:
Oba skrypty są odpowiedzialne za pokaz slajdów. Jak zrobić, żeby po kliknięciu w link Kod <p><a href='#'><b>$nazwa2</b></a></p> wczytywał się ten slajd i dalej szło odtwarzanie od tego slajdu.
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 16.09.2025 - 03:29 |