Changeset 9948 for extensions/Autosize/js
- Timestamp:
- Mar 31, 2011, 12:16:12 PM (14 years ago)
- Location:
- extensions/Autosize/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r9473 r9948 1 2 if (typeof (randomPictOpt) == "undefined") { 3 var randomPictOpt = { 4 fixedHeight: 100, 5 delay: 10050, 6 showName: "n", 7 showComment: "n", 8 pictures: [ 9 { 10 'comment': '', 11 'link': "", 12 'name': '', 13 'thumb': "" 14 } 15 ] 16 }; 17 } 1 18 2 19 … … 591 608 592 609 } 610 MinWidth=jQuery(TheImg).css("minWidth"); 611 if (MinWidth == "0px") 612 MinWidth =mini_width; 613 MinHeight = jQuery(TheImg).css("minHeight"); 614 if (MinHeight == "0px") 615 MinHeight = mini_height; 616 617 MaxWidth = jQuery(TheImg).css("maxWidth"); 618 if (MaxWidth == "0px") 619 MaxWidth = winwidth; 620 MaxHeight = jQuery(TheImg).css("maxHeight"); 621 if (MaxHeight == "0px") 622 MaxHeight = mwinheight; 593 623 594 624 //=============== Vérification taille minimale autorizée ====================== 595 var miniWidth = jQuery(TheImg).Get_Val_int( jQuery(TheImg).css("min-width"), mini_width);596 var miniHeight = jQuery(TheImg).Get_Val_int( jQuery(TheImg).css("min-height"), mini_height);597 598 var miniWidth2 = jQuery(TheImg).Get_Val_int( jQuery(TheImg).css("min-width"), mini_width2);599 var miniHeight2 = jQuery(TheImg).Get_Val_int( jQuery(TheImg).css("min-height"), mini_height2);600 601 var maxWidth = jQuery(TheImg).Get_Val_int( jQuery(TheImg).css("max-width"), winwidth, "0");602 maxHeight = jQuery(TheImg).Get_Val_int( jQuery(TheImg).css("max-height"), winheight, "0");625 var miniWidth = jQuery(TheImg).Get_Val_int(MinWidth, mini_width); 626 var miniHeight = jQuery(TheImg).Get_Val_int(MinHeight, mini_height); 627 628 var miniWidth2 = jQuery(TheImg).Get_Val_int( MinWidth, mini_width2); 629 var miniHeight2 = jQuery(TheImg).Get_Val_int( MinHeight, mini_height2); 630 631 var maxWidth = jQuery(TheImg).Get_Val_int(MaxWidth, winwidth, "0"); 632 maxHeight = jQuery(TheImg).Get_Val_int(MaxHeight, winheight, "0"); 603 633 604 634 -
extensions/Autosize/js/conflit.js
r9283 r9948 4 4 // $_SERVER['HTTP_USER_AGENT'] ; 5 5 var OS, version; 6 6 7 //============================================================================== 7 8 browser = detect_browser();
Note: See TracChangeset
for help on using the changeset viewer.