Changeset 17776 for extensions/edit_gmaps/admin/js/JScript.js
- Timestamp:
- Sep 6, 2012, 1:11:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/edit_gmaps/admin/js/JScript.js
r17761 r17776 1 1 if (typeof console=="undefined") { 2 console = function (i) { 3 4 } 5 console.log = function () { 6 7 } 8 } 2 9 if (!window.log) { 3 10 window.log = function () { … … 18 25 19 26 jQuery(document).ready(function () { 20 jQuery('input').click(function (i) { 21 22 23 }); 24 25 jQuery("#selectNone").click(function (i) { 26 no_affiche = "false"; 27 if (no_affiche != "true") { 28 ef_reduce("geoposition", { fast: true }) 29 27 28 jQuery("#geoposition").each(function (i) { 29 if (no_affiche == "false") { 30 jQuery(this).hide(); 30 31 } else { 31 ef_reduce("Elements", { fast: true }) 32 } 33 34 jQuery("#selectNone").css("color", "blue"); 35 36 37 }); 38 jQuery("#selectNone1").click(function (i) { 39 no_affiche = "true"; 40 jQuery("#selectNone").css("color", "red"); 41 jQuery("#selectNone").click(); 42 43 }); 32 jQuery(this).show(); 33 } 34 }); 35 44 36 45 37 jQuery(".thumbnails label").each(function (i) { 46 38 var wrap2 = jQuery(this).children(".wrap2"); 47 wrap2.append("<span class='thumbLegend'> </span>"); 48 }); 49 jQuery("filedset").each(function (i) { 50 51 52 }); 53 54 jQuery(".thumbnails label").each(function (i) { 55 var wrap2 = jQuery(this).children(".wrap2"); 56 57 }); 39 win_id = jQuery(this).children("input").val(); 40 if (win_id) { 41 winp = infos_img[win_id]; 42 if (!winp) return; 43 message = ""; 44 if (winp.EXIF && winp.EXIF != "NO") message = winp.EXIF.toString() + " "; 45 if (winp.BD && winp.BD != "NO") message += winp.BD.toString(); 46 47 wrap2.append("<div><span class='thumbLegend' id='" + win_id + "'>" + message + " </span></div>"); 48 } 49 }); 50 51 jQuery(".thumbLegend").mouseover(function (i) { 52 winp = infos_img[this.id]; 53 if (!winp) return; 54 message = ""; 55 if (winp.lat) message = winp.lat.toString() + " "; 56 if (winp.lon) message += winp.lon.toString(); 57 58 jQuery(this).text(message); 59 60 }); 61 jQuery(".thumbLegend").mouseout(function (i) { 62 winp = infos_img[this.id]; 63 if (!winp) return; 64 message = ""; 65 if (winp.EXIF && winp.EXIF != "NO") message = winp.EXIF.toString() + " "; 66 if (winp.BD && winp.BD != "NO") message += winp.BD.toString(); 67 68 jQuery(this).text(message); 69 70 }); 71 72 73 58 74 }); 59 75
Note: See TracChangeset
for help on using the changeset viewer.