Well my project is like this. I have a search bar, I make the search on a server witch is not local, it is on another computer. I make the search, the server returns me some thumbnails based on that search. I open the image with another request when I click the thumbnails, and then I start to do my work on that image. Because nobody told me that I have to do my zoom in/out in javascript, I made it in C#(my mistake). And when I stared to make the panning I realize that in C# I don't have Mouse events and I have to do it in javascript. I send from C# my coordinates from the zoom, end started to do my panning, and when I needed to do my request for the new panned image I realized that Ajax xmlhttprequest doesn't allow request for external servers.
And I use url var to send to my server my new panned coordinates to know witch image to send me. And that image I have to put it in an asp control.
The problem is how to I make this request correctly?
I don't have no idea. I google it and no success. The code posted is my entire code in javascript.
Thank You.
|