Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
<div id="slide">
	 <img src="images/new images/slide1.jpg" width="970" height="260"  alt="Slide" />
 	<img src="images/new images/slide2.jpg" width="970" height="260"  alt="Slide" />
 	<img src="images/new images/slide3.jpg" width="970" height="260"  alt="Slide" />
   	 <img src="images/new images/slide4.jpg" width="970" height="260"  alt="Slide" />
   	 
</div><!-- pic -->
		<script type="text/javascript">
		$(document).ready(function() {
			$('#slide').cycle({
				fx: 'fade', 
				speed: 1500,
				timeout: 5000
			});
		});
		</script>
Posted
Comments
Kapilkp 1-Aug-13 5:21am    
this code is not working for image sliding
Do you see any error on Console window of FireBug in FireFox?
Kapilkp 1-Aug-13 5:41am    
no it just doing nothing all the images are displayed one by one
I have added one answer. Please check that.

1 solution

Problem
I guess you have forgotten to link the jQuery Cycle Plugin File[^].

Solution
Just save this js file and link in your project.

Demo
[Demo] Cycle Plugin Example[^]

Reference - jQuery Cycle Plugin[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900