OK, that is getting real close to what I want.  Where in your code do
I adjust the opacity?

On Nov 17, 10:16 am, bratliff <[EMAIL PROTECTED]> wrote:
> On Nov 17, 3:15 pm, tdp <[EMAIL PROTECTED]> wrote:
>
> > Can someone please tell me how to change the background color and
> > opacity of the following?  I have tried and tried and can't get it
> > work.  I would like the inside of the rectangle to be a lighter color
> > red than the border,
>
> > Thanks so much
>
> > The link is:
>
> >www.digitaltributedesign.com/uploads/test.php
>
> > Thanks again.
>
> If you set:
>
>     div.style.backgroundColor="whatever";
>
> it will be opaque which means you will not be able to see your map.
>
> To make it partially opaque, you can use:
>
> FrameAnimation.prototype.opacity=function(opacity)
> {
>         if (document.all)
>         {
>                 this.div.style.filter="alpha(opacity=100)";
>
>                 if ((opacity>0)&(opacity<1))
>                 {
>                         
> this.div.filters.alpha.opacity=Math.round(opacity*100);
>                         this.div.filters.alpha.enabled=1;
>                 }
>
>                 else
>                 {
>                         this.div.filters.alpha.opacity=100;
>                         this.div.filters.alpha.enabled=0;
>                 }
>         }
>
>         else
>         {
>                 if ((opacity>0)&(opacity<1))
>                 {
>                         this.div.style.opacity=opacity;
>                 }
>
>                 else
>                 {
>                         this.div.style.opacity=1;
>                 }
>         }
>
> }
>
> Internet Explorer uses a proprietary filter.  Firefox & others use
> industry standards.  I believe "-moz-opacity" is now obsolete.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to