news?

Adriano Ellero
[email protected]

email sent by Mac Pro


http://win.cvao-soaring.org/PUblic/global/mappaGlobal.asp?dbname=CVAO

part of code:

               var TB = document.createElement('TABLE');

                               
TB.setAttribute('style','filter:alpha(opacity=50); -moz-opacity:0.5; 
opacity:0.5; -khtml-opacity:0.5; border:0');       //----- example of 
transparency 50%
                               var TR = document.createElement('TR');
                               var TD = document.createElement('TD');
                               TB.setAttribute('width',"300px");
                               TB.setAttribute('height',"50px");
                               var TX = document.createElement('DIV');
                               TX.setAttribute('id','ShowMouseCoordinate');

                               var gMap = document.getElementById("map_canvas");

                               gMap.appendChild(TB);
                               TB.appendChild(TR);
                               TR.appendChild(TD);
                               TD.appendChild(TX);
                               TD.setAttribute('id','TDbox');
                               TD.setAttribute('style','background-color:black; 
color:grey; font-weight:bold');



                               google.maps.event.addDomListener (TB, 
"mouseover", function (){
                                       
TD.setAttribute('style','background-color:white');
                                       // alert('in');
                                               });

                               google.maps.event.addDomListener (TB, 
"mouseout", function (){
                                       
//TD.setAttribute('style','filter:alpha(opacity=50); -moz-opacity:0.5; 
opacity:0.5; -khtml-opacity:0.5;');
                                       // alert('out');
                                       
TD.setAttribute('style','background-color:black;');
                               });


                               
map.controls[google.maps.ControlPosition.BOTTOM_CENTER].push(TB);       //add 
box for coordinate indicaition

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to