Forum Moderators: coopster

Message Too Old, No Replies

Dell laptop with wide screen / PHP problem

Dell widescreen PHP

         

jgd1955

4:15 pm on Apr 21, 2004 (gmt 0)

10+ Year Member



We have a small php script that allows holiday property owners in Spain to click on a map image to place their property on it.

<input type="image" src="map.php?location_x=15&location_y=45&....">

When you click the image it actually passes the x and y pixel co-ords to the map.php script - which converts them to percentage co-ords and renders the house on the map image.

That's all, nothing particularly special.

However we have a user with a Dell laptop with a wide screen and when they click on it the co-ordinates are all over the place.

I don't know how to address this really - I don't think Dell are going to be much use.
Cheers for any help

mifi601

4:24 pm on Apr 21, 2004 (gmt 0)

10+ Year Member



I think it might be the percentage - as opposed to a fixed coordinate. Try yourself with different screen sizes - see what happens.

adb64

6:49 am on Apr 22, 2004 (gmt 0)

10+ Year Member



Perhaps they are using M$ IE as browser which has that horrible image resize feature that may be the cause of the problem. There is a way to disable this 'feature', your user may try to do that. And installing another browser (Mozilla, Opera, ...), if possible, may also help.