Ok got it to work... Is there a way to fix it so you dont see black borders on images that are different sizes?
Ok got it to work... Is there a way to fix it so you dont see black borders on images that are different sizes?
You have to edit the file "fadeslideshow.js". On line 54, you'll find
change to ->Code:.css({position:'absolute', left:0, top:0, width:'100%', height:'100%', background:'black'})
You can change "white" to any color you want. This works for me.Code:.css({position:'absolute', left:0, top:0, width:'100%', height:'100%', background:'white'})
For best practice, here is a link to the wiki description of how to add javascript to Zen Cart pages without editing PHP files:
http://www.zen-cart.com/wiki/index.p...s_-_Javascript
You can have sitewide or per-page js loading by putting jscript_fadeslideshow.js in the right folder. I haven't done the whole process yet, but I believe the second js file mentioned in post 5 will also need to be modified and added to a folder. Theoretically,you could just use it as /includes/modules/pages/index/jscript_myslideshow.js, but this would probably operate on all index pages, not just the homepage. Thus, you would use it as /includes/modules/pages/index/jscript_myslideshow.php with the opening if() test to limit it to the homepage. The first script call in that file is to jquery, which may already be operative in v1.3.9 (or maybe that won't be until v2.0 - clarification from someone who knows?), so you might not need to include that.
In all cases, you would also insert the blank div in a PHP template file as mentioned.
I've been staring at that Dynamic Drive slide show for a while and this thread is great but, I was wondering if someone could explain how to use it in an existing banner, if that's even possible.
Thank you,
Stephen