MapQuest Window

Gives you the ability to dynamically open a window to the MapQuest website using an address from your database, or from a form post, or any source available from the data sources palette.
ASP/VBScript Only

Overview

v1.1 Updated 12/26/01: Fixed a bug that inserts double ASP delimiters when using values from the data source palette... you no longer have to enclose static values with double quotes.

The behavior creates a link around a selection (text, image, etc...)
The only mandatory parameters are
-Address
-City
-State
-Zip

US Addresses only (sorry international users)

Requirements

Type: Server Behavior
Product: UltraDev 4

Joel Martinez

Joel MartinezJoel Martinez is one of the founding partners of <a href="www.communitymx.com">Community MX</a>. He is comfortable working with ASP.NET, Coldfusion, Javascript, XML, SQL, and several other technologies. He authored "ASP.NET Development with Dreamweaver MX: Visual QuickPro Guide" for Peachpit press and has contributed to several other publications.

You can find him slacking on on his <a href="http://www.codecube.net">blog</a> when he's not at work in the IS department of Electronic Arts Tiburon.

See All Postings From Joel Martinez >>

Reviews

Can't get it to work.

December 21, 2001 by George Drake

I get this error:

Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/hepatitis2k2/supportgroups/viewgroup.asp, line 354, column 15

This is the line:

<a href="javascript:jm_MapQuest('US','<%= <%=(rsSupport.Fields.Item("MeetLocation").Value)%> %>','<%= <%=(rsSupport.Fields.Item("MeetCity").Value)%> %>','<%= <%=(rsSupport.Fields.Item("MeetState").Value)%> %>','<%= <%=(rsSupport.Fields.Item("MeetZip").Value)%> %>');">Directions</a>

RE: Can't get it to work.

December 25, 2001 by Gregory Van Horn

Here try this code:

<a href="javascript:jm_MapQuest('US','<%= (rsSupport.Fields.Item("MeetLocation").Value)%>','<%= (rsSupport.Fields.Item("MeetCity").Value)%>','<%= (rsSupport.Fields.Item("MeetState").Value)%>','<%= (rsSupport.Fields.Item("MeetZip").Value)%>');">Directions</a>

Should work fine notice in your original code you had "<&=<&=" and "%>%>".  You only need one of each no double.

HTH,

Respectfully and Happy Holidays,
-Greg Van Horn
<company> VHE Designs</company>
<services> ASP, SQL, VB, eCommerce, Hosting</services>
<web>
http://www.vhedesignsweb.com </web>
<phone> 908.832.3082 </phone>

RE: Can't get it to work.

December 26, 2001 by Joel Martinez

Hmm, did you get it fixed with Gregs suggestion?  I'm curious as to wether this is a reocurring bug...

well, I'm currently working on another extension that builds on this one, it will support all Server models, and also addresses in the US, and Europe (that's the plan at least ;) )  so if I can avoid a bug in that one, it would be great

Extenion Manager

January 1, 2002 by Alejandro Mucino

I installed the extension, and i can see it in the Extension Manager, but it is no where to be found on the server behaivors menu ... maybe a bug .. i tried reinstalling it again .. didnt work.

A.

See all 13 Reviews

You must me logged in to write a review.