Changeset 7575


Ignore:
Timestamp:
Nov 2, 2010, 2:24:08 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] adjust width with pamooramic.

File:
1 edited

Legend:

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

    r7574 r7575  
    439439                  TheImg = jQuery("#pamoorama");
    440440                  if (typeof (myPamoorama) == "undefined") {
     441
    441442                      return
    442443
    443444                  }
    444 
    445 
     445                 
     446
     447         
    446448                  po = myPamoorama;
    447449
     
    573575
    574576
    575                       if (typeof (myPamoorama.imageHeight) == "undefined") return;
     577                      if (typeof (myPamoorama.imageHeight) == "undefined") {
     578                           old_w = 0;
     579                          return;
     580                      }
    576581
    577582                      img_reelle.height = myPamoorama.imageHeight;
     
    938943                  jQuery("#linkPrev").css({ width: "200px", overflow: "hidden" });
    939944                  zoom = Image_height / img_height;
    940                   var init_old_w;
    941                   if (init_old_w == 0) {
    942                       init_old_w = old_w;
    943                       old_w = 0;
    944                   }
     945                 
    945946
    946947
     
    10571058
    10581059      } // function
    1059 );                                                                                                                                                                                                                                                                                                                                                                                                                                                       // ready
     1060);                                                                                                                                                                                                                                                                                                                                                                                                                                                          // ready
    10601061    /*
    10611062*
Note: See TracChangeset for help on using the changeset viewer.