3
thanks hommie
i tried it and at first it just created a random inage block showing horizontal images.
it didnt scroll anything
when i went back to edit the template again
the lines of code i pasted were gone ( strange )
This is what i ended up with
<marquee behavior='scroll' direction='left' width='100%' height='80' scrollamount='1' scrolldelay='60' onmouseover='this.stop()' onmouseout='this.start()'><BR> <table width="100%" cellspacing="1" align="center"> <{if $block.position == 1}> <tr> <{foreach item=pic from=$block.pics}> <td align="center" class="odd" style="padding: 10px;vertical-align: middle;"> <a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}>a><br /> <{$pic.caption}> td> <{/foreach}> tr> <{else}> <{foreach item=pic from=$block.pics}> <tr> <td align="center" style="padding: 10px;vertical-align: middle;"> <a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}>a> <br /> <{$pic.caption}> td> tr> <{/foreach}> <{/if}> table> marquee>
when i click VIEW while editing the template
it looks fine
but if i try to go back to the block administration
and edit the settings for that block
it gets all messed up again