Ignore:
Timestamp:
Aug 16, 2011, 3:27:53 PM (13 years ago)
Author:
cljosse
Message:

[extensions] Autosize fix compatibility with 'charlies video'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/template/picture.tpl

    r11461 r11961  
    33  cursor:pointer;
    44}
     5     </style>
    56
    6      </style>
     7{php}
     8global $picture;
     9$zoom=$_POST['zoom'];
     10$this->assign('zoom', $zoom );
     11
     12{/php}
    713 <a onclick = "Toggle_bp()"  id="bp_cla"
    814    title="{'cl_autosize_info_2'|@translate}"
    915    alt="{'cl_autosize_info_2'|@translate}" />
    10     <img class="button" id="bp_img_cla" alt="{'cl_autosize_info_2'|@translate}"  src="{$cl_autosize_button.ICON}"  complete="complete"/>
     16    <img class="button" id="bp_img_cla" alt="{'cl_autosize_info_2'|@translate}"  src="{$cl_autosize_button.ICON}"  complete="complete"/>{$zoom}
    1117  </a>
    1218
    13  <script language=javascript type="text/javascript">
    14  
    15 
     19 <script language="JavaScript" type="text/javascript">
    1620 {if $ASP.width}
     21   jQuery(window).load(function () {ldelim}
    1722 var asp_options ={ldelim} };
    18 
     23   if(typeof $("#imageToolBar") !="undefined" )
    1924    var w = $("#imageToolBar").width();
    2025        if (w === null) {ldelim} w = $("#theImage").width(); }
     
    3944                //$("#theImage img.simple_panorama").panorama(asp_options);
    4045        };
    41  
     46 });
    4247  {/if}
    4348
Note: See TracChangeset for help on using the changeset viewer.