I use XC Gallery and here is a block that u can use that scroll the pics now i want the pics bigger than and in center of the block can someone tell me how to do it?
The code of the template is:
<script src="<{$xoops_url}>/modules/xcgal/js/dw_core.js" type="text/javascript"></script>
<script src="<{$xoops_url}>/modules/xcgal/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/xcgal/<{$pic.link_tgt}>"><{$pic.image}><br/></a><{$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>
Sorry for my bad eng. i'm dutch.
Thanks for trying to help me.