Changeset 984
- Timestamp:
- 03/02/06 10:18:44 (7 years ago)
- Location:
- trunk/wifidog-auth/wifidog
- Files:
-
- 3 added
- 1 modified
-
images/HotspotStatusMap/down.png (added)
-
images/HotspotStatusMap/unknown.png (added)
-
images/HotspotStatusMap/up.png (added)
-
js/hotspots_status_map.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/js/hotspots_status_map.js
r982 r984 321 321 var html_list = ""; 322 322 323 // Detect browser and set extension of image files to use 324 if (typeof(window.innerWidth) == "number") { 325 // Non-IE 326 var image_extension = ".png"; 327 } else { 328 // IE 329 var image_extension = ".gif"; 330 } 331 323 332 // Init marker icons 324 var upIcon = this.createIcon(this.server_path + "images/HotspotStatusMap/up .gif", new GSize(20, 34),333 var upIcon = this.createIcon(this.server_path + "images/HotspotStatusMap/up" + image_extension, new GSize(20, 34), 325 334 this.server_path + "images/HotspotStatusMap/shadow.png", new GSize(37, 34), 326 335 new GPoint(10, 20), new GPoint(10, 1)); 327 var downIcon = this.createIcon(this.server_path + "images/HotspotStatusMap/down .gif", new GSize(20, 34),336 var downIcon = this.createIcon(this.server_path + "images/HotspotStatusMap/down" + image_extension, new GSize(20, 34), 328 337 this.server_path + "images/HotspotStatusMap/shadow.png", new GSize(37, 34), 329 338 new GPoint(10, 20), new GPoint(10, 1)); 330 var unknownIcon = this.createIcon(this.server_path + "images/HotspotStatusMap/unknown .gif", new GSize(22, 34),339 var unknownIcon = this.createIcon(this.server_path + "images/HotspotStatusMap/unknown" + image_extension, new GSize(22, 34), 331 340 this.server_path + "images/HotspotStatusMap/blank.gif", new GSize(22, 34), 332 341 new GPoint(11, 30), new GPoint(11, 1));
