Line | |
---|
1 | {combine_css path="template-extension/flop_style/mainpage_categories/jPolaroid.css"} |
---|
2 | {combine_css path="template-extension/flop_style/mainpage_categories/jPolaroid/jpolaroid.minified.css"} |
---|
3 | {combine_script id="jquery.jpolaroid.minified" load="header" path="template-extension/flop_style/mainpage_categories/jpolaroid/jquery.jpolaroid.minified.js"} |
---|
4 | {html_head} |
---|
5 | {literal} |
---|
6 | <script type="text/javascript"> |
---|
7 | $(document).ready(function(){ |
---|
8 | $('.jpolaroid img').polaroid({ |
---|
9 | tape:true, |
---|
10 | shadowPos: "bottom-right", |
---|
11 | bottom: "33px", |
---|
12 | top: "22px", |
---|
13 | left: "27px", |
---|
14 | right: "27px", |
---|
15 | shadowColor: "#CCCCCC", |
---|
16 | backgroundColor: "#FDFDFD" |
---|
17 | }); |
---|
18 | }); |
---|
19 | </script> |
---|
20 | {/literal} |
---|
21 | {/html_head} |
---|
22 | |
---|
23 | <ul class="jpolaroid"> |
---|
24 | {foreach from=$category_thumbnails item=cat} |
---|
25 | <li> |
---|
26 | <a href="{$cat.URL}" title="{$cat.NAME|@replace:'"':' '}"> |
---|
27 | <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" > |
---|
28 | </a> |
---|
29 | </li> |
---|
30 | {/foreach} |
---|
31 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.