[jQuery] Re: Anyone Good At Math?

2007-04-08 Thread AJ
On Apr 8, 1:52 pm, "Dylan Verheul" <[EMAIL PROTECTED]> wrote: > Your image is 800 by 600. The marker is at 200 (25%), 300 (50%). > You resize to 640 by 480. The marker should be at 160 (25%), 240 (50%). Thanks! That certainly clarified things. Although I've still spent hours trying to work it ou

[jQuery] Re: Anyone Good At Math?

2007-04-08 Thread Dylan Verheul
On 4/8/07, AJ <[EMAIL PROTECTED]> wrote: At first my logic was: If the large image scales down 10%, why can't I just reduce my x and y coordinates (or rather the 'top' and 'left' css attributes) on the marker 10%? Doesn't seem to work. Maybe that theory is correct and my math is just wrong. (BT