Ignore:
Timestamp:
Mar 2, 2011, 12:08:33 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix default scale to 1
.


Location:
extensions/Autosize/js
Files:
1 deleted
1 edited

Legend:

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

    r9292 r9473  
    780780                         wingbo = img_finale.width;
    781781                         heightgbo = img_finale.height;
     782                         if (Type_Img == "panorama") {
     783                             heightgbo = info_theImage.height;
     784                             img_finale.height = info_theImage.height;
     785                         }
     786
    782787                         img_finale.width -= marges_llgbo;
    783788                         if (jQuery("#slideshow").infos().width > 0) {
     
    12521257
    12531258    if (llgboframe.height > 0) {
    1254 
     1259 ll2 = jQuery("#gbo div:last").infos(); 
    12551260        ll1 = jQuery("#gbo div:first").infos();
    1256         ll2 = jQuery("#gbo div:last").infos(); ;
     1261        ll2 ="" ;
     1262        jQuery("#gbo div").each(function (i) {
     1263       
     1264         if (  this.id=="") return ;
     1265ll2=this ;
     1266        });
     1267       ll2 = jQuery(ll2).infos(); 
    12571268        ll1 = ll1.width;
    12581269        ll2 = ll2.width - ll2.borderwidth.left - ll2.borderwidth.right;
Note: See TracChangeset for help on using the changeset viewer.