www.nyfaeriefest.com
Our graphic designer is used to building sites in HTML and flash, so he just pasted the javascript into define_main_page.php in Tools > Define Pages Editor. It works, but is not the best or "right" way to do it; I'm leaving it that way for now so he can easily access it to adjust the images.
The correct method is to save the javascript in a jscript_fadeshow.js file, in a location depending on where you want to use it. See the wiki article for more info: http://www.zen-cart.com/wiki/index.p...s_-_Javascript . This one would go in /includes/modules/pages/index/jscript_fadeshow.js .
Then it would be called in define_main_page.php like this
PHP Code:
<!-- START IMAGE SLIDESHOW -->
<span id="slideshow">
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 457, 403, 0, 3000, 1, 0)
</script>
</span>
<!-- END IMAGE SLIDESHOW -->