Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 29048 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > jQuery > Using jQuery Auto Image Scroller ...
Chandrakanth

Using jQuery Auto Image Scroller

 Code Snippet posted by: Chandrakanth | Posted on: 5/19/2012 | Category: jQuery Codes | Views: 990 | Status: [Member] | Points: 40 | Alert Moderator   
Ads

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
<head>
<title>jCarousel Examples</title>
<link href="../style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery-1.2.3.pack.js ">
</script>
<script type="text/javascript" src="jquery.jcarousel.pack.js ">
</script>
<link rel="stylesheet" type="text/css" href="jquery.jcarousel.css " />
<link rel="stylesheet" type="text/css" href="skin.css " />
<script type="text/javascript">
function mycarousel_initCallback(carousel) {
// Disable autoscrolling if the user clicks the prev or next button.
carousel.buttonNext.bind('click', function () {
carousel.startAuto(0);
});

carousel.buttonPrev.bind('click', function () {
carousel.startAuto(0);
});

// Pause autoscrolling if the user moves with the cursor over the clip.
carousel.clip.hover(function () {
carousel.stopAuto();
}, function () {
carousel.startAuto();
});
};

jQuery(document).ready(function () {
jQuery('#mycarousel').jcarousel({
auto: 2,
wrap: 'last',
initCallback: mycarousel_initCallback
});
});

</script>
</head>
<body>
<div id="wrap">
<ul id="mycarousel" class="jcarousel-skin-tango">
<li>
<img src="Images/window8-1.jpg" width="75" height="100" alt="i1" />
</li>
<li>
<img src="Images/window8-2.jpg" width="75" height="100" alt="i2" />
</li>
<li>
<img src="Images/window8-3.jpg" width="75" height="100" alt="i3" />
</li>
<li>
<img src="Images/window8-4.jpg" width="75" height="100" alt="i4" />
</li>
</ul>
</div>
</body>
</html>


Chandrakanth
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/19/2013 6:41:56 AM