i create a jquery slide which i want the 2 picture 1 slide in from left and other 1 slide in from right. Finally the picture can slide in from left but cant slide in form left. izit anything wrong of my code?? Any suggestion??
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'custom',
cssBefore: {
top: 0,
left: 0,
width: 0,
height: 0,
zIndex: 1
},
animIn: {
right: 0,
width: 200,
height: 200
},
animOut: {
top: 200,
left: 200,
width: 0,
height: 0
},
cssAfter: {
zIndex: 0
},
delay: -1000
});
$('.slideshow2').cycle({
fx: 'custom',
cssBefore: {
top: 0,
left: 0,
width: 0,
height: 0,
zIndex: 0
},
animIn: {
width: 200,
height: 200
},
animOut: {
top: 200,
right: 200,
width: 0,
height: 0
},
cssAfter: {
zIndex: 0
},
delay: -1000
});
});
</script>