![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 6.12.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam
Czy był by ktoś w stanie przerobić poniższy skrypt tak by zamiat obrazków do tablicy można było wpisywać tekst? Z góry dziękuje za pomoc. Dodam że skrypt został znaleziony w necie. Ja go nie napisałem. Kod <center> <strong>Czasopisma</strong><br><br> <img src="../grafika/enter.gif" name="photoslider" alt=" "> <form method="POST" name="rotater"> <script language="JavaScript1.1"> var photos=new Array() var which=0 /*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/ photos[0]="../grafika/enter.gif" photos[1]="../grafika/pcq.gif" photos[2]="../grafika/gambler.gif" function backward(){ if (which>0){ window.status='' which-- document.images.photoslider.src=photos[which] } } function forward(){ if (which<photos.length-1){ which++ document.images.photoslider.src=photos[which] } else window.status='End of gallery' } </script> <input type="button" value=" << " name="B2" onClick="backward()"> <input type="button" value=" >> " name="B1" onClick="forward()"><br> <a href="#" onClick="which=1;backward();return false"><small>Od początku</small></a> </form> </center> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 03:19 |