Ignore:
Timestamp:
Nov 6, 2010, 5:16:46 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix display time(to test!)

File:
1 edited

Legend:

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

    r7669 r7672  
    33var init_tb = 0;
    44//===================================================
     5 
    56function $(element, nc) {
    67   return conflit(element, nc)
     
    3435
    3536//alert(retour);
    36  if (retour.match(RegExp("jquery|switchmenu|gmaps", "gi"))) {
     37if (retour.match(RegExp("jquery|switchmenu|gmaps|switchInterface|gally", "gi"))) {
    3738    return jQuery(element);
    3839}
     
    8485        return jQuery().$Prototype(element);
    8586    }
    86 
     87    if (element == "document") return jQuery(element);
    8788    alert(retour);
    8889
    8990    retour= jQuery(element);
    90  return retour;
     91    return retour;
     92
     93
    9194         return jQuery().$Pamoorama(element);
    9295           
    9396              }
    94 //============================================================
    95  
    96 jQuery(document).ready(
     97              //============================================================
     98
     99              jQuery(document).ready(
    97100      function (jQuery) {
    98            tpj = jQuery("#pamoorama");
    99           if (tpj.length > 0) {             }
     101
     102          tpj = jQuery("#pamoorama");
     103          if (tpj.length > 0) { }
    100104          jQuery(window).load(function () {
     105
     106              function $(element, nc) {
     107                  return conflit(element, nc);
     108              }
     109              tpfn=typeof( inittoolbar);
     110
     111              if (tpfn == "function") inittoolbar();
     112              jQuery("#imageToolBar").css({ position: "relative", top: "0px" });
     113             
     114
    101115              if (jQuery("#theImage").css("position") == "relative") {
    102116                  //==== compatibilité Gally/LLGBO ===
    103117                  //--- passage relative ==> static ===/
    104118                  jQuery("#theImage").css("position", "static");
     119                  jQuery("#imageToolBar").css({ position: "relative", top: "0px" });
    105120              }
    106                   function $(element, nc) {
    107                       return conflit(element, nc);
    108                     }
    109              
     121 jQuery(window).resize();
    110122          });
    111123
Note: See TracChangeset for help on using the changeset viewer.