Changeset 7672
- Timestamp:
- Nov 6, 2010, 5:16:46 PM (13 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/conflit.js
r7669 r7672 3 3 var init_tb = 0; 4 4 //=================================================== 5 5 6 function $(element, nc) { 6 7 return conflit(element, nc) … … 34 35 35 36 //alert(retour); 36 if (retour.match(RegExp("jquery|switchmenu|gmaps", "gi"))) {37 if (retour.match(RegExp("jquery|switchmenu|gmaps|switchInterface|gally", "gi"))) { 37 38 return jQuery(element); 38 39 } … … 84 85 return jQuery().$Prototype(element); 85 86 } 86 87 if (element == "document") return jQuery(element); 87 88 alert(retour); 88 89 89 90 retour= jQuery(element); 90 return retour; 91 return retour; 92 93 91 94 return jQuery().$Pamoorama(element); 92 95 93 96 } 94 //============================================================95 96 jQuery(document).ready(97 //============================================================ 98 99 jQuery(document).ready( 97 100 function (jQuery) { 98 tpj = jQuery("#pamoorama"); 99 if (tpj.length > 0) { } 101 102 tpj = jQuery("#pamoorama"); 103 if (tpj.length > 0) { } 100 104 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 101 115 if (jQuery("#theImage").css("position") == "relative") { 102 116 //==== compatibilité Gally/LLGBO === 103 117 //--- passage relative ==> static ===/ 104 118 jQuery("#theImage").css("position", "static"); 119 jQuery("#imageToolBar").css({ position: "relative", top: "0px" }); 105 120 } 106 function $(element, nc) { 107 return conflit(element, nc); 108 } 109 121 jQuery(window).resize(); 110 122 }); 111 123 -
extensions/Autosize/main.inc.php
r7669 r7672 21 21 //add_event_handler('render_element_content', array(&$obj, 'paMOOramics_load'),41,2); 22 22 // add_event_handler('render_element_content', array(&$autosize_controler, 'cl_autosize_script'),42,2 ); 23 // add_event_handler('picture_pictures_data', array(&$autosize_controler, 'cl_autosize_script_2'),50 );23 add_event_handler('loc_after_page_header', array(&$autosize_controler, 'cl_autosize_script_2'),20 ); 24 24 25 25 //================================================================================================= 26 26 //add_event_handler('loc_after_page_header', array(&$autosize_controler, 'cl_autosize_script'),40 ); 27 27 28 //---- Categorie - attention Gmaps ne marche plus($.ajax)---28 //---- Categorie --- 29 29 add_event_handler('loc_begin_index', array(&$autosize_controler, 'cl_autosize_script'),51 ); 30 30
Note: See TracChangeset
for help on using the changeset viewer.