PDA

View Full Version : fading dragable



spyder
05-08-2007, 12:26 AM
this may be more of a javascript or css question, but i was wondering if there was a way to merge these two scripts. http://www.dynamicdrive.com/dynamicindex4/image3.htm http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

basically i want a slideshow of fading images that is dragable.

i tried throwing a div around it


<div class="drag" style="height:250px; width:770px; border:solid 1px black;">
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no,

1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 770, 250, 0, 3000, 1, "R")
new fadeshow(fadeimages2, 770, 250, 0, 3000, 1, "R")

</script>
</div>
it didnt work. the div was dragable without the script in it. i was thinking about throwing it in an iframe, but i would rather avoid that. any help is appreciated. thank you

spyder
05-08-2007, 12:45 AM
nevermind, i found a different script