Amy-

You should be able to use something this example to place your search
bar right in your map.

http://code.google.com/apis/ajax/playground/#map_control_localsearch

Good Luck!
Thanks
-Pete

On Mar 31, 9:52 am, Amy <[email protected]> wrote:
> I would like to have my Google custom search box appear in the top
> right hand corner of the map itself (not outside of the map). Is it
> possible to put the GCS code into the Map code? If so, these are the 2
> codes. I am not a programmer so need clear instructions or for the
> code to written so that I can just cut and paste the new code. Thank
> you.
> Code for GCS
> <form id="cse-search-box" action="http://www.google.com/cse";>
>   <div>
>     <input value="005201463466432140607:50nf9f3itre" name="cx"
> type="hidden"/>
>     <input value="UTF-8" name="ie" type="hidden"/>
>     <input name="q" size="31" type="text"/>
>     <input value="Search" name="sa" type="submit"/>
>     <select name="as_qdr">
>       <option value="all"/>Any time
>       <option value="d"/>Past 24 hours
>       <option value="w"/>Past week
>       <option value="w2"/>Past 2 weeks
>       <option value="m"/>Past month
>       <option value="m2"/>Past 2 months
>       <option value="m6"/>Past 6 months
>       <option value="y"/>Past year
>       <option value="y2"/>Past 2 years
>       <option value="y5"/>Past 5 years
>       <option value="y10"/>Past 10 years
>     </select>
>   </div>
> </form>
> <script src="http://www.google.com/coop/cse/brand?form=cse-search-
> box&lang=en" type="text/javascript"></script>
> Code for Maps
> <iframe width="425" height="350" frameborder="0" scrolling="no"
> marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?
> ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=112557391842943178341.0004665d38c50ab983c98&amp;ll=26.72286,21.967163&amp;spn=24.26792,-161.993408&amp;output=embed"></
> iframe><br /><small><a href="http://maps.google.com/maps/ms?
> ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=112557391842943178341.0004665d38c50ab983c98&amp;ll=26.72286,21.967163&amp;spn=24.26792,-161.993408&amp;source=embed"
> style="color:#0000FF;text-align:left">View Larger Map</a></small>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to