Changeset 5392 in spip-zone for _plugins_/thickbox/head.php


Ignore:
Timestamp:
Sep 15, 2006, 3:09:37 PM (15 years ago)
Author:
fil@…
Message:

up jquery + reparation du plugin thickbox (toujours en version 1 de thickbox)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/thickbox/head.php

    r4458 r5392  
    1111
    1212'
     13<script src=\''.url_absolue(find_in_path('thickbox.js')).'\' type=\'text/javascript\'></script>
     14<link rel="stylesheet" href="'.url_absolue(find_in_path('thickbox.css')).'" type="text/css" media="projection, screen" />
     15
    1316<script type="text/javascript"><!--
    14 $(document).load(function() {
     17$(document).ready(function() {
     18        alert(10);
    1519        if ($("a.thickbox,a[@type=\'image/jpeg\'],a[@type=\'image/png\'],a[@type=\'image/gif\']").addClass("thickbox").size()) {
    1620TB_chemin_animation = "'.url_absolue(find_in_path('circle_animation.gif')).'";
    1721TB_chemin_close = "'.url_absolue(find_in_path('close.gif')).'";
    1822TB_chemin_css = "'.url_absolue(find_in_path('thickbox.css')).'";
     23        TB_init();
    1924}
    2025} );
    21 // --></script>
    22 <script src=\''.url_absolue(find_in_path('thickbox.js')).'\' type=\'text/javascript\'></script>
    23 <link rel="stylesheet" href="'.url_absolue(find_in_path('thickbox.css')).'" type="text/css" media="projection, screen" />
    24 ';
     26// --></script>';
    2527
    2628        return $flux;
Note: See TracChangeset for help on using the changeset viewer.