source: extensions/stripped_responsive/template/config.js.tpl @ 29449

Last change on this file since 29449 was 29449, checked in by JanisV, 10 years ago

Initial commit

  • Property svn:executable set to *
File size: 1003 bytes
Line 
1{* template for config variables assignation *}
2{literal}
3<script type="text/javascript">
4// configuration options
5var options = { {/literal}
6        imageAutosize:{if $stripped_responsive.imageAutosize}true{else}false{/if},
7        imageAutosizeMargin:{$stripped_responsive.imageAutosizeMargin},
8        imageAutosizeMinHeight:{$stripped_responsive.imageAutosizeMinHeight},
9{if $BODY_ID=='thePicturePage'}
10        themeStyle:"{$stripped_responsive.themeStyle}",
11        animatedTabs:{if $stripped_responsive.animatedTabs}true{else}false{/if},
12        defaultTab:"{$stripped_responsive.defaultTab}",
13        marginContainer:{$stripped_responsive.marginContainer},
14        paddingContainer:{$stripped_responsive.paddingContainer},
15        defaultZoomSize:"{$stripped_responsive.defaultZoomSize}",
16        highResClickMode:"{$stripped_responsive.highResClickMode}",
17        navArrows:{if $stripped_responsive.navArrows}true{else}false{/if}
18{else}
19        animatedMenu:{if $stripped_responsive.animatedMenu}true{else}false{/if}
20{/if}
21{literal}
22}
23</script>
24{/literal}
Note: See TracBrowser for help on using the repository browser.