Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript]odwolanie do elementu drzewa jquery
eminiasty
post
Post #1





Grupa: Zarejestrowani
Postów: 267
Pomógł: 0
Dołączył: 11.09.2015

Ostrzeżenie: (0%)
-----


W jaki sposob odwolac sie do obrazka?

  1. <div class="miniature-box">
  2. <a class="buttons prev" href="#">&lt;</a>
  3. <div class="viewport">
  4. <ul class="overview small-images" >
  5. <li><img class="selected" src="images/picture1.jpg"></li>
  6. <li><img src="images/picture6.jpg"></li>
  7. </ul>
  8. </div>
  9. <a class="buttons next" href="#">&gt;</a>
  10. </div>


Probowalem w ten sposob, ale to nie dziala:

  1. $(".small-images ul li img").removeClass('selected');
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 17:25