source: extensions/akBookStyle/trunk/template/ak_reloaded_image.tpl @ 3782

Last change on this file since 3782 was 3782, checked in by vdigital, 15 years ago

2nd version close to the initial version (Not working currently).

File size: 1.4 KB
Line 
1{if !empty($AK_PIC_SRC) or true}
2<div id="reload">
3  <table class="picture">
4    <tr class="nline">
5      <td class="ncol">
6        {if isset($AK_PREVIOUS) }
7
8        <a class="{$AK_PREVIOUS.load} navButton" href="{$AK_PREVIOUS.U_PIC}"
9           title="{'previous_page'|@translate} : {$AK_PREVIOUS.TITLE}"
10           rel="prev">
11          <img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png"
12               class="button" alt="{'previous_page'|@translate}">
13        </a>
14        {/if}
15      </td>
16    </tr>
17   
18    <tr class="nline">
19      <td class="ak_pic">
20        <img src="{$AK_PIC_SRC}" alt="{$AK_PIC_ALT}" title="{$AK_PIC_TITLE}">
21      </td>
22    </tr>
23   
24    <tr class="nline">
25      <td class="ncol">
26        {if !empty($AK_NEXT) }
27        <a class="{$AK_NEXT.load} navButton" href="{$AK_NEXT.U_PIC}"
28           title="{'next_page'|@translate} : {$AK_NEXT.TITLE}"
29           rel="next">
30          <img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png"
31               class="button" alt="{'next_page'|@translate}">
32        </a>
33        {/if}
34      </td>
35    </tr>
36  </table>
37</div>
38{/if}
39
40
41{known_script id="jquery" src=$ROOT_URL|cat:"template-common/lib/jquery.packed.js"}
42{html_head}
43<link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/ak_style.css">
44{literal}
45<script type="text/javascript">// <![CDATA[
46$(document).ready(function() {
47  $("a.load")
48  .click(function() {
49  $("#reload").load("./plugins/ak_loader.php?"+this.href);
50    return false;
51  });
52});
53 // ]]>
54</script>
55{/literal}
56{/html_head}
Note: See TracBrowser for help on using the repository browser.