Changeset 7571


Ignore:
Timestamp:
Nov 2, 2010, 8:58:31 AM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix bug with themes :simple,montblanc...

Location:
extensions/Autosize
Files:
2 edited

Legend:

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

    r7538 r7571  
    134134          */
    135135          function Info_description(Parent) {
    136 
    137 
    138136              //  jQuery("#" + Parent + " p:not(:contains(' ')) ").remove();
    139 
    140 
    141 
    142137              //=============================================================================
    143138              var info_description = { top: 0, bottom: 0, height: 0 };
    144 
    145139              if (theme.match(RegExp("simple", "gi"))) {
    146140                  jQuery("#" + Parent).css({ padding: "0px",
     
    152146              } else {
    153147
    154                   /*   jQuery("#" + Parent).css({ padding: "0px",
    155                   marginLeft: "auto",
    156                   marginRight: "auto",
    157                   marginTop: "0px",
    158                   marginBottom: "0px"
     148                  jQuery("#" + Parent).css({ padding: "0px",
     149                      marginLeft: "auto",
     150                      marginRight: "auto",
     151                      marginTop: "0px",
     152                      marginBottom: "0px"
    159153                  });
    160                   */
     154
    161155
    162156              }
     
    810804                          jQuery("area[rel=next]").attr({ coords: "'" + coord.x0 + "," + coord.y0 + "," + coord.x1 + "," + coord.y1 + "'" });
    811805                      }
    812 
    813 
    814 
    815 
    816 
    817                       /*
    818                       jQuery("area[rel=prev]").attr({ coords: "'" + 0 + ",0," + (Image_width) / nb_zone + "," + Image_height + "'" });
    819                       jQuery("area[rel=up]").attr({ coords: "'" + Image_width * (nb_zone - 1) / (nb_zone + 1) + ",0," + (Image_width * (nb_zone - 1)) / (nb_zone + 1) + "," + Image_height + "'" });
    820                       jQuery("area[rel=next]").attr({ coords: "'" + (Image_width * (nb_zone - 1)) / (nb_zone + 1) + ",0," + (Image_width * (nb_zone + 1)) / (nb_zone + 1) + "," + Image_height + "'" });
    821                       */
    822 
    823806                  }
    824807              }
     
    891874
    892875              } else if (Type_Img == "pamoorama") {
    893                    return;
     876                  return;
    894877
    895878                  marge_left += 0;
     
    986969                      if (!theme.match(RegExp("lapis", "gi"))) { }
    987970                  } else if (theme.match(RegExp("simple", "g"))) {
    988  jQuery("#imageInfoBar").height(Bandeau_bas.top);
     971
     972                   jQuery("#imageToolBar").css("position", "static");
    989973                  } else {
    990974
     
    10321016
    10331017      } // function
    1034 );                                                                                                                                                                                                                                                                                                                                                                                                                                  // ready
     1018);                                                                                                                                                                                                                                                                                                                                                                                                                                    // ready
    10351019    /*
    10361020*
  • extensions/Autosize/main.inc.php

    r7542 r7571  
    22/*
    33Plugin Name: AutoSize
    4 Version: 1.2.0
     4Version: 1.3.1
    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.