1 | {* template for the js config *} |
---|
2 | {literal} |
---|
3 | <script type="text/javascript"> |
---|
4 | // configuration options for interfaces |
---|
5 | options = { {/literal} |
---|
6 | {if $BODY_ID=='thePicturePage'} |
---|
7 | imageAutoScroll:{if #imageAutoScroll#=='yes'}true{else}false{/if}, |
---|
8 | imageCenterMode:"{#imageCenterMode#}", |
---|
9 | imageCenterOffset:{#imageCenterOffset#}, |
---|
10 | imageCenterTopMin:{#imageCenterTopMin#}, |
---|
11 | imageCenterTopBorder:"{#imageCenterTopBorder#}", |
---|
12 | interfaceAnimated:"{#interfaceAnimated#}", |
---|
13 | interfaceHidden:{if #interfaceHidden#=='yes'}true{else}false{/if}, |
---|
14 | interfaceOnImage:"{#interfaceOnImage#}", |
---|
15 | margin_container:{#margin_container#}, |
---|
16 | tabsAnimated:{if #tabsAnimated#=='yes'}true{else}false{/if}, |
---|
17 | tabsHidden:{#tabsHidden#}, |
---|
18 | tabsVisible:{#tabsVisible#}, |
---|
19 | tabsPosition:"{#tabsPosition#}", |
---|
20 | metaNumCols:{#metaNumCols#}, |
---|
21 | commentRows:{#commentRows#}, |
---|
22 | interfaceTimerDelay:{#interfaceTimerDelay#}, |
---|
23 | {/if} {if $BODY_ID=='theCategoryPage'} |
---|
24 | menuAnimated:"{#menuAnimated#}", |
---|
25 | menuWidth:"{#menuWidth#}", |
---|
26 | menuMaxWidth:"{#menuMaxWidth#}", |
---|
27 | menuMSIEMaxWidth:"{#menuMSIEMaxWidth#}", |
---|
28 | {/if} |
---|
29 | animateDelay:{#animateDelay#} |
---|
30 | {literal} |
---|
31 | } |
---|
32 | </script> |
---|
33 | {/literal} |
---|