I was just testing it on my machine which usually works fine, I must have something set wrong, lol I went to your link and by god it does work! right on! while putzing around I just went to yahoo and checked out their maps and I think I actually like them better (of course) I do a lot of realtor sites so the mapping comes in handy and works fine on my asp sites. I was just in the mood to put it in the coldfusion snippets at www.dwfaq.com I have seen a few people looking for something and got a hair up my ass to do it. But hey if it works then its good to go. Thanks for your time! Dave
----- Original Message ----- From: "charlie griefer" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 7:52 PM Subject: Re: this javascript works in asp but not cf? > 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

