toymakerlabs / kenburns Goto Github PK
View Code? Open in Web Editor NEWA Jquery gallery featuring CSS3 hardware accelerated pan-and-zoom, Ken Burns style transitions.
A Jquery gallery featuring CSS3 hardware accelerated pan-and-zoom, Ken Burns style transitions.
What are your licensing terms for usage of this code?
Is there a way we can pause animation? Say pausing animation when mouse hovers over the Kenburn area.
I tried using getComputedStyle() but that didn't turn out to work very well.
Thanks,
Gaurav
I have thumbnails for all my images.
I'd like to change the image when clicking on a thumbnail. How can I do that?
Kenburns.js is a lightweight and flexible Jquery gallery plugin that loads a list of images and transitions them using a pan-and-zoom, [Ken Burns](http://en.wikipedia.org/wiki/KenBurns_effect)_ style effect.
The link is weirdly formated
I'm just wondering how easy or difficult it would be to put in a random slide feature.
I found this shuffle array function, but not sure if it would fit
function shuffle(array) {
var currentIndex = array.length, temporaryValue, randomIndex;
// While there remain elements to shuffle...
while (0 !== currentIndex) {
// Pick a remaining element...
randomIndex = Math.floor(Math.random() * currentIndex);
currentIndex -= 1;
// And swap it with the current element.
temporaryValue = array[currentIndex];
array[currentIndex] = array[randomIndex];
array[randomIndex] = temporaryValue;
}
return array;
}
I tried to use the plugin with newer versions of jQuery (in my case: 3.1.1) required by WP, but ran into some issues. There were all easy to, fix though:
Then it started working just fine.
Love the plugin.
I was wondering if you might recommend a way to dispose it, or otherwise refresh the image array.
If, for example, I apply the plugin to an element, remove the element, add the element back, and apply the plugin again, I get some very strange behavior.
i tried something like this
function newSlide(imgs)
{
var titles = [];
$(document).ready(function()
{
$('#kenburns-slideshow').Kenburns(
{
images: imgs,
scale:1,
duration:8000,
fadeSpeed:1200,
ease3d:'cubic-bezier(0.445, 0.050, 0.550, 0.950)',
});
});
}
but it only works for the first time, if i resend new images nothing happens...
Hey
How I can make the plugin use only zoomIn and zoomOut effects?
.kb-slide img{
position:relative;
-webkit-transform:translate3d(0,0,0); /* missing semicolon */
-moz-transform:translate3d(0,0,0);
-webkit-backface-visibility:hidden;
-moz-backface-visibility:hidden;}
Is there a suggested approach on how to provide a list of images through HTML? Maybe within a data-attribute?
Hi, i really appriciate your work and contribution ,I see animation is random i want to align from center and not from top or bottom or left or right only from center ,please suggest me how to do that.
Line 129 is currently:
imagesObj["image"+index].width = $(this).height();
Surely this should be setting the height?
Hello! Congratulations for making this amazing plugin.
I've noticed that in some moments the animation top to bottom of the plugin doesn't work and the image appears static.
I couldn't identify where or when the problem is happening. It's easy to see when the scale is equal to 1.
Hello.
I found that, if you see the page with this plugin from other page,
initilizing functions are not working on IE8.
Im sorry for my poor english.
How would you go about preventing this from looping? So if only two images -- display first image, display second image and then stop on the second image? Do not loop to image 1.
I tried putting three of the slideshows on a single page. The first slideshow works as expected but the other two go black after the first slide and after some time, the two animate to the next slide. The timing of the other two slideshows is erratic.
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.