vormplus / jQuery-Skim

A jQuery plugin to recreate the iPhoto skim effect.

Home Page:http://vormplus.be/software/detail/jquery-skim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The first image does not come back on mouseleave.

kenwebart opened this issue · comments

When the curser leaves the <ul> the first image does not come back. The last shown picture stays.

Here is my solution:

            container.find("ul").mouseleave(function(e) {
                $(this).find("li").css("float", "left");
                $(this).find("li").css("display", "none");
                $(this).find("li:first").css("display", "block");
                $(this).find("li:first").css("float", "left");
            });

That wasn't really an issue for me. Feel free to fork the repository and modify the plugin. It's a really old plugin I once made for a portfolio site and I'm not supporting it anymore.