[OpenLayers-Users] Popup Opacity issues

joanne cook j.cook at oxfordarch.co.uk
Mon Apr 16 11:29:26 EDT 2007


Hi Andrew,
 
Thanks for getting back to me. That hasn't made any difference...
 
Jo
 
-------------------------------------------
Joanne Cook BSc MLitt AIFA MBCS
Information Systems Coordinator
Oxford Archaeology North
-------------------------------------------

________________________________

From: Andrew Larcombe [mailto:andrew at andrewlarcombe.co.uk]
Sent: Mon 16/04/2007 16:08
To: joanne cook
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] Popup Opacity issues




On 16 Apr 2007, at 14:57, joanne cook wrote:

> Hi All,
>
> I have two versions of a map, one which is a little broken, yet has 
> an opaque popup, and another that does everything else I want but 
> the popup seems to ignore the setopacity parameter. I have no idea 
> why this might be. Could someone take a look at the code and 
> enlighten me? These are both tested with firefox 2.
> Broken but opaque:
> http://mapdata.thehumanjourney.net/OpenLayers-2.3/examples/test3.html
> Working but not opaque:
> http://mapdata.thehumanjourney.net

Hi Jo,

I think it might be because you're passing in a string to setOpacity. 
Try changing
popup.setOpacity("0.85");
to
popup.setOpacity(0.85);

Cheers,

Andrew
---
Andrew Larcombe
Freelance Geospatial, Database & Web Programming

web: http://www.andrewlarcombe.co.uk
email: andrew at andrewlarcombe.co.uk
mob: +44 (7760) 258623
icq: 306690163











This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com



More information about the Users mailing list