source: extensions/Flash_Gallery/modules/TiltViewer/TiltViewer.tpl @ 9116

Last change on this file since 9116 was 3531, checked in by tiico, 15 years ago

First revision (for testing)
Only in French (translation to be done)

File size: 1.7 KB
Line 
1{html_head}
2{$block.SCRIPT}
3{/html_head}
4<div id="tiltviewer_block">
5
6        <script type="text/javascript">
7       
8                var fo = new SWFObject("{$block.FLASHNAME}", "viewer", "100%", "{$block.HEIGHT}", "9.0.28", "#000000");                 
9
10                // TILTVIEWER CONFIGURATION OPTIONS
11                // To use an option, uncomment it by removing the "//" at the start of the line
12                // For a description of config options, go to:
13                // http://www.airtightinteractive.com/projects/tiltviewer/config_options.html
14                                                                                                                       
15                // XML GALLERY OPTIONS
16                // To use local images defined in an XML document, use this block               
17                fo.addVariable("useFlickr", "false");
18                fo.addVariable("{$block.FLASHVARXML}", "{$block.XMLFEED}");
19                fo.addVariable("maxJPGSize","640");
20               
21                //GENERAL OPTIONS               
22                fo.addVariable("useReloadButton", "{$block.useReloadButton}");
23                fo.addVariable("columns", "{$block.columns}");
24                fo.addVariable("rows", "{$block.rows}");
25                fo.addVariable("showFlipButton", "{$block.showFlipButton}");
26                fo.addVariable("showLinkButton", "{$block.showLinkButton}");           
27                fo.addVariable("linkLabel", "{$block.linkLabel}");
28                fo.addVariable("frameColor", "{$block.frameColor}");
29                fo.addVariable("backColor", "{$block.backColor}");
30                fo.addVariable("bkgndInnerColor", "{$block.bkgndInnerColor}");
31                fo.addVariable("bkgndOuterColor", "{$block.bkgndOuterColor}");                         
32                fo.addVariable("langGoFull", "{$block.langGoFull}");
33                fo.addVariable("langExitFull", "{$block.langExitFull}");
34                fo.addVariable("langAbout", "{$block.langAbout}");                             
35               
36                // END TILTVIEWER CONFIGURATION OPTIONS
37               
38                fo.addParam("allowFullScreen","{$block.FULLSCREEN}");
39                {if $block.TRANSPARENT}fo.addParam("wmode", "transparent");
40                {/if}
41                fo.write("tiltviewer_block");                   
42        </script>
43
44       
45</div>
Note: See TracBrowser for help on using the repository browser.