[4446] | 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:{if #interfaceOnImage#=='yes'}true{else}false{/if}, |
---|
| 15 | margin_container:{#margin_container#}, |
---|
| 16 | tabsAnimated:{if #tabsAnimated#=='yes'}true{else}false{/if}, |
---|
| 17 | tabsHidden:{#tabsHidden#}, |
---|
| 18 | tabsVisible:{#tabsVisible#}, |
---|
| 19 | metaNumCols:{#metaNumCols#}, |
---|
| 20 | commentRows:{#commentRows#}, |
---|
| 21 | interfaceTimerDelay:{#interfaceTimerDelay#}, |
---|
| 22 | {/if} {if $BODY_ID=='theCategoryPage'} |
---|
| 23 | menuAnimated:"{#menuAnimated#}", |
---|
| 24 | menuWidth:"{#menuWidth#}", |
---|
| 25 | menuMaxWidth:"{#menuMaxWidth#}", |
---|
| 26 | menuMSIEMaxWidth:"{#menuMSIEMaxWidth#}", |
---|
| 27 | {/if} |
---|
| 28 | animateDelay:{#animateDelay#} |
---|
| 29 | {literal} |
---|
| 30 | } |
---|
| 31 | </script> |
---|
| 32 | {/literal} |
---|