Hi Andrew, Fortunately i could finally to fix the quotes and spaces and now the clearbox with jQuery is working fine , click on the photos and open the boxes with You Tube videos stored in the database. I change this quotes only :
var marker = createMarker(point,'<div id="infowindow" style="white- space:wrap;width:400px;height:300px;font-family:Arial,Helvetica,sans- serif;font-weight:bold;color:#FF0000;font-size: 14px;"><table><tr><td><a href="<?=addslashes($row['5']);?>" onclick="CB_Open(\'href=<?=addslashes($row['6']);? >,,tnhrf=nopreview,,width=600,,height=500\');return false" rel= \"clearbox\"><img src=<?=addslashes($row['5']);?>></a></td></ tr><tr><td><strong>Name:<?=addslashes($row['3']);?></ strong><br><strong>Address:<?=addslashes($row['4']);?></strong></ font></h2></td></tr></table></div>',markerOptions); The Javascript syntax is not easy when inter-related with php. However it is running cool : http://trekhotel.com/bina/html/track1.php?route=52 Thanks again for ideas. -- 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.
