JQuery Cross-slide
- by Foxticity
I'm trying to cycle through 3 images with JQuery Cross-slide, but the images doesn't want to display, here is the basic code below.
All 3 images are in 650 - 100 size, and they are in the correct location, but the images just don't want to display. What am i doing wrong??
<html>
<body>
<script src="jquery.js" type="text/javascript"></script>
<script src="jquery.cross-slide.js" type="text/javascript"></script>
<div id="crossslide" style="width:650px; height:100px;"></div>
<script type="text/javascript">
//<!--
$(function(){
$("#crossslide").crossSlide({
speed: 45,
fade: 1
}, [
{ src: "01.jpg", dir:"up"},
{ src: "02.jpg", dir:"down"},
{ src: "03.jpg", dir:"left"}
]);
});
// -->
</script>
</body>
</html>