Re: [OSM-dev] need some javascript help

2010-03-20 Thread jamesmikedup...@googlemail.com
I have done the basic javascript work now. http://github.com/h4ck3rm1k3/OAD-Open-Address-Database/blob/master/OAD/root/static/javascript/oad.js Now I need to setup an nomatim server interface, I am considering setting up my own, using the alternative names we have loaded into the kosovo osm map.

Re: [OSM-dev] need some javascript help

2010-02-26 Thread jamesmikedup...@googlemail.com
yes the performance is horrid. thanks! I will look into compressing this all and making it tight. it will all be hosted on the server, no need for cross site stuff. thanks, mike On Fri, Feb 26, 2010 at 10:35 PM, Emilie Laffray wrote: > On 26/02/2010 20:59, jamesmikedup...@googlemail.com wrote: >

Re: [OSM-dev] need some javascript help

2010-02-26 Thread Emilie Laffray
On 26/02/2010 20:59, jamesmikedup...@googlemail.com wrote: > OK > I have updated the server here : > http://119.161.80.223:3000/Controller > It is running the lastest code. > You can see my demo controller, now I want to change the url of the > top frame based on the selection in the bottom one. I

Re: [OSM-dev] need some javascript help

2010-02-26 Thread jamesmikedup...@googlemail.com
OK I have updated the server here : http://119.161.80.223:3000/Controller It is running the lastest code. You can see my demo controller, now I want to change the url of the top frame based on the selection in the bottom one. I guess it might be very easy. there is a great plugin that just allows y

Re: [OSM-dev] need some javascript help

2010-02-24 Thread jamesmikedup...@googlemail.com
This is what I have so far, two iframes. The javascript was not working, I dont know why. here is my commit. http://github.com/h4ck3rm1k3/OAD-Open-Address-Database/commit/88b8624a45aee548e087f168409751f9951f4994 Firebug for debugging. Yes I will put all the java script into the controller page, an

Re: [OSM-dev] need some javascript help

2010-02-24 Thread Emilie Laffray
On 24/02/2010 16:03, jamesmikedup...@googlemail.com wrote: > thank you! > i will start with some greasemonkey to get going. > thanks, > mike Grease Monkey might not be the best tool to perform javascript debugging and general web debugging. I would suggest firebug as a very good starting point. It

Re: [OSM-dev] need some javascript help

2010-02-24 Thread jamesmikedup...@googlemail.com
thank you! On Wed, Feb 24, 2010 at 5:10 PM, Nick Whitelegg wrote: > >Another cleaner option is to use all that AJAX magic stuff to load the > >content in a rather than in an . > > >May I suggest you the "ajax for dummies" book? It's a nice hands-on > >introduction to this javascript stuff. > >

Re: [OSM-dev] need some javascript help

2010-02-24 Thread Nick Whitelegg
>The javascript queries the server with what the user entered in the 2 text fields, the server sends a load of >text back and loads it into a specified . Oops - meant to say "the JavaScript loads the text into the specified ". Nick ___ dev mailing l

Re: [OSM-dev] need some javascript help

2010-02-24 Thread Nick Whitelegg
>Another cleaner option is to use all that AJAX magic stuff to load the >content in a rather than in an . >May I suggest you the "ajax for dummies" book? It's a nice hands-on >introduction to this javascript stuff. AJAX is easy. ;-) Particularly if you use prototype (www.prototypejs.org). I do

Re: [OSM-dev] need some javascript help

2010-02-24 Thread jamesmikedup...@googlemail.com
thank you! i will start with some greasemonkey to get going. thanks, mike 2010/2/24 Iván Sánchez Ortega > El 24/02/2010 15:25, jamesmikedup...@googlemail.com escribió: > > Hi all, I am not a real javascript developer, can you give me some >> advice on this ; >> > [...] > > How can I connect tw

Re: [OSM-dev] need some javascript help

2010-02-24 Thread Iván Sánchez Ortega
El 24/02/2010 15:25, jamesmikedup...@googlemail.com escribió: > Hi all, I am not a real javascript developer, can you give me some > advice on this ; [...] > How can I connect two windows to each other, I would like to call a > different url in what would its own sub window. so when you click on >

[OSM-dev] need some javascript help

2010-02-24 Thread jamesmikedup...@googlemail.com
Hi all, I am not a real javascript developer, can you give me some advice on this ; 1. I have a url that will return the map for a location string 2. I have a browser for a database browser. How can I connect two windows to each other, I would like to call a different url in what would its own su