5509 / jq.carousel Goto Github PK
View Code? Open in Web Editor NEWSimple and customizable carousel
Home Page: http://5509.github.com/jq.carousel/
Simple and customizable carousel
Home Page: http://5509.github.com/jq.carousel/
If $carousel_wrap
style is position: absolute
, carousel_box
can't be auto height :(
Would be nice to navigate divs by clicking on the indicators.
Hi Guys,
I'm stuck in one issue.
When I'm trying to append the content on some event (I will done through AJAX) then carousel is not working and it is not going to next slide. I done the reset and refresh part.
here is my code:
(function() {
var
indicator: true,
easing: 'linear',
duration: 0.5
}),
num = 1;
$('#carousel_5_prev').on('click', function(ev) {
ev.preventDefault();
$carousel.carousel('prev');
});
$('#carousel_5_next').on('click', function(ev) {
ev.preventDefault();
$carousel.carousel('next');
});
$carousel.bind({
'Carousel.next': function() {
//alert('moved to next');
num = 1;
$carousel.carousel('reset');
$carousel.append('<div class="carousel_box">' + (++num) + '</div>');
$carousel.carousel('refresh');
$carousel.carousel('next');
},
'Carousel.prev': function() {
//alert('moved to prev');
}
});
}());
But it is not working and slider is running infinite time.
My requirement is that when carousel running automatically OR some one click on the NEXT button then I need to append the new content, reset and reload the carousel and then slider need to jump to the next slide without affectting smoothness.
Please help me
Thanks in advance
Viki
The plugin was used for a site . But the plugin is creating only 5 divs if i use 3 images in chrome 31+ browsers alone. Bcoz of this the carousel functinality is broken in chrome 31+ browsers. Please check and fix it
There will be problems if you'll try to set this settings:
{loop: false, start: 3} (3 - for example)
Hi, I'm trying to use .class to call the carousel you know, but actually it works with the last one only! so how can I add more than one carousel using the same class?
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.