![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 40 Pomógł: 0 Dołączył: 13.03.2005 Ostrzeżenie: (0%) ![]() ![]() |
Dopiero zaczynam się uczyć jQuery i proszę o pomoc w wyjaśnieniu pogrubionego zapisu:
rotate = function(){ var triggerID = $active.attr('rel') - 1; var image_reelPosition = triggerID * imageWidth; $(".paging a").removeClass("active"); $active.addClass('active'); $(".image_reel").animate({left: -image_reelPosition},500); }; czy to jest tworzenie zmiennej $active? no ale zmienne robi sie przez var wiec nie wiem. drugie pytanie co to jest trigger w jQuery wytlumaczone tak dla amatora dzieki za pomoc. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 00:53 |