Forget the script. That is not what your talking about.
If you want a map to the place in your listing. Try this.
In link.html
Replace:
Code:
<small class="date"><font face="Verdana, Arial, Helvetica" size="-1">
(Added: <%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%> )
<a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a></font></small>
with
Code:
<small class="date"><font face="Verdana, Arial, Helvetica" size="-1">
(Added: <%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%> )
<a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
<a href="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=<%address%>&csz=<%city%>%2C+<%state%>&Get+Map=Get+Map">Map It!</a>
</font></small>
For this to work you need to have the address, city, and state fields in your database.
It will send them off the site to the results on Yahoo! Maps.
HTH!
<note> This has not been tested </note>
<note class="one_more_thing"> Boy do I have a good idea how to use this!
</note>
------------------
JRM Studios
www.jrmstudios.com The Hotrodding Network
www.hotrodding.net Web discuss Free speech newsgroups -
www.webdiscuss.com [This message has been edited by John R Marshall (edited June 15, 1999).]