source: extensions/pdf2tab/template/pdf2tab_picture.tpl @ 19287

Last change on this file since 19287 was 19287, checked in by julien1311, 11 years ago

Begin work on picture.php

  • Property svn:eol-style set to LF
File size: 529 bytes
Line 
1{html_head}
2{literal}
3<script type="text/javascript">
4        //Add a link to the thumbnail
5        function pdf2tab_link() {
6                $("img[pdf2tab$=pdf]").closest('a').attr("target","_blank");
7                $("img[pdf2tab$=pdf]").closest('a').attr("href",$("img[pdf2tab$=pdf]").attr("pdf2tab"));
8        }
9 
10        //When the document has finiched to load
11        jQuery(document).ready(function(){
12                pdf2tab_link();
13        });
14 
15        //Allow pdf2tab to work with RV Thumb Scroller
16        jQuery(window).bind("RVTS_loaded", function(){
17                pdf2tab_link();
18        });
19</script>
20{/literal}
21{/html_head}
Note: See TracBrowser for help on using the repository browser.