MyXoops Forum

Forum - myXOOPS German Support

6 - 3 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Re: Problem mit xcGal 2.02 Scrollende Bilder Block

Betreff: Re: Problem mit xcGal 2.02 Scrollende Bilder Block
von wuddel am 17.03.2006 17:37:41

Ich habe zwar an einigen Templates geschraubt aber an diesem so viel ich weiß nicht. Zur sicherheit:

<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}></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>


Vielleicht kann ja mal einer drüberschauen

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5313 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1804 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag