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