Posted by phill.luckhurst@googlemail.com on 06/18/07 07:00
I'm using the following code to display som items from a database.
field_2 shows a link that is clickable. I would like to make it
clickable but open the link in a new page (in a _blank way) instead of
onto itself but I'm not sure how to do it.
{
echo "var point = new GLatLng(" . $row['field_5'] . "," .
$row['field_4'] . ");\n";
echo "var marker = createMarker(point, '" .
addslashes($row['field_1']) . "<br /><a href=\"" . $row['field_2'] . "
\">". $row['field_2'] ."</a><br .>" . $row['field_3'] . "',3);\n";
echo "map.addOverlay(marker);\n";
echo "\n";
}
[Back to original message]
|