anyone got a script for when you mouse over a link (<A>) or an img it will show a larger version of it in a popup, but not full size. I dont want the img being larger than teh screen and going off screen.. kinda like how 4chanX expands the img when you hover over it and it follows the cursor..if the image is too large its resized and it never goes off screen

I currently have a script, but it does what I dont want. If the image is on the right side and you hover over it, it will expand to the right and you cant see the image. You also can only view the fullsize image. So if the image is 2000x2500 -- youll miss half the image because its off screen.

jQuery prefered

Ive tried damn near everything.


any help is appreciated


---------- Post added at 11:13 PM ---------- Previous post was at 10:25 PM ----------

If noone has a script for that. Can you help me modify my existing code so it doesnt load the image offscreen

__Doc_ Reviewed by __Doc_ on . mouse over img script anyone got a script for when you mouse over a link (<A>) or an img it will show a larger version of it in a popup, but not full size. I dont want the img being larger than teh screen and going off screen.. kinda like how 4chanX expands the img when you hover over it and it follows the cursor..if the image is too large its resized and it never goes off screen I currently have a script, but it does what I dont want. If the image is on the right side and you hover over it, it will expand to the Rating: 5