Nice work! You might want to consider leveraging the hoverIntent plugin. That way you would get unintentional zooms when you are moving past an image quickly.
Again, looks cool. Glen On 6/23/07, Su <[EMAIL PROTECTED]> wrote:
This is neat. On 6/23/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: > > The feature I'm wondering about, is if the zoom2 image should inherit > the classes of the original image. (If what I'm saying makes no sense, > go view the source code of the zoomi page above) Would it be a pain to make it optional? I ran into this decision when working on my figures plugin[1], and ended up deciding that whether it was needed or not was really going to depend upon the user and how their styling was worked out. I do have one fairly big objection, though: Your usage of the alt attribute for the zoomed image is inappropriate and interferes with accessibility. Using a filename for alt text is considered unacceptable, not to mention that since you're having it refer to /another/ image, it's just plain wrong. Why not have Zoomi just look for something like original-filename_zoomed.ext or something? It would actually cut down on work for the user, for that matter. [1] http://pioindustries.com/projects/jquery/figures --See the "strip" argument.