1 | {html_head} |
---|
2 | {$block.SCRIPT} |
---|
3 | {/html_head} |
---|
4 | <div id="imagerotator_block"> |
---|
5 | |
---|
6 | <script type="text/javascript"> |
---|
7 | |
---|
8 | var fo = new SWFObject("{$block.FLASHNAME}", "mpf", "100%", "{$block.HEIGHT}", "8", "#444444"); |
---|
9 | |
---|
10 | // XML GALLERY OPTIONS |
---|
11 | fo.addVariable("{$block.FLASHVARXML}", "{$block.XMLFEED}{if $block.autostart=='true'}&autostart=true{/if}"); |
---|
12 | // Ajout de toutes les variables necessaires |
---|
13 | fo.addVariable("height", "{$block.height}"); |
---|
14 | // fo.addVariable("width", "{$block.width}"); |
---|
15 | fo.addVariable("backcolor", "{$block.backcolor}"); |
---|
16 | fo.addVariable("frontcolor", "{$block.frontcolor}"); |
---|
17 | fo.addVariable("lightcolor", "{$block.lightcolor}"); |
---|
18 | fo.addVariable("overstretch", "{$block.overstretch}"); |
---|
19 | fo.addVariable("screencolor", "{$block.screencolor}"); |
---|
20 | fo.addVariable("showicons", "{$block.showicons}"); |
---|
21 | fo.addVariable("shownavigation","{$block.shownavigation}"); |
---|
22 | fo.addVariable("transition", "{$block.transition}"); |
---|
23 | fo.addVariable("usefullscreen", "{$block.usefullscreen}"); |
---|
24 | fo.addVariable("linkfromdisplay", "{$block.linkfromdisplay}"); |
---|
25 | fo.addVariable("linktarget", "{$block.linktarget}"); |
---|
26 | fo.addVariable("repeat", "{$block.repeat}"); |
---|
27 | fo.addVariable("rotatetime", "{$block.rotatetime}"); |
---|
28 | fo.addVariable("shuffle", "{$block.shuffle}"); |
---|
29 | fo.addParam("allowFullScreen","{$block.FULLSCREEN}"); |
---|
30 | {if $block.TRANSPARENT}fo.addParam("wmode", "transparent"); {/if} |
---|
31 | |
---|
32 | fo.write("imagerotator_block"); |
---|
33 | </script> |
---|
34 | |
---|
35 | |
---|
36 | </div> |
---|