5
I have just tried another module i.e d3xcgal, d3 version of xcgal module from the same site. This one has a scrolling images block. Is there a way to modify this block to display images as fade in out slideshow rather then scroll as is the case right now.
The scrolling block template file reads like this:
<script src="<{$xoops_url}>/modules/<{$block.mydirname}>/js/dw_core.js" type="text/javascript"></script>
<script src="<{$xoops_url}>/modules/<{$block.mydirname}>/js/dw_scroller.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
/*
This code is from Dynamic Web Coding
at http://www.dyn-web.com/
Copyright 2001-3 by Sharon Paine
See Terms of Use at http://www.dyn-web.com/bus/terms.html
Permission granted to use this code
as long as this entire notice is included.
*/
function initScrollerObjs() {
scroller1 = new scrollerObj(0,0,125,<{$block.wh}>,"center","holder");
<{foreach item=pic from=$block.pics}>
scroller1.addItem('<a href="<{$xoops_url}>/modules/<{$block.mydirname}>/<{$pic.link_tgt}>"><{$pic.image}></a><br /><{$pic.caption}>');
<{/foreach}>
scroller1.create();
setMouseEvents(); // set up pause/restart onmouseover/out
}
window.onload = initScrollerObjs;
//-->
</script>
<div style="height: <{$block.wh}>px; width: 100%;">
<div id="holder"></div>
</div>