I was looking all over the Internet for some jQuery gallery plugin with some interesting transition effects. I found a lot of great plugins but they all have pretty same transition effects. Mostly that was fading and sliding effects. I wanted something different so I decide to made my own slideshow gallery plugin for jQuery. That’s how was born jqFancyTransitions.
My main idea was to build some ‘strip curtain’ effect and I start from that. But, while I was building this some other effects just pop up and I decided to adjust code and include some of those effects. Now, there are ‘wave’, ‘zipper’ and ‘curtain’ effect, plus options that can be used for custom effect. You can see how it works on examples and documentations page.
At the beggining you will need to download jQuery and jqFancyTransitions and include them on your page similar like this :
<script src="js/jquery.js" type="text/javascript"></script> <script src="js/jqFancyTransitions.js" type="text/javascript"></script>
After that you will need some placeholder with some images for your slideshow. Text from alt tag will be used in title bar in your slideshow.
<div id='slideshowHolder'> <img src='img1.jpg' alt='img1' /> <img src='img2.jpg' alt='img2' /> <img src='img3.jpg' alt='img3' /> </div>
When you set everything time is to call jqFancyTransition and tell him where to do his job. You will probably need to set width and height for your gallery. That can be done with next code:
<script> $(document).ready( function(){ $('#slideshowHolder').jqFancyTransitions({ width: 400, height: 300 }); }); </script>
The code above is enough to made your fancy transitions gallery 400px wide and 300px high. If you want you can change transition effect with one of predefined values:
- wave
- zipper
- curtain
Of course, you can made custom effect with set of options that you can use to set speed, number of strips, direction, type of effect, etc. Bellow is list of all parameters and their values that you can use.
effect: '', // wave, zipper, curtain width: 500, // width of panel height: 332, // height of panel strips: 20, // number of strips delay: 5000, // delay between images in ms stripDelay: 50, // delay beetwen strips in ms titleOpacity: 0.7, // opacity of title titleSpeed: 1000, // speed of title appereance in ms position: 'alternate', // top, bottom, alternate, curtain direction: 'fountainAlternate', // left, right, alternate, random, fountain, fountainAlternate navigation: false, // prev and next navigation buttons links: false // show images as links
You can try to change those options and see what kind of effect you will get. Basically, you can change position and direction parameters and you will see variety of jqFancyTransitions effects. Also you can check examples and documentation page where you can see few examples with photos made by my friends Goran Jovanovic, Igor Srdanovic, Ivan Jekic and Marko Manojlovic who is also design layout for that page.
IMAGES AS URLS
Since 1.7 version images can be urls. All you have to do is to add url below images. Similar to this:
<div id='slideshowHolder'> <img src='img1.jpg' alt='img1' /> <a href ='https://workshop.rs'/></a> <img src='img2.jpg' alt='img2' /> <a href ='https://workshop.rs/projects/jqbargraph'></a> <img src='img3.jpg' alt='img3' /> <a href ='https://workshop.rs/projects/moobargraph'></a> </div>
After that just add links: true
in call.
Changelog
– 1.5
navigation
– 1.7
images can be urls
– 1.8
class for active navigation number ( ft-button-IDOFHOLDER-active )
description bar is not part of ‘navigation’ option
very nice work
all effects are from tom to bottom or bottom to top
can we have some thing left to right or right to left?
Hi Ivan,
These items may infringe your copyright 🙁
http://themeforest.net/item/envidia-html-css/87942
http://codecanyon.net/item/sexy-slider/87148
Mike, I assume that your question is for WordPress plugin http://workshop.rs/2009/12/fancy-transitions-featured-gallery-for-wordpress/ . Answer is yes, you can show posts from one category since 1.3.0. version.
Hi Ivan.
Is there any form to show only the posts of one category?
@Sabrina @Madi
I have plan to add features that you asking for, but I’m not sure when that will be.
How can I upgrade your script? I need buttons like a prev picture, next picture, play slide show, stop slid show.
Hello,
Very nice!!!!!
I realy want to get a link on the image it self.. is it hard to fix that????
Thnx!!!!
.ft-title is class for title, so you can use CSS on that class. I’m not sure what’s happen with Lightbox 2 and this plugin, you should check if there is jQuery conflict maybe.
Ivan, great…
Thank you so much for your help… it is now working on my site (http://www.kokpinlab.com/). I have one question though, the title text is now aligned to the left, is there any method that I can aligned to the right instead or to format its text size.. etc using CSS?
I am also using Lightbox 2 (http://www.huddletogether.com/projects/lightbox2/) for my photo gallery. I realized that the Fancy Transition javascript breaks the Lightbox 2 code, meaning that the lightbox effect will be disabled on my photo gallery. Do you have any suggestions on this?
Thank you so much.
@Andrea
This plugin doesn’t have classic fading effect, there is a lot of other plugins with fading effects only.
@marc stephan
That part of code looks OK. You should check do you have right path to jqFancyTransitions.js file.
@PhotoLab
jqFancyTransitions.js is little different for WordPress plugin. It doesn’t take title from img alt tag, it takes it
from span bellow img. So it should looks like this:
<img src="http://www.kokpinlab.com/wp-content/uploads/2009/08/KokPinLab_Header_Design_Airport.jpg" />
<span>New Test Image 1 Testing where is the text</span>
instead:
<img alt="New Test Image 1 Testing where is the text" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/KokPinLab_Header_Design_Airport.jpg" />
Hi Ivan,
Thanks for the great script. I like it very much.
I have tried to implement it on my WordPress blog, however, I do not know why the title does not show up. Here’s my implementation, can you pls give me some suggestion on how to fix the title issue?
Thank you.
hi Ivan,
firt I would say “compliment” ! nice and useful script
90% due to my experience … I can’t make your script workable. I know could be my stupid mistake but … please gimme the solution for this snag.
here below the code
$(document).ready(function() {
$(”#slidegal”).jqFancyTransitions({
position: ‘curtain’,
direction: ‘alternate’
});
});
The result is simply the 3 jpg shown one beside the other.
Thank u in advance
Russell
Very nice script, congratulations.
Is there a way to have a fading effect?
Thank you
Hi Ivan,
My code isnt working. I tried on 3 different themes including classic wordpress theme.
Hi Ivan,
I am sort of testing this script. So far no luck.
I get all the images one under another like the ‘div’ is to big LOL. I included the link. Please have a look 😀
The other scripts are included (otherwise other animations wont work). CSS also included and working.
Hello Ivan,
It works perfectly. Once again, thanks for sharing and happy new year !
Patrice
Don’t worry about your English, it’s important that we understand each other : )
You can put script after the div with images like:
$(”#galerie”).jqFancyTransitions({
position: ‘curtain’,
direction: ‘alternate’
});
or if you want to put script in head you can do that with next code:
$(document).ready(function() {
$(”#galerie”).jqFancyTransitions({
position: ‘curtain’,
direction: ‘alternate’
});
});
Errors that you sent me are not related with my plugin.
You should check http://www.google.com/search?q=nsYahooDomBuilder.js
Hello,
First, i have to tell that I am french and my english is not perfect !
I would like to use your image-gallery but a few questions still remain.
Where must I put the JS in my HTML ?
In the HEAD or in the BODY after the DIV including the IMG’s ?
How to set the arguments for jqFancyTransitions ?
Part of my HTML:
$(“#galerie”).jqFancyTransitions({
position: ‘curtain’,
direction: ‘alternate’
effect: ”
});
I have tried with FF 3.0 and IE6, IE7.
On FF, I have got this message :
Avertissement : reference to undefined property this.skipAttrs[attr.name]
Fichier Source : file:///C:/Users/patrice/AppData/Roaming/Mozilla/Firefox/Profiles/wfoxyzsw.default/extensions/%7B635abd67-4fe9-1b23-4f01-e679fa7484c1%7D/components/nsYahooDomBuilder.js
Ligne : 420
Thank you for helping me and congratulations for your work.
Patrice
I have plan to made images as links so you can expect that in some future release. For now you can add link in title bar only.
Very nice plugin! One of the best sliders. How can you make the rotating images active hyperlinks?
Thanks!
@Hjuster
Send me your files with code on email so I can check.
nice work ivan!
@jn
1. This plugin is tested in IE6. Can you tell me more about problems that you have in IE6 ?
2. There is no option to do animation only once. Maybe in some future release : )
3. It will be nice to have circles effect, but it can’t be done with this plugin.
Thanks for comment.
Very nice plugin, however
1. non-usable in ie6 (sometimes it’s needed)
2. how to do animation only once (f.e. to only animate logo once)
3. is there possibility to do version with circles? 🙂