Changeset 10561 for extensions/Autosize/js/Affiche_script.js
- Timestamp:
- Apr 22, 2011, 11:55:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r10308 r10561 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 }18 1 19 2 … … 643 626 644 627 img_reelle.width = parseInt(img_reelle.width); 645 646 if (img_reelle.width < mini_width) return true; 628 jQuery(Cadre).width(mini_width); 629 if (img_reelle.width < mini_width) { 630 jQuery(Cadre).width(mini_width); 631 return true; 632 633 } 647 634 648 635 img_reelle.height = parseInt(img_reelle.height); … … 902 889 } 903 890 //=== cadre = theImage 904 jQuery(Cadre).css({ marginLeft: "auto" });891 jQuery(Cadre).css({ marginLeft: "auto" }); 905 892 // jQuery(Cadre).width(Zone_Affichage.width); 906 893 jQuery(Cadre).css("width", "auto"); … … 1067 1054 1068 1055 } 1069 1056 //jQuery("#gbo").width(); 1057 jQuery(Cadre).width(img_finale.width + marges_llgbo); 1070 1058 1071 1059 if (!theme.match(RegExp("lapis", "gi"))) {
Note: See TracChangeset
for help on using the changeset viewer.