может какой нибуть lenght() поможет? Только какой, как мне именно последний получить?
|
Цитата:
|
Может так что-то получится:
$(function(){ $("#carousel").featureCarousel({ movedToCenter:function($feature){ // $feature is a jQuery wrapped object describing the featured that is now in the center position. // $feature - jQuery-объект элемента, который сейчас if($feature.index()+1==$feature.parent().find($feature.attr('class')).size()) alert('This is a last slide'); } }); }); |
Ну Там же написано
Callback function fired when an item has moved to the center position. Это каждый центральный а мне нужен среди них последний. |
Cdelphi78,
:-? $("#carousel").waterwheelCarousel({movedToCenter: function(el) { alert(el.is("#carousel img:last")); alert(el.is("#carousel img:first")); }}); |
Cdelphi78, а вы попробовали предложенный мною скрипт?)
|
Цитата:
|
Цитата:
Цитата:
|
Cdelphi78,
не понимаю |
Часовой пояс GMT +3, время: 01:06. |