Ignore:
Timestamp:
Dec 6, 2010, 12:44:02 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] compatibility with opera


File:
1 edited

Legend:

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

    r8006 r8007  
    5858
    5959             fade_in = parseInt(fade_in);
    60 
    61              jQuery(Parent).animate(
     60             if (fade_in == 0) {
     61                 jQuery(Parent).css("opacity","1");
     62             } else {
     63                 jQuery(Parent).animate(
    6264                         { opacity: 1 }, fade_in, "swing"
    6365                       , function (i) {
    64                  if (DEBUG == "true") {
    65                      bp1 = jQuery('.debug').get(nu_img);
    66                      if (!bp1) nu_img = 0;
    67                      bp1 = jQuery('.debug').get(nu_img);
    68                      jQuery(bp1).trigger('ON');
    69                 }
     66                           if (DEBUG == "true") {
     67                               bp1 = jQuery('.debug').get(nu_img);
     68                               if (!bp1) nu_img = 0;
     69                               bp1 = jQuery('.debug').get(nu_img);
     70                               jQuery(bp1).trigger('ON');
     71                           }
     72                       }
     73              );
    7074             }
    71               );
    7275
    7376}
     
    137140
    138141             }
     142             old_window = { width: 0, height: 0 };
    139143             Wait_Affichage();
    140 
     144             old_window = { width: 0, height: 0 };
     145             jQuery().newResize();
    141146
    142147             //===================================================================     
     
    985990                        //=== Afficher le titre de l'image sur le cadre ===
    986991                        llgboh2 = jQuery("#gboh2").infos();
    987                       result.img_top += llgboh2.height  ;
     992                      result.img_top += llgboh2.height   ;
    988993                     return result;
    989994
Note: See TracChangeset for help on using the changeset viewer.