Changeset 7931 for extensions/Autosize
- Timestamp:
- Nov 29, 2010, 11:20:59 AM (13 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/admin/template/admin.tpl
r7912 r7931 83 83 <legend class="cluetip" title="{'cl_autosize_config_title_1'|@translate}|{'cl_autosize_hlp_line1'|@translate}">{'cl_autosize_config_title_1'|@translate}</legend> 84 84 <td>{'User status'|@translate}</td> 85 85 86 <td>{'cl_autosize_height'|@translate}</td> 86 87 <td style="visibility:visible">{'cl_autosize_width'|@translate} -
extensions/Autosize/js/Affiche_script.js
r7917 r7931 71 71 ); 72 72 73 return;74 if (fade_in==0 )75 {76 jQuery(Parent).css({77 opacity: 178 79 }80 )81 }else{82 jQuery(Parent).animate(83 { opacity: 1 }, fade_in , "swing"84 );85 }86 87 88 89 73 } 90 74 … … 129 113 nopano = false; 130 114 131 132 133 115 /* 134 116 * … … 150 132 Parent = "#theImage"; 151 133 Zone_Affichage = jQuery(Parent).infos(); 152 if (Zone_Affichage.width == 0)153 Parent = Parent + "Box";154 155 Parent = "#theImage";156 Zone_Affichage = jQuery(Parent).infos();157 134 // 158 135 var old_window = { width: 0, height: 0 }; … … 253 230 254 231 var Cadre = jQuery(Parent).get(0); 255 if (Cadre == null) {256 Parent = "#theImageBox";257 Cadre = jQuery(Parent).get(0);258 }259 260 232 var info_Cadre = jQuery(Cadre).infos(); 261 233 //=============== Information cadre ====== … … 299 271 //--------------------------------------------- 300 272 jQuery(Parent).width(winwidth); 301 // jQuery(Parent).height(Zone_Affichage.height); 273 jQuery(Parent).css({ height: "auto" }); 274 275 276 // jQuery(Parent).height(Zone_Affichage.height); 302 277 //--------------------------------------------- 303 278 … … 425 400 426 401 } 427 402 428 403 //=============== Vérification taille minimale autorizée ====================== 429 404 var miniWidth = jQuery(TheImg).Get_Val_int(jQuery(TheImg).css("min-width"), mini_width); … … 463 438 borderW = Zone_Affichage.borderwidth.left; 464 439 borderW += Zone_Affichage.borderwidth.right; 465 440 466 441 467 442 Zone_Affichage.width = winwidth - borderW; … … 500 475 //========================================================================== 501 476 h = 0; 502 Zone_Affichage.height -= (Zone_Affichage.margin.top + Zone_Affichage.margin.bottom); 477 478 Zone_Affichage.height -= (Zone_Affichage.padding.bottom + Zone_Affichage.padding.top + Zone_Affichage.margin.top + Zone_Affichage.margin.bottom); 503 479 Bandeau = Bandeau_t.bottom; 504 480 Zone_Affichage.height = winheight - Bandeau - Marge_Basse - correction; … … 699 675 700 676 701 jQuery(Cadre).width(Zone_Affichage.width );702 jQuery(Cadre).height(Zone_Affichage.height); 677 jQuery(Cadre).width(Zone_Affichage.width-4); 678 703 679 //============= Remise à l'échelle ======================= 704 680 … … 831 807 832 808 info_frame = Zone_Affichage; 809 h0 = jQuery(Cadre).outerHeight(true); 810 jQuery(Cadre).height(info_frame.height+5); 833 811 834 812 jQuery("#navThumbPrev").css({ overflow: "hidden" }); … … 895 873 jQuery("#Debug5").css({ background: "transparent", 896 874 border: "red solid 2px", 897 875 898 876 left: info_frame.left + "px", 899 877 width: info_frame.width + "px", -
extensions/Autosize/js/conflit.js
r7912 r7931 480 480 state = states.join('\n'); 481 481 if (state == "") { 482 482 483 if (DEBUG == "true") { 483 484 Fn = all_functions.join('\n'); 484 alert("non trouvé:" + Fn + "\n" + fn2 + "\n Firefox:" + state_ff); 485 } 485 try { 486 alert(Conflit.name + Conflit.version + "\n Appel non trouvée:" + fn1 + "\n" + Fn + "\n Firefox(retour):" + state_ff); 487 } catch (e) { 488 } 489 } 490 491 486 492 state = state_ff; 487 493 } … … 566 572 567 573 } 568 574 //============================================ 575 /* url (String): URl de la page à charger 576 * params (Map): (optionnel) paires de clé/valeur qui seront envoyées au serveur. 577 * callback (Fonction): (optionnel) fonction qui sera éxécutée quand les données sera chargées. 578 * type (String): (optionnel) format des données renvoyées à la fonction de callback 579 */ 569 580 if (typeof ($.get) != "function") { 570 $.get = function (options) { 571 return jQuery.get(options); 572 } 573 574 581 $.get = function ( a, b, c, d) { 582 return jQuery.get(a, b, c,d ); 583 } 575 584 } 576 585 $_ = $; … … 586 595 587 596 } 588 -
extensions/Autosize/main.inc.php
r7917 r7931 2 2 /* 3 3 Plugin Name: AutoSize 4 Version: 1.3.9. 14 Version: 1.3.9.2 5 5 Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448
Note: See TracChangeset
for help on using the changeset viewer.