Changeset 10913 for extensions/Autosize/js/Affiche_script.js
- Timestamp:
- May 17, 2011, 6:43:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r10846 r10913 18 18 19 19 } 20 nu_img = 0; 21 tempo=0; 20 22 21 23 function Wait_pamoorama() { … … 23 25 mypanorama = window.myPamoorama; 24 26 if (!mypanorama) { 27 tempo = tempo + 1; 28 if (tempo > 10) 29 return true; 30 25 31 setTimeout("Wait_pamoorama()", 500); 26 32 return false; … … 43 49 } 44 50 } 45 nu_img = 0; 51 46 52 47 53 //========================================================================== … … 253 259 function (event, ui) { 254 260 List_autosize_resize(event, ui); 255 261 jQuery().newResize(); 256 262 }); 257 263 … … 491 497 switch (Type_Img) { 492 498 case "map": 493 img_reelle.height = info_img.height;499 img_reelle.height = winheight; // info_img.height; 494 500 info_map = jQuery("#mapPicture").infos(); 495 501 jQuery("#map").css("left", info_map.width + "px"); … … 1030 1036 jQuery("#navThumbNext").css({ display: 'none' }); 1031 1037 jQuery("#navThumbPrev").css({ display: 'none' }); 1038 jQuery("#theImage").css({ marginTop: info_ToolBar.height+"px", marginLeft: "0px", 1039 width: winwidth+"px", 1040 height: winheight + "px" 1041 }); 1042 //mapPicture 1032 1043 } 1033 1044 try { … … 1041 1052 gallyPP = new GallyPP(); 1042 1053 1043 iph= jQuery("#imageHeaderBar").infos();1044 jQuery("#imageToolBar").css({ top: iph.bottom + "px", position: "absolute" });1045 jQuery("#theImage").width(winwidth);1054 iph = jQuery("#imageHeaderBar").infos(); 1055 jQuery("#imageToolBar").css({ top: iph.bottom + "px", position: "absolute" }); 1056 jQuery("#theImage").width(winwidth); 1046 1057 } 1047 1058 //=========================================================================== 1048 /*1049 1059 if (jQuery("#navThumbPrev").length > 0) { 1050 jQuery("#navThumbPrev").css({ left: 20 + "px", 1051 overflow: "hidden" 1052 }); 1053 1060 jQuery("#navThumbPrevContainer").css({ left: "0px" 1061 }); 1054 1062 } 1055 1063 if (jQuery("#navThumbNext").length > 0) { 1056 jQuery("#navThumbNext").css({ right: 20 + "px", 1057 overflow: "hidden" 1058 }); 1059 1060 } 1061 */ 1062 1064 jQuery("#navThumbNextContainer").css({ left: "0px" 1065 }); 1066 } 1063 1067 //============================================================================= 1064 1065 1066 1068 if (!theme.match(RegExp("lapis", "gi"))) { 1067 1069 if (typeof initializeImageMode == "function") { … … 1536 1538 jQuery(function () { 1537 1539 //'gallyInterfaceReady' 1538 jQuery(Document).live('gallyInterfaceReady',function () { 1539 alert("Clic sur a#test1."); 1540 }); 1540 1541 1541 jQuery('#pamoorama').live('ON', function (e) { 1542 1542 jQuery(jQuery('.debug').get(1)).trigger('ON');
Note: See TracChangeset
for help on using the changeset viewer.