Hi Adrian,

to change the color of the mousecoordinates div, simply override the css 
like:

<style type="text/css">
.olControlMousePosition {
  color: red;
}
</style>

(tested)


to set the opacity of one popup you could use:

popup.setOpacity(0.7);

(tested)


If you generally want to have another opacity issue:

OpenLayers.Popup.FramedCloud.prototype.opacity = 0.1;
(untested!)

before you instantiate your popups.

Regards,
Marc


Adrian Popa schrieb:
> Hello,
>
> I'm trying to change the transparency of the "FramedCloud" popup in 
> openlayers - to make it 90% opaque. Also, I'd like to change the font 
> color for the MousePosition control. I want to make these changes as 
> much as 'unintrusive' as possible - meaning I'd rather change these 
> values in my code instead of the original OpenLayers code, so that I may 
> upgrade openlayers in the future, without losing changes.
>
> Any ideas on how I can do this?
>
> Thanks,
> Adrian
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
>   

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to