patch for #441 - resolving Rico namespace conflict

git-svn-id: http://svn.openlayers.org/trunk/openlayers@2094 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-12-22 19:31:32 +00:00
parent 01cf10f53d
commit 112978ac3d
4 changed files with 29 additions and 29 deletions
+5 -5
View File
@@ -354,12 +354,12 @@ OpenLayers.Control.LayerSwitcher.prototype =
this.div.appendChild(this.layersDiv);
Rico.Corner.round(this.div, {corners: "tl bl",
bgColor: "transparent",
color: this.activeColor,
blend: false});
OpenLayers.Rico.Corner.round(this.div, {corners: "tl bl",
bgColor: "transparent",
color: this.activeColor,
blend: false});
Rico.Corner.changeOpacity(this.layersDiv, 0.75);
OpenLayers.Rico.Corner.changeOpacity(this.layersDiv, 0.75);
var imgLocation = OpenLayers.Util.getImagesLocation();
var sz = new OpenLayers.Size(18,18);
+4 -4
View File
@@ -91,7 +91,7 @@ OpenLayers.Popup.AnchoredBubble.prototype =
if (this.div != null) {
if (this.contentDiv != null) {
this.div.style.background = "transparent";
Rico.Corner.changeColor(this.contentDiv, this.backgroundColor);
OpenLayers.Rico.Corner.changeColor(this.contentDiv, this.backgroundColor);
}
}
},
@@ -106,7 +106,7 @@ OpenLayers.Popup.AnchoredBubble.prototype =
if (this.div != null) {
if (this.contentDiv != null) {
Rico.Corner.changeOpacity(this.contentDiv, this.opacity);
OpenLayers.Rico.Corner.changeOpacity(this.contentDiv, this.opacity);
}
}
},
@@ -137,9 +137,9 @@ OpenLayers.Popup.AnchoredBubble.prototype =
blend: false};
if (firstTime) {
Rico.Corner.round(this.div, options);
OpenLayers.Rico.Corner.round(this.div, options);
} else {
Rico.Corner.reRound(this.contentDiv, options);
OpenLayers.Rico.Corner.reRound(this.contentDiv, options);
//set the popup color and opacity
this.setBackgroundColor();
this.setOpacity();