Dave:
I copied your script below and it runs fine for me
(http://charlie.griefer.com/map.cfm).
Do you by any chance have a URL you can post so i can see the actual code in
action (or inaction, as the case may be)?
thx,
Charlie
Dave Lyons writes:
> right, i know it shouldnt make a difference.
> it doesnt throw an error, just doest work
>
> when the link is clicked it should open up another browser window with the
> mapquest info
> on my asp pages it works fine when i run it in coldfusion it doesnt do
> anything
> no pop up nothing
>
> was just curious
> ----- Original Message -----
> From: "charlie griefer" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, January 23, 2003 7:19 PM
> Subject: Re: this javascript works in asp but not cf?
>
>
>> Dave Lyons writes:
>>
>> > anyone have any idea why this wont work with cfmx?
>> > im not a java guru either
>>
>> One shouldn't have anything to do with the other. By the time this
>> javascript runs...CF or ASP (or whatever server side programming is
>> involved) has already done its thing and is no longer a part of the
>> equation.
>>
>> When you say it 'wont work with cfmx', can you elaborate a little? What
>> error are you getting?
>>
>> charlie
>>
>> >
>> > <html>
>> > <head>
>> > <title>Untitled Document</title>
>> > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>> > <script language="javascript">
>> > function map_MapQuest(country, address, city, state, zip) {
>> > window.open("http://www.mapquest.com/maps/map.adp?country="+
> escape(country) +"&address="+
>> >
>> > escape(address) +"&city="+ escape(city) +"&state="+ escape(state)
> +"&zipcode="+ escape(zip)
>> >
>> >
> +"&homesubmit.x=0&homesubmit.y=0","map_mapquestwin","width=720,height=400,to
> olbar=1,menubar=
>> >
>> > 1,status=1,resizable=1,location=0,directories=0,scrollbars=1");
>> > }
>> > </script>
>> > </head>
>> >
>> > <body>
>> > <a href="javascript:map_MapQuest('US','119 sylvan dr', 'bardstown',
> 'ky', '40004');">CLICK
>> > HERE FOR A MAP </a>
>> > </body>
>> > </html>
>> >
>> >
>> > Dave
>> >
>> >
>> >
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4