Coin Slider: Image Slider with Unique Effects

After jqFancyTransitions I decided to release new jQuery image slider plugin with more unique transitions effects. I have ideas for new effects and after I didn’t find that somebody already implement that I create Coin Slider.

coin-slider

Thanks to you and your comments Coin Slider have lot of features that jqFancyTransitions didn’t have at the beginning.  Basically it’s a latest (and improved) version of jqFancyTransitions but with new ‘fancy’ transitions effects.

jqFancyTransitions slice your images in stripes, while Coin Slider slice them in squares. And that’s the main difference. With changing order of appearing those squares I achieve random, swirl, rain and straight effects.

While I was working on this I felt like I’m on college again. Creating order of squares appearance remind me on my college projects when I spent few night and days trying to solve some problem. Random and straight was simple, but swirl effect give me some trouble. Fortunately, I’m working with Milos Popovic who like to solve those kind of problems and he help me about swirl function. Kudos to Milos!

For rain effect I spent few rainy hours to built it and that’s why I gave him that name. Naming things is something that I’m not good at.

How to use

Download jQuery, Coin Slider javascript file and CSS file and include them on your page:

<script type="text/javascript" src="jquery-1.4.2.js"></script>
<script type="text/javascript" src="coin-slider.min.js"></script>
<link rel="stylesheet" href="coin-slider-styles.css" type="text/css" />

Add slider content and create one div with an id and put images and image descriptions, similar to:

<div id='coin-slider'>
	<a href="img01_url" target="_blank">
		<img src='img01.jpg' >
		<span>
			Description for img01
		</span>
	</a>
	......
	......
	<a href="imgN_url">
		<img src='imgN.jpg' >
		<span>
			Description for imgN
		</span>
	</a>
</div>

At the end all you have to do is to call Coin Slider:

<script type="text/javascript">
	$(document).ready(function() {
		$('#coin-slider').coinslider();
	});
</script>

Example

Coin Slider have a lot of options for helping you set slider as you want. If you want to have 900px wide slider, without navigation and with 5sec delay between images you’ll do this:

<script type="text/javascript">
	$(document).ready(function() {
		$('#coin-slider').coinslider({ width: 900, navigation: false, delay: 5000 });
	});
</script>

List of all options

width: 565, // width of slider panel
height: 290, // height of slider panel
spw: 7, // squares per width
sph: 5, // squares per height
delay: 3000, // delay between images in ms
sDelay: 30, // delay beetwen squares in ms
opacity: 0.7, // opacity of title and navigation
titleSpeed: 500, // speed of title appereance in ms
effect: '', // random, swirl, rain, straight
navigation: true, // prev next and buttons
links : true, // show images as links 
hoverPause: true // pause on hover

Notes

Be careuful with spw and sph because large numbers can cause transitions problems.
If you don’t set effect all effects will be implemented by random.

Check the demo of ‘The More Awesome jQuery Image Slider’

  • News Ticker in 4 lines of jQuery (93)
    There are a lot of different jQuery News Ticker plugins with lot of options that you can use. Do you want to learn how to create one on your own in only 4 lines of jQuery code […]
  • jqIsoText: jQuery Text Effect Plugin (108)
    Some content on our pages are more important than other and we want to made him eye catching. There are lot of techniques to achieve that.  One of them is jqIsoText. With this […]
  • Fancy Transitions Featured Gallery for WordPress (62)
    ftFeatured is Wordpress plugin for creating image gallery with fancy transition effects of featured posts. You can choose between three types of transition effects: curtain, wave and […]
  • Use Webcam to Create Animated GIF (1)
    Some time ago I saw some online animated gif creator and thought it could be done in JS instead of Flash. We could easily access webcam from browser with the getUserMedia API. Nice […]
  • jqBarGraph – jQuery graph plugin (157)
    jqBarGraph is jQuery plugin that gives you freedom to easily display your data as graphs. There are three types of graphs: simple, multi and stacked. All you have to do is to pass your […]

1,638 comments on "Coin Slider: Image Slider with Unique Effects"

that’s real good job
thanks!!!
…..

SEOservices on January 22, 2011 at 5:30 am

billboc – “I’d love for it to be able to display the images randomly.. any advice?”

In php, maybe put the images you want into an array and shuffle the array values?

heres a short example
http://www.5frag.com/imgarray.txt

