Changeset 7538


Ignore:
Timestamp:
Nov 1, 2010, 1:48:24 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix bug with pamooramic...

Location:
extensions/Autosize
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/js/Affiche_script.js

    r7537 r7538  
    2222
    2323      function (jQuery) {
    24          
     24
    2525
    2626          if (DEBUG == "false") {
     
    9999          */
    100100          function Info_entete(Parent) {
    101          
     101
    102102              var info_imageToolBar = jQuery("#imageToolBar").info();
    103103              if (info_imageToolBar.position == "absolute") {
     
    120120
    121121              }
    122  
     122
    123123              marge_top = Info_the_page.top +
    124124                                     Info_the_page.borderwidth.top +
     
    426426                  winwidth = info_content.width;
    427427                  marge_right = info_imageInfoBar.width + marge_right;
     428
    428429              }
    429430              else
     
    890891
    891892              } else if (Type_Img == "pamoorama") {
    892                   return;
     893                   return;
    893894
    894895                  marge_left += 0;
     
    985986                      if (!theme.match(RegExp("lapis", "gi"))) { }
    986987                  } else if (theme.match(RegExp("simple", "g"))) {
    987 
     988 jQuery("#imageInfoBar").height(Bandeau_bas.top);
    988989                  } else {
    989990
     
    998999                  pos = jQuery("#copyright").info();
    9991000              if (pos.top > 100) jQuery("#the_page").height(pos.top);
    1000 
    10011001              if (old_w == jQuery(window).width() && old_h == jQuery(window).height()) return;
    10021002              jQuery(window).resize();
     
    10321032
    10331033      } // function
    1034 );                                                                                                                                                                                                                                                                                                                                                                                                                                // ready
     1034);                                                                                                                                                                                                                                                                                                                                                                                                                                  // ready
    10351035    /*
    10361036*
  • extensions/Autosize/js/conflit.js

    r7536 r7538  
    22var d1 = 0;
    33var init_tb = 0;
    4 /*
    5 function $(element, nc) {
    6     if (MooTools.version == "1.2.4") {
    7         MooTools_version = "Luciano"; // luciano
    8         return  jQuery().$Luciano(element, nc);
    9     }
    10 }
    11 */
     4
    125jQuery(window).load(function () {
    136    if (jQuery("#theImage").css("position") == "relative") {
     
    2114            n = Browser;
    2215        }
     16    });
     17
    2318
    2419    function $(element, nc) {
    2520        //============== détection framework ==================
    26 
    27 
    2821        var tp1 = typeof (MooTools);
    2922        var MooTools_version = "0";
    3023
    3124        if (tp1 != "undefined") {
     25            MooTools_version = "1";
    3226            if (MooTools.version == "1.2.4") {
    3327                MooTools_version = "Luciano"; // luciano
     
    3731            if (MooTools.version == "1.11") {
    3832                MooTools_version = "pamoorama"; //pamoorama
    39                 try {
    40 
    41                 } catch (e) {
    42 
    43                 };
    4433            }
    4534
     
    360349
    361350    }
    362 });
     351
    363352//=========================================================
    364353(function ($) {
  • extensions/Autosize/main.inc.php

    r7536 r7538  
    22/*
    33Plugin Name: AutoSize
    4 Version: 1.2.8
     4Version: 1.2.9
    55Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448
Note: See TracChangeset for help on using the changeset viewer.