source: extensions/flop_style/thumbnails/jPolaroid.tpl @ 12673

Last change on this file since 12673 was 12673, checked in by flop25, 12 years ago

jPolaroid : js issue corrected
medium_cat.css : minor css change about the size

File size: 1.1 KB
Line 
1{combine_css path="template-extension/flop_style/thumbnails/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.min.js"}
4{html_head}
5  {literal}
6<script type="text/javascript">
7$(document).ready(function(){
8    $('.thumb_jpolaroid').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{if !empty($thumbnails)}
24{strip}{foreach from=$thumbnails item=thumbnail}
25        <li>
26                        <a href="{$thumbnail.URL}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|truncate:11:" [...]"|@replace:'"':' '}{/if}">
27                                <img src="{$thumbnail.TN_SRC}" class="thumb_jpolaroid" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" >
28                        </a>
29        </li>
30{/foreach}{/strip}
31{/if}
Note: See TracBrowser for help on using the repository browser.