Quote:
To make the info bubbles only appear when clicking on a marker, go to
|
thank you for your kind reply. but i just want the bubbles to appear on loading without need to click.
i can now see this are in the vbgooglemap.php file
Code:
if ($mouseoversupport == 0)
{
$getlistenerinformation = "
GEvent.addListener(marker, \"click\", function() {
marker.openInfoWindowTabsHtml(infoTabs);
id = document.getElementById('username');
id.innerHTML = username;
});
";
}
if ($mouseoversupport == 1)
{
$getlistenerinformation = "
GEvent.addListener(marker,\"mouseover\", function() {
marker.openInfoWindowTabsHtml(infoTabs);
document.getElementById('username').value= username;
id = document.getElementById('username');
id.innerHTML = username;
});
";
}