CYCLE JS

Cycle js are basically java-script library . This library used for developing slideshow for website.

First download cycle.js library form this link.

http://jquery.malsup.com/cycle/

Now write some simple code for website using cycle js.

<html>
<head>
<script src=”jquery.js”></script>
<script src=”cycle.js”></script>
<script>
$(function(){
$(“#r”).cycle(‘scrollRight’);
});
</script></head></head>
<body>
<div id=”r”>
<img src=”screenshot.png”>
<p>fbbdhbsdbfhd</p>
<img src=”screenshot.png”><img src=”screenshot.png”>
</div>
</body></html>

After this run this page on browser then check your slide show are work properly .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s