diff --git a/examples/BaseLayers.html b/examples/BaseLayers.html index 6428110c7a..be92269b42 100644 --- a/examples/BaseLayers.html +++ b/examples/BaseLayers.html @@ -4,7 +4,7 @@ @@ -22,6 +22,15 @@ map.addControl(new OpenLayers.Control.LayerSwitcher()); map.zoomToMaxExtent(); + + } + + function bar(e) { + alert("body"); + } + function foo(e) { + alert("yo"); + return true; } function changer() { @@ -70,9 +79,10 @@ function mousedown(evt) { if (popup == null) { popup = feature.createPopup(); + popup.setContentHTML("click me"); popup.setBackgroundColor("yellow"); popup.setOpacity(0.7); - popup.events.register("mousedown", popup, onPopupMouseDown); +// popup.events.register("mousedown", popup, onPopupMouseDown); markers.map.addPopup(popup); } else { markers.map.removePopup(popup); @@ -112,12 +122,14 @@
-