My dilemma involves an img
with a surrounding box div
.
1) I am seeking to display only a portion of the image (250x150) without generating a white overlay when it is in its large size. Placing a #box1 div around the image has not successfully restricted the displayed portion.
2) If the mouse moves away from the picture, my goal is to interrupt the animation and smoothly return the image to its original large size.
Any ideas on how to achieve these objectives? Thank you.