Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
iView
=====

iView is easy to use jQuery image slider with animated captions, responsive layout and HTML Elements like (Video, iFrame) slider. Easily add unlimited number of slides and captions. Use it as image slider, image gallery, banner rotator, banner ads, or even presentation.

14 changes: 7 additions & 7 deletions js/iview.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
}

//Play/Pause action
iv.iviewTimer.live('click', function () {
iv.iviewTimer.on('click', function () {
if (iv.iviewTimer.hasClass('paused')) {
iv.playSlider();
} else {
Expand Down Expand Up @@ -424,14 +424,14 @@
}, 300);
});

$('a.iview-prevNav', iv.sliderContent).live('click', function () {
$('a.iview-prevNav', iv.sliderContent).on('click', function () {
if (iv.defs.lock) return false;
iv.cleanTimer();
iv.defs.slide -= 2;
iv.goTo('prev');
});

$('a.iview-nextNav', iv.sliderContent).live('click', function () {
$('a.iview-nextNav', iv.sliderContent).on('click', function () {
if (iv.defs.lock) return false;
iv.cleanTimer();
iv.goTo('next');
Expand Down Expand Up @@ -468,20 +468,20 @@
//Set initial active link
$('.iview-controlNav a.iview-control:eq(' + iv.defs.slide + ')', iv.sliderContent).addClass('active');

$('a.iview-controlPrevNav', iv.sliderContent).live('click', function () {
$('a.iview-controlPrevNav', iv.sliderContent).on('click', function () {
if (iv.defs.lock) return false;
iv.cleanTimer();
iv.defs.slide -= 2;
iv.goTo('prev');
});

$('a.iview-controlNextNav', iv.sliderContent).live('click', function () {
$('a.iview-controlNextNav', iv.sliderContent).on('click', function () {
if (iv.defs.lock) return false;
iv.cleanTimer();
iv.goTo('next');
});

$('.iview-controlNav a.iview-control', iv.sliderContent).live('click', function () {
$('.iview-controlNav a.iview-control', iv.sliderContent).on('click', function () {
if (iv.defs.lock) return false;
if ($(this).hasClass('active')) return false;
iv.cleanTimer();
Expand Down Expand Up @@ -1744,4 +1744,4 @@
};
});

})(jQuery, this);
})(jQuery, this);
Loading