Nedd form help

A

Aaron

I want to create a form on my page that will link to yahoo maps so that a
visitor can type in their address and get driving directions to our
facility. Any help would be appreciated. Thank you
 
S

Stefan B Rusynko

See the yahoo map page to see if/how they allow it




| I want to create a form on my page that will link to yahoo maps so that a
| visitor can type in their address and get driving directions to our
| facility. Any help would be appreciated. Thank you
|
|
 
M

McDonald

Stefan,
They do allow it and give instructions but not detailed, I am not sure how
to do it according their instructions. Maybe someone could explain further
or link to a tutorial. McDonald
 
C

curt

Go yo Yahoo maps and input the name and address of your
company's location, and then click "get map". Once the
map page is displayed if you look in the upper right hand
corner there is a link to get driving directions "TO this
location", click the link. This will bring up a page that
has two sides "A" and "B". View the source code and find
where the form begins. Copy that code to a new text
document. It should look like the following:
<form name="dd"
action="http://us.rd.yahoo.com/maps/mapsdd/submit/*-
http://maps.yahoo.com/dd_result" method="get">
<table border=0 cellspacing=0 cellpadding=3 width="100%">
<tr valign=top>
<td width="50%">Enter starting address</td>
</tr>
<tr>
<td><b>Address</b><br><input maxlength=60 size=25
name="addr" value=""></td>
</tr>
<tr>
<td><b>City,State,ZIP</b><br><input maxlength=40
size=25 name="csz" value=""></td>
</tr>
<tr>
<td><b>Country</b><br>
<select name="country">
<option value="us" selected >United
States</option>
<option value="ca" >Canada</option>
</select>
</td>
</tr>
<tr>
<td>
<input type=hidden name="taddr" value="<% Your
address here...123 John Street %>">
<input type=hidden name="tcsz" value="<% Your
City,State,Zip...Somewhere, CA 90120">
<input type=hidden name="tcountry" value="<% us
or ca %>>
<input type="submit" name="getrte" value="Get
Directions">
</td>
</tr>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top