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

[extensions] Autosize fix compatibility with 'charlies video'

Location:
extensions/Autosize/template
Files:
3 edited

Legend:

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

    r10845 r11961  
    8787<div id="Debug4"  align=center style="color:black;z-index:2000;position:absolute; background-color:green; top:0px;left:0px;width:800px;margin:auto;"></div>
    8888<div id="Debug5"  align=center style="color:black;z-index:2000;position:absolute; background-color:red; top:100px;left:0px;width:300px;margin:auto;"></div>
    89  
     89 <div id="Debug6"  align=center style="display:none"></div>
    9090<p><button id="adddebugs">Add a debug</button></p>
    9191
     
    9898  {/html_head}
    9999  <!--  << autosize/template/autosize.tpl body  -->
     100
     101
     102
     103  <form action='' method='post' name='form_autosize_picture' id='form_autosize_picture'  type='submit'  >
     104<input id='ret_autosize' name='ret_autosize' type='submit' value='' />
     105<input id='src_img_h' name='src_img_h' type='text' value='' />
     106<input id='src_img_w' name='src_img_w'  type='text' value='' />
     107<input id='window_height' name='window_height' type='text' value='' />
     108<input id='window_width'  name='window_width' type='text' value='' />
     109<input id='zoom'  name='zoom' type='text' value='100%' />
     110</form >
  • extensions/Autosize/template/mes_scripts.tpl

    r11912 r11961  
    66  {literal}
    77<style type="text/css" media="screen">
    8 #scrolltotop { position:fixed; top:100px;right:10px; z-index:1000; opacity:0; }
     8#scrolltotop { position:fixed; bottom:160px;right:5px; z-index:1000; }
    99#scrolltotop a { {/literal}
    1010  background-color:transparent;
     
    1212  background-position:left top; background-repeat:no-repeat;
    1313  display:block;
    14   height:100px; text-indent:-9999px; width:50px; border:0;
     14  height:60px; text-indent:-9999px; width:50px; border:0;
    1515  {literal}
    1616  }
    1717
    18 #scrolltobottom { position:fixed; bottom:100px;right:10px; z-index:1000; opacity:0; }
     18#scrolltobottom { position:fixed;  bottom:80px;right:5px; z-index:1000; }
    1919#scrolltobottom a { {/literal}
    2020  background-color:transparent;
     
    2222  background-position:left top; background-repeat:no-repeat;
    2323  display:block;
    24   height:100px; text-indent:-9999px; width:50px; border:0;
     24  height:60px; text-indent:-9999px; width:50px; border:0;
    2525  {literal}
    2626  }
     
    2828 {/literal} 
    2929{/html_head}
    30 <div id="scrolltobottom"><a title="Aller en bas de la page" href="#"></a></div>
    31 <div id="scrolltotop" ><a title="Revenir en haut de la page" href="#"></a></div>
     30<div id="scrolltobottom"><a title="Revenir en bas de la page" href="#"></a></div>
     31
     32<div id="scrollmiddle" style=" position:fixed;top:300px;right:10px; z-index:1000; opacity:1; " ></div>
    3233{literal}
    3334{/literal}
  • 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.