update popups.html demo to changes from r252

git-svn-id: http://svn.openlayers.org/trunk/openlayers@253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-22 11:46:53 +00:00
parent 2410d94107
commit 758ebee26e
+2 -3
View File
@@ -28,7 +28,7 @@
function changer() { function changer() {
popup.setBackgroundColor("red"); popup.setBackgroundColor("red");
popup.setSize(new OpenLayers.Size(200,20)); popup.setSize(new OpenLayers.Size(200,20));
popup.setPx(new OpenLayers.Pixel(120,120)); popup.moveTo(new OpenLayers.Pixel(120,120));
popup.setOpacity(.9); popup.setOpacity(.9);
popup.setBorder("2px solid"); popup.setBorder("2px solid");
popup.setContentHTML("High Chickens"); popup.setContentHTML("High Chickens");
@@ -36,11 +36,10 @@
function add() { function add() {
popup = new OpenLayers.Popup("chicken", popup = new OpenLayers.Popup("chicken",
new OpenLayers.Pixel(0,00),
new OpenLayers.Size(200,200), new OpenLayers.Size(200,200),
"example popup"); "example popup");
map.addPopup(popup); map.addPopup(popup, new OpenLayers.Pixel(50,50));
} }
function destroy() { function destroy() {