Changeset 8731


Ignore:
Timestamp:
Jan 18, 2011, 2:21:14 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] compatibility whith stripped


File:
1 edited

Legend:

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

    r8729 r8731  
    11
    2 //Chrome,Firefox,safari diaporama + GMaps incompatible pas de load.
    3 // si Description dans Categorie [gmaps:id=1;
    4 //[gmaps=id:1;width:200;height:120;]
    5 //[gmaps=id:2;width:200;height:120;]
    6  
    72
    83function Toggle_bp() {
     
    8681     function (jQuery) {
    8782         jQuery(window).unload(function () {
    88              
     83
    8984
    9085
     
    276271                     }
    277272                 } else {
    278                      if (info_ToolBar.width > 0)
     273                     if (theme.match(RegExp("stripped", "gi"))) {
     274
     275                         marge = (info_the_page.width - info_HeaderBar.width) / 2;
     276                     }else if (info_ToolBar.width > 0)
    279277                         marge = (info_the_page.width - info_ToolBar.width) / 2;
    280278
     
    600598                 img_finale.width = Image_width;
    601599                 if (theme.match(RegExp("stripped", "gi"))) {
    602                      img_finale.width -= llgboframe.top;
     600                     img_finale.width -= (llgboframe.top*2);
    603601                     img_finale.height = img_finale.width / rapport;
    604602                 }
Note: See TracChangeset for help on using the changeset viewer.