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

[Autosize][beta] save

Location:
extensions/Autosize/js
Files:
2 edited

Legend:

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

    r7817 r7819  
    3737                         
    3838}
    39  
     39function Wait_Affichage() {
     40                if(!jQuery().newResize()) {
     41                 setTimeout("Wait_Affichage()", 500);
     42                 }
     43      fade_in = parseInt(fade_in);
     44            if (fade_in==0 )
     45                 {
     46                 jQuery("#theImage").css({
     47                         opacity: 1,
     48                         filter: 'alpha(opacity:100)'}
     49                 )
     50                                 }else{
     51                 jQuery("#theImage").animate(
     52                         { opacity: 1 }, fade_in   , "swing"
     53                        );
     54             }
     55
     56
     57                 jQuery("#theImage").css(
     58                         { opacity: 1 }
     59                        );
     60                         
     61}
    4062 
    4163 
     
    342364                       init_resize = Resize(); ;
    343365
    344                   jQuery("#theImage").css(
    345                          { opacity: 1 }
    346                         );
     366                 
    347367
    348368               });
    349369
    350370             //============== initialisation ===================
    351              fade_in = parseInt(fade_in);
    352             if (fade_in==0 )
    353                  {
    354                  jQuery("#theImage").css({
    355                          opacity: 1,
    356                          filter: 'alpha(opacity:100)'}
    357                  )
    358                                  }else{
    359                  jQuery("#theImage").animate(
    360                          { opacity: 1 }, fade_in   , "swing"
    361                         );
    362              }
    363371
    364372             var pos;
     
    384392    }
    385393    //======== Doubler  resize ! pour Chrome, safari ==================
    386              jQuery().newResize();
    387               setTimeout("jQuery().newResize()", 100);
    388  setTimeout("jQuery().newResize()", 100);
     394        Wait_Affichage() ;
    389395
    390396         }); // window.onload
  • extensions/Autosize/js/conflit.js

    r7817 r7819  
    467467        }
    468468
    469  
    470   }
    471  
     469
     470    }
     471if (typeof ($.get)!="function")
     472    {
     473        $.get = function (options) {
     474            return jQuery.get(options);
     475        }
     476
     477
     478    }
    472479 
    473480  function save_framework(page) {
Note: See TracChangeset for help on using the changeset viewer.