1
stoempie
change Size of pic in scroll block
  • 2008/2/20 19:54

  • stoempie

  • Just popping in

  • Posts: 15

  • Since: 2006/8/29


Hey,

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.

Login

Who's Online

176 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits