Changeset 7817


Ignore:
Timestamp:
Nov 19, 2010, 12:17:28 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix bugs.

Location:
extensions/Autosize
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/autosize.inc.php

    r7816 r7817  
    151151
    152152$autocss="<script type='text/javascript'>
    153 jQuery('#theImage').css({opacity:'0.20'});
     153jQuery('#theImage').css({opacity:'0.1'});
    154154</script>";
    155155
  • extensions/Autosize/js/Affiche_script.js

    r7816 r7817  
    3232              if(! jQuery().newResize()) setTimeout("Wait_Pamoorama()", 500);
    3333                 if (  myPamoorama.options.width!= new_width ) return
    34                    jQuery("#theImage").css(
     34                 jQuery("#theImage").css(
    3535                         { opacity: 1 }
    3636                        );
     37                         
    3738}
     39 
    3840 
    3941 
     
    381383                        }
    382384    }
     385    //======== Doubler  resize ! pour Chrome, safari ==================
    383386             jQuery().newResize();
    384      
    385  
     387              setTimeout("jQuery().newResize()", 100);
     388 setTimeout("jQuery().newResize()", 100);
     389
    386390         }); // window.onload
    387391         /* Extension
     
    10811085                 jQuery("#pamoorama_outter").width(new_width) ;
    10821086                 jQuery("#pamoorama_outter").height(info_pamoorama.height-info_pamoorama_footer.height);
    1083                  jQuery("#pamoorama_fouter").width(new_width) ;
     1087                 
     1088
    10841089
    10851090                 jQuery("#pamoorama_outter").css({width:new_width+"px",
    10861091                 height:info_pamoorama.height-info_pamoorama_footer.height+"px"
    10871092                 } );
    1088                 jQuery("#pamoorama_footer").css({width:new_width+"px"})
     1093          //     
    10891094                     //====================================================
    10901095                     var info_pamoorama = jQuery("#pamoorama").infos();
     
    10951100
    10961101                     info_frame = jQuery(myPamoorama.frame).infos();
    1097                      myPamoorama.ratio = new_width / 200;
    1098                  //    jQuery("#pamoorama_frame").width(myPamoorama.ratio);
    1099                  //    jQuery("#pamoorama_frame").css("width", myPamoorama.ratio + "px");
    1100 
    1101                  jQuery("#pamoorama_footer img").css({ width: "", height: "" });
    1102 
     1102               /*   myPamoorama.ratio = new_width / 200;
     1103                  jQuery("#pamoorama_frame").width(myPamoorama.ratio);
     1104                  jQuery("#pamoorama_frame").css("width", myPamoorama.ratio + "px");
     1105                 jQuery("#pamoorama_footer img").width(200)
     1106                 jQuery("#pamoorama_footer img").css({ width: "200px", height: info_pamoorama_footer.height+"px" });
     1107                 jQuery("#pamoorama_footer").width(new_width) ;
     1108                 jQuery("#pamoorama_footer").css({width:new_width+"px"})
    11031109
    11041110                     jQuery(TheImg).height(img_finale.height);
     
    11061112                     jQuery(TheImg).css("height", img_finale.height + "px ");
    11071113                     jQuery(TheImg).css("width", img_finale.width + "px ");
    1108 
     1114*/
    11091115                     zoom = Image_height / img_height;
    11101116
  • extensions/Autosize/js/conflit.js

    r7816 r7817  
    272272                    }
    273273                    if (Src_Match.match("main")) {
    274                         alert(Src_Match)
     274                     
    275275                        callstack.push("main");
    276276                        isCallstackPopulated = true;
Note: See TracChangeset for help on using the changeset viewer.