Changeset 8070 for extensions/Autosize/js
- Timestamp:
- Dec 10, 2010, 12:02:59 PM (13 years ago)
- Location:
- extensions/Autosize/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r8057 r8070 4 4 // jQuery est chargé 5 5 } 6 7 //http: //maps.gstatic.com/cat_js/intl/fr_ALL/mapfiles/api-3/3/3a/{common,map,util,marker}.js 6 8 7 9 function Toggle_bp() { … … 59 61 fade_in = parseInt(fade_in); 60 62 if (fade_in == 0) { 63 if (msie) 64 jQuery(Parent).css({opacity:"1",filter: "alpha(opacity=100)"}); 65 else 61 66 jQuery(Parent).css("opacity","1"); 62 67 } else { … … 82 87 function (jQuery) { 83 88 jQuery(window).load(function () { 84 89 if (fade_in != 0) { 90 if (msie) 91 jQuery("#theImage").css({ opacity: "0" }); 92 else 93 jQuery("#theImage").css({ opacity: "0" }); 94 } 85 95 //======= cl_conflit ====== 86 96 img_top = "0"; … … 576 586 img_finale.width = Image_width; 577 587 if (theme.match(RegExp("stripped", "gi"))) { 578 img_finale.width 579 img_finale.height = img_finale.width /rapport;588 img_finale.width -= llgboframe.top; 589 img_finale.height = img_finale.width / rapport; 580 590 } 581 591 zoom = echelle; … … 589 599 590 600 591 wingbo = img_finale.width; 592 heightgbo = img_finale.height; 593 img_finale.width -= marges_llgbo 601 wingbo = img_finale.width; 602 heightgbo = img_finale.height; 603 img_finale.width -= marges_llgbo; 594 604 img_finale.height -= marges_llgbo; 595 605 … … 750 760 751 761 752 jQuery("#pamoorama_inner ").css({ zoom: zoom });762 // if(msie || safari) jQuery("#pamoorama_inner ").css({ zoom: zoom }); 753 763 //==================================================== 754 764 jQuery("#pamoorama").css({ … … 1311 1321 1312 1322 1313 $(function () {1323 jQuery(function () { 1314 1324 jQuery('#pamoorama').live('ON', function (e) { 1315 1325 jQuery(jQuery('.debug').get(1)).trigger('ON'); … … 1323 1333 // Custom Event, ON to turn on a debug. 1324 1334 jQuery('.debug').live('ON', function (e) { 1325 1335 1326 1336 jQuery('.debug').trigger('OFF'); 1327 1337 jQuery(this).addClass('debugOn'); … … 1330 1340 // On Click = debugs On 1331 1341 jQuery('.debug').live('click', function (e) { 1332 1342 1333 1343 jQuery(this).trigger('ON'); 1334 1344 }); … … 1336 1346 // Custom Event, Turn off a debug 1337 1347 jQuery('.debug').live('OFF', function (e) { 1338 1348 1339 1349 jQuery(this).removeClass('debugOn'); 1340 1350 }); … … 1342 1352 // on Double Click, remove the debug from the DOM 1343 1353 jQuery('.debug').live('dblclick', function () { 1344 1354 1345 1355 jQuery(this).fadeOut(function () { $(this).remove() }); 1346 1356 }); … … 1355 1365 // Add 10 testing debugs to start with 1356 1366 jQuery(window).load(function () { 1357 if (DEBUG == "true") { 1358 for (var i = 0; i < 10; i++) { 1359 jQuery('#adddebugs').click(); 1367 if (DEBUG == "true") { 1368 for (var i = 0; i < 10; i++) { 1369 jQuery('#adddebugs').click(); 1370 } 1371 jQuery(jQuery('.debug').get(8)).click(); 1372 1360 1373 } 1361 jQuery(jQuery('.debug').get(8)).click(); 1362 1363 } 1364 }); //on load 1374 }); //on load 1365 1375 }); -
extensions/Autosize/js/conflit.js
r8057 r8070 72 72 function conflit(element, nc) { 73 73 //--- cl_conflit 74 if (typeof (element) == "string") { 75 if (element.match("^#|.ui", "gi")) { 76 ret_element = jQuery(element); 77 return ret_element; 78 } 79 } 74 80 var retour = (getStackTrace()); 75 81 Fn = retour.fn; … … 503 509 $_ = $; 504 510 function save_framework(page) { 511 505 512 try { 506 513 Conflit = { version: cl_version, name: cl_plugin }; … … 513 520 514 521 } 522
Note: See TracChangeset
for help on using the changeset viewer.