Unsolved

This post is more than 5 years old

2302

May 8th, 2005 16:00

Websites that use X & Y coordinates for selecting an object...

I have an Inspiron 9300 with a 17 in. wide screen. When I open up a website that uses x and y coordinates to select an area in an image (for example the National Weather Service at this link: http://www.crh.noaa.gov/lot/). There is a map and you click on the area of choice, if you click anywhere on the image you get a completely different area and if you click anywhere on the right side, you get an error because it calculates an incorrect x and y. Has anyone else experienced this problem and found a solution. I have also e-mailed the NWS about it.
 
Thanks!  

2 Intern

 • 

4.4K Posts

May 8th, 2005 20:00

Maybe I've misunderstood, but I went to the link you gave and it seems to work OK for me. If I click on the map, the page opens with the forecast for where I clicked. To move the map to another area did you use the arrows in the blue box (or use zoom out to get the whole USA, then click on the map to zoom in on some area; that also works for me)?

Incidentally, if you want a nice free app for weather forecasts, I can recommend WeatherAlert,

http://www.neowin.net/forum/index.php?showtopic=175813

but you do need ,NET framework 1.1 to run it.

If you have a problem, I don't think it is related to the monitor you are using. Are you using IE or some other browser?

May 8th, 2005 21:00

What screen resolution are you running at? Ours is at 1440 x 900. I think that is the problem. There code is using an xy to determine where you clicked. For example, if I click on Chicago we get "Rural Le Porte county, IND not Chicago.   If I click on the I90 icon on the extreme east side of the screen we get

"You have entered an invalid x or y coordinate. An error has occurred. Exiting the script!"
 
thanks

2 Intern

 • 

4.4K Posts

May 8th, 2005 22:00

I have Dell 1800FP running at its native resolution of 1280 by 1024.

I still fail to see how the screen resolution would affect the map, after all it's inside a web page in IE that only covers a part of the screen. I also tried at different resolutions and no difference in operation.

When I click on Chicago I get Chicago/OHare
 
When I click on Interstae 90 symbol near the right edge of the map I get South Bend Regional airport.

Message Edited by JRosenfeld on 05-09-2005 12:43 AM

1.4K Posts

May 9th, 2005 02:00

I have to agree with JRosenfeld. I tried everything to bring up the wrong map and it always came up correct. I suspect it's something wrong with your comp. I'm really reaching on this, but if I remember correctly, HTML code usually is written with a percentage attribute (cell spacing) to correct for your screen size. Just guessing.

2 Intern

 • 

2.5K Posts

May 9th, 2005 03:00

You are correct, usually HTML is written in percentages, but absolute values are possible
No Events found!

Top