FilesSubmittedBranchesLabelsClientsUsersJobsHelp
Tree viewShow/hide recent activityInformation
Recent activity in //depot/...
2412005/11/08ksimpsonprocmail: pharma spam that sneaks past greylistd. v1agra, c1alis, 'replica watches'.
2342005/11/02zz9fast: print solve time. 0.004s. ken's main branch: 0.31s. just saying.
2272005/10/30nullbytestrip <script> out of page bodies. someone (zz9) had an XSS in FrontPage within
2192005/10/20ksimpsoniTunes 4.9 does podcasts natively now, so podgrab is officially obsolete.
2082005/09/17nullbytegreylistd 0.4: point people at a page explaining the 450 instead of just being rude
Change 126

Change 126 by mtx@mtx-sparc on 2005/02/12 14:16:40

map: info windows with ssid/channel. IE6 wants Msxml2.XMLHTTP on some boxes.
Affected files ...
//depot/projects/wardrive-map/map.html#2 edittext
Differences ...

==== //depot/projects/wardrive-map/map.html#2 (text) ====

@@ -21,9 +21,16 @@
2121
2222 function getXHR() {
2323 if (window.XMLHttpRequest) return new XMLHttpRequest();
24 try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
2425 return new ActiveXObject("Microsoft.XMLHTTP");
2526 }
2627
28 function makeMarker(p, html) {
29 var m = new GMarker(p);
30 GEvent.addListener(m, "click", function() { m.openInfoWindowHtml(html); });
31 return m;
32 }
33
2734 var req = getXHR();
2835 req.open("GET", "nets.xml", true);
2936 req.onreadystatechange = function() {
@@ -32,7 +39,9 @@
3239 for (var i = 0; i < nets.length; i++) {
3340 var p = new GPoint(parseFloat(nets[i].getAttribute("lng")),
3441 parseFloat(nets[i].getAttribute("lat")));
35 map.addOverlay(new GMarker(p));
42 var html = "<b>" + nets[i].getAttribute("ssid") + "</b><br/>ch " +
43 nets[i].getAttribute("chan");
44 map.addOverlay(makeMarker(p, html));
3645 }
3746 document.getElementById("status").innerHTML = nets.length + " networks";
3847 };

P4Web/LINUX26X86/2005.1/82295 · Copyright © 1995-2005 Perforce Software · ttul.org