Dude, you SERIOUSLY need to format your code before posting it!
That's a total mess...

I don't know any good way of posting a form to a greybox.  What I
would suggest is just passing the form data in a GET string to a
custom page that then uses javascript to create and submit a form to
mapquest.

Does mapquest not have a GET API?

--
Tyler Style
http://malthusian-solutions.com
http://nirdvana.com

GoElemental wrote:
> Hello to all. First thanks for developing this great non-sucking popup
> box. Second, thanks for having this forum so users can share problems,
> solutions, and ideas.
>
> Now to my situation. I have a MapQuest directions form embedded into a
> website. It has the ending address hard coded,so the visitor only has
> to enter their start address. A copy of t he code I am using is below:
>
>
> <form action="http://www.mapquest.com/directions/main.adp";
> method="get"><div align="center"><input type="hidden" name="go"
> value="1"><input type="hidden" name="2a" value="165 West Wieuca Road
> NE"><input type="hidden" name="2c" value="Atlanta"><input
> type="hidden" name="2s" value="GA"><input type="hidden" name="2z"
> value="30342"><input type="hidden" name="2y" value="USA"><br><table
> border="0" cellpadding="0" cellspacing="0" style="font: 11px #fff
> Arial,Helvetica;"><tr><td colspan="2" style="font-weight: bold;"><div
> align="center"><a href="http://www.mapquest.com/";><img border="0"
> src="http://cdn.mapquest.com/mqstyleguide/ws_wt_sm"; alt="MapQuest"></
> a></div></td></tr><tr><td colspan="2" style="font-weight:
> bold;">FROM:</td></tr><tr><td colspan="2">Address or Intersection: </
> td></tr><tr><td colspan="2"><input type="text" name="1a" size="22"
> maxlength="30" value=""></td></tr><tr><td colspan="2">City: </td></
> tr><tr><td colspan="2"><input type="text" name="1c" size="22"
> maxlength="30" value=""></td></tr><tr><td>State:</td><td> ZIP Code:</
> td></tr><tr><td><input type="text" name="1s" size="4" maxlength="2"
> value=""></td><td><input type="text" name="1z" size="8" maxlength="10"
> value=""></td></tr><tr><td colspan="2">Country:</td></tr><tr><td
> colspan="2"><select name="1y"><option value="US" selected>United
> States</option></select></td></tr><tr><td colspan="2" style="text-
> align: center; padding-top: 10px;"><input type="submit" name="dir"
> value="Get Directions" border="0"></td></tr><input type="hidden"
> name="CID" value="lfddwid"></table></div></form>
>
> I want the results of the search to open in a 600x600 greybox window
> but unsure where to place the GB code in order to achieve this. Any
> help would be greatly appreciated. Thanks and Have a great day
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to