Hi there,
I have a working 'live search' function on my website, please take a
quick look (www.robmaps.co.uk/Floor_plans/Chadwick/index1.html).
Currently, after typing something in the search box and clicking on
the link, a new web page opens. However, i would like the
'infowindows' to open, just like they do with my 'selection box'
option (from Mike's econym tutorial) using the GEvent.trigger gmarkers
function.
For the live search to work, I used this excellent tutorial which
shows the relevant HTML, PHP and Javascript code needed:
www.w3schools.com/php/php_ajax_livesearch.asp?output=print.
Part of the PHP is:
$hint="<a href='" .
$z->item(0)->childNodes->item(0)->nodeValue .
"' target='_blank'>"
Obviously I need to replace the <a href "" target=blank> with an event
that will open the infowindow in the same page. I can't seem to get my
head around the solution to this and i'm finding it especially
difficult because im not familiar with PHP.
Thanks for looking,
Rob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---