Dotclear

source: plugins/pixearch/tpl/footer.html @ 656

Revision 656, 898 bytes checked in by hadrien, 14 years ago (diff)

Ajout du plugin Pixearch

Line 
1<p style="text-align: right;">
2     <a href="http://www.alti.info" class="modal">
3          <?php echo __('written by'); ?> Hadrien Lanneau
4     </a>
5     <br />
6     <a href="http://nicolas-guilhou.over-blog.com/" class="modal">
7          <?php echo __('icon by'); ?> Xylpho
8     </a>
9</p>
10
11<script type="text/javascript" charset="utf-8">
12//<![CDATA[
13     $(function()
14     {
15          if ($('a.modal').modalWeb)
16          {
17               $('a.modal').each(
18                    function()
19                    {
20                         if (this.className.indexOf(
21                                   'newwindow'
22                              ) != -1)
23                         {
24                              this.onclick = function()
25                              {
26                                   window.open(this);
27                                   return false;
28                              }
29                         }
30                         else
31                         {
32                              $(this).modalWeb(
33                                   $(window).width()-60,
34                                   $(window).height()-60
35                              );
36                         }
37                    }
38               );
39          }
40          else
41          {
42               $('a.modal').each(
43                    function()
44                    {
45                         this.onclick = function()
46                         {
47                              window.open(this);
48                              return false;
49                         }
50                    }
51               );
52          }
53     });
54     
55//]]>
56</script>
Note: See TracBrowser for help on using the repository browser.

Sites map