Changeset 16594
- Timestamp:
- Jul 10, 2012, 4:19:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r16589 r16594 1872 1872 n++; 1873 1873 }); 1874 1875 1876 1874 if (n > pt.length - 1) n = pt.length - 1; // format le plus grand 1877 1875 if (n < 0) n = 0; // format le plus grand 1878 1879 1880 1881 1876 id_en_cours = pt[n][1]; 1882 1877 last_map = pt[n][5]; 1883 1878 var theImg = document.getElementById("theMainImage"); 1884 1885 1879 if (id3.length > 0) { 1886 1880 if (theImg.useMap.match(RegExp("map", "gi"))) return true; 1887 1881 changeImgSrc(id_en_cours, last_map, "Autosize"); 1888 1882 } else { 1889 1890 1883 new_html = '<br /><span class="switchCheck" id="derivativeCheckedAutosize" style="visibility:hidden" >✔ </span>'; 1891 1884 new_html += '<a href="javascript:changeImgSrc(\'' + id_en_cours + '\', \'' + last_map + '\', \'Autosize\') ">'; … … 1909 1902 } 1910 1903 1911 1912 if (nu_img == "") nu_img = 7;1913 1904 } 1914 1905 return true; 1915 1906 1916 p2 = jQuery("#infoSwitcher").css("display");1917 Set_Map(p2);1918 jQuery(jQuery('.debug').get(nu_img)).trigger('ON');1919 Autosize_resize(true);1920 1907 }; 1921 1908 … … 2061 2048 } 2062 2049 jQuery("#theMainImage").height(jQuery("#theMainImage").width() / rapport); 2063 2064 2050 Zone_image.zoom = (Zone_image.image.height / Zone_image.height_init); 2065 2066 2051 zoom_cl = parseInt(100 * Zone_image.zoom); 2067 zoom_cl = Zone_image.zoom;2068 2052 jQuery('#zoom ').val(zoom_cl); 2069 2053
Note: See TracChangeset
for help on using the changeset viewer.