Hi All,
i have a function to show some Descriptions in a Popup by click on Pushpin.
This function works fine in Firefox and IE7.
In IE 8 is the Description visible for only 5 Seconds! Then will be transparent and disapear!!!
I would appreciate any Idea about to display descriptions.
thanks
arsa
function createPopup(LonLat, Label, Note)
{
try
{
if (popup)
{
popup.lonlat = LonLat;
if (Label)
popup.contentHTML = “<table style="border: 1px solid #CCCCCC; font-family: Tahoma; font-size: 11px; color: black;">”+ Note +“”;
else
popup.contentHTML = Note;
popup.draw();
popup.show();
}
else
{
popup = new OpenLayers.Popup.AnchoredBubble(“note” + pins.length,
LonLat,
new OpenLayers.Size(200,50),
“<table style="border: 1px solid #CCCCCC; font-family: Tahoma; font-size: 11px; color: black;">”+ Note +“”, null, true);
popup.autoSize = true;
map.addPopup(popup);
}
}
catch(Ex)
{
LogException(‘createPopup’, Ex);
}
}