Hi
I am trying to remove the underline from the image alone on the
sidebar when you hover over a link. I would like the underline to
remain for the text part of the link though.
This is the code I have to create the image and description:
var sidebarEntry=createSidebarEntry(marker,'<img src="/images/blue-
dot.png" width="11px" />'+name);
This is the styling part for the sidebar:
function createSidebarEntry(marker,name){var div=document.createElement
('div');
var html=name;div.innerHTML=html;
div.style.cursor='pointer';div.style.marginBottom='5px';
GEvent.addDomListener(div,'click',function(){GEvent.trigger
(marker,'click')});
GEvent.addDomListener(div,'mouseover',function()
{div.style.Color='#539BE2';
div.style.textDecoration='underline';
div.style.backgroundColor='#ffffff'});
GEvent.addDomListener(div,'mouseout',function()
{div.style.Color='#539BE2';
div.style.textDecoration='none';
div.style.backgroundColor='#fff'});
return div}
You can view the whole file at:
http://information.acaciaholidayhomes.com/areamap/index.php?areaMap
I have a feeling this is a simple fix but for the life of me I cannot
seem to get my brain to figure it out.
Thank you in advance :o)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---