![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 84 Pomógł: 0 Dołączył: 14.10.2013 Ostrzeżenie: (0%) ![]() ![]() |
witam, mam problem bo zamiast klonowac mi obrazki to wyswietla tekst, pierwotny obrazek wyswietla sie dobrze, gdzie tu jest błąd?
<html> <head> <title></title> </head> <body> <a id="cc"><img src="15.jpg" width="100" height="100" id="obrazekk" /> </a> <a id="dd">img src="15.jpg" width="100" height="100" id="obrazekk" /> </a> <script> var x=1; while (x<13) { var itmc=document.getElementById("dd"); var clns=itmc.cloneNode(true); document.getElementById("cc").appendChild(clns); x++; } </script> </body> </html> |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 278 Pomógł: 36 Dołączył: 9.04.2003 Skąd: Płock Ostrzeżenie: (0%) ![]() ![]() |
Masz błąd:
<a id="dd">img Brakuje otwarcia znacznika img: < -------------------- d(^^)b
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.07.2025 - 18:36 |