[6109] | 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 | interfaceCanSwitch:{if #interfaceCanSwitch#=='yes'}true{else}false{/if}, |
---|
| 14 | interfaceHidden:{if #interfaceHidden#=='yes'}true{else}false{/if}, |
---|
| 15 | interfaceOnImage:"{#interfaceOnImage#}", |
---|
| 16 | marginContainer:{#marginContainer#}, |
---|
| 17 | paddingContainer:{#paddingContainer#}, |
---|
| 18 | tabsAnimated:{if #tabsAnimated#=='yes'}true{else}false{/if}, |
---|
| 19 | tabsHidden:{#tabsHidden#}, |
---|
| 20 | tabsVisible:{#tabsVisible#}, |
---|
| 21 | tabsPosition:"{#tabsPosition#}", |
---|
| 22 | metaNumCols:{#metaNumCols#}, |
---|
| 23 | commentRows:{#commentRows#}, |
---|
| 24 | interfaceTimerDelay:{#interfaceTimerDelay#}, |
---|
| 25 | defaultZoomSize:"{#defaultZoomSize#}", |
---|
| 26 | displayHighResIcon:{if #displayHighResIcon#=='yes'}true{else}false{/if}, |
---|
| 27 | highResClickMode:"{#highResClickMode#}", |
---|
| 28 | {/if} {if $BODY_ID=='theCategoryPage'} |
---|
| 29 | menuAnimated:"{#menuAnimated#}", |
---|
| 30 | menuWidth:"{#menuWidth#}", |
---|
| 31 | menuMaxWidth:"{#menuMaxWidth#}", |
---|
| 32 | menuMSIEMaxWidth:"{#menuMSIEMaxWidth#}", |
---|
| 33 | {/if} |
---|
| 34 | animateDelay:{#animateDelay#} |
---|
| 35 | {literal} |
---|
| 36 | } |
---|
| 37 | </script> |
---|
| 38 | {/literal} |
---|