Sorry I havnt gone into any detail about the script but its 6:19 AM and I’m nearly out of coffee :/

If you want some help let me know 🙂 you can contact me on my site
< click my name, look for anAIM and Personal Message (PM) me.

Hope this helps

Kris on January 21, 2011 at 1:19 am

I managed to hook this up to my database and have the slider display my top news posts, here’s a screenshot

http://s121.photobucket.com/albums/o202/Envy-666/?action=view&current=asdasdasd.png

Kris on January 21, 2011 at 12:23 am

oops sorry Bassam,

simply replace ‘prev’ and ‘next’ with the code for your image
I’ll try again

Kris on January 21, 2011 at 12:09 am

Hey awsome slider! Have been looking for a slider like this for a while, good job.

Bassam, here’s what I did –

Open your coin-slider.js file
Go to line 235/236 where the navigation part is

Where you have-

$(‘#cs-navigation-‘+el.id).append(“prev“);
$(‘#cs-navigation-‘+el.id).append(“next“);

simply replace ‘prev’ and ‘next’ with

//////

Vincent, (Remove squares), this is what I did –

Open coind-slider.js and go to line 263 (// image buttons)
All i did was remove that chunk of code from lines 263 to 291

// please correct me if i’m wrong with any of this, but it worked for me.

Thanks, great script

Kris on January 21, 2011 at 12:04 am

Hey – I have a question similar to “chromax” – I want to display the navigation “buttons” above, or to the left of the slider, instead of underneath it. Is this something that is easy to do, you think?

I have not actually delved into the .js file yet – I will tackle that in a couple days or so – just thought I would check here first.

BTW – GREAT script, thanks!

Justin

Justin on January 19, 2011 at 9:02 pm

“I’d love for it to be able to display the images randomly.. any advice?”

me too !!
thanks for help
😉

billboc on January 19, 2011 at 9:28 am

Hi
Great Slider but i’m having a problem which i can’t solve, i need to change the prev/next buttons with an image of an arrow or anything else, i succeeded in changing it with another text but not with an image.

BTW i passed over all the older comments but still can’t find a solution for this.

Kind Regards
Bassam

Bassam on January 18, 2011 at 5:01 pm

Perfect for a project I’m working on.
Modified the javascript a bit to get the images aligned with the buttons for my use.
Also set spw, and sph to 1 to just get a simple transition.

Ryan on January 18, 2011 at 1:08 am

Hi Ivan,

First of all. A great module. I use it now for the first time.

I wonder if it is possible to show multiple images. For example. To show three different images at the same time.

Is this possible?

Kind regards,
Christiaan

Christiaan on January 17, 2011 at 5:50 am

I’d love for it to be able to display the images randomly.. any advice?

belle on January 12, 2011 at 8:02 pm

I dig this but the navigation squares seem to always be positioned in the center of the page instead of centered under the slideshow.

Loren on January 10, 2011 at 12:59 pm

Hello,

I am a newbie to magento and I need to implement a slideshow
on my home page like the one on this site: http://www.wooftown.com.

Can I achieve this affect with coin-slider?

Thank you.

Kathy McAlpine on January 6, 2011 at 1:00 pm

When the spw and sph values made 1, slide became very fast and slowing problem is gone. (When you do it 0, it goes on to use default values).

zamanus on January 5, 2011 at 7:23 pm

Hi
How do I download photo images from my computer hard drive to my Vslider plugin Website. Presently using Google Chrome Browser, Internet Explorer 8, Windows Vista. VSlider Version 3.0 installed..

Thanks
harry@SanDiegoRebateRealty.com

Harry on January 4, 2011 at 2:52 am

how just use ‘fade effect’ or sliding ?

nady on January 2, 2011 at 8:53 pm

Is there a way to have it so that they rotate the images randomly?

MikeonTV on January 1, 2011 at 10:44 pm

…really dumb questions here….

I hope mine is not so….How can I place the navigation in a specific container somewhere else?
I already played a little with the appendTo but can´t get it working.

I need the navigation in a column container and not under the image.

chromax on December 23, 2010 at 8:39 pm

Hello everyone,
could somebody help me. I want to have the previous and next button. But like to remove the squares at the bottom.

Thanks in advance !

Vincent on December 21, 2010 at 12:25 pm

thanks,very good job

qyjun on December 21, 2010 at 3:32 am

Leave a Reply

Your email address will not be published. Required fields are marked *