Jquery Cycle

Hi everyone… I am a newbie here… I am trying to use http://malsup.com/jquery/cycle/. After downloading I found no instructions. They mention that open example to see how simple it is to get this working but I cannot figure it out :eek: I have tried everything.

Here is the code…I have the “jquery.cycle.min.js” file in my “www” folder of my localhost wamp. And I have the pictures there too and changed the code to point towards the files. But this doesn’t work… can you please help… :shifty:

<!doctype html>
<title>JQuery Cycle Plugin - Example Slideshow</title>
<style type="text/css">
.slideshow { height: 232px; width: 232px; margin: auto }
.slideshow img { padding: 15px; border: 1px solid #ccc; background-color: #eee; }
<!-- include jQuery library -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>

<!-- include Cycle plugin -->
<script type="text/javascript" src="localhost/wamp/www/jquery.cycle.min.js"></script>

<!--  initialize the slideshow when the DOM is ready -->
<script type="text/javascript">
$(document).ready(function() {
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	<div class="slideshow">
		<img src="localhost/wamp/www/beach1.jpg" width="200" height="200" />
		<img src="localhost/wamp/www/beach2.jpg" width="200" height="200" />
		<img src="localhost/wamp/www/beach3.jpg" width="200" height="200" />
		<img src="localhost/wamp/www/beach4.jpg" width="200" height="200" />
		<img src="localhost/wamp/www/beach5.jpg" width="200" height="200" />

It still didn’t work but later I tried to access localhost through my browser and copied my url to the pic and it was http://localhost/photo1.jpg It works now… Thank you for your help… :slight_smile:


By itself that isn’t valid, make it