Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Mouse Over Events, Proximity #1
I love this plugin.
But there's one thing I want to do. I'd like it so when you hover over an image, the SVG elements fade away revealing the original image (or any image you want, we don't need the plugin to decide that).
Now, I'm vaguely aware you can do Mouse Overs with Raphael, but although I have good knowledge of jQuery my Raphael knowledge is non-existent. I look at the code and I'm just...not sure. It's quite confusing for me (I'm more a designer really..).
Plus, that would only apparently work when you hover on one element at a time. That's no good, you want the hover to affect not just one element, but a portion of the surrounding elements.
So, do any of you experts know of a way to do this? Or is it functionality you could add to the plugin? Absolutely don't expect anyone to do the leg work for me, I would be quite happy to figure this out for myself, I just need some rough idea of direction.
Many thanks in advance.
I think it's something like this, but I can't seem to tie it in. Even if I can, I have a feeling it will either affect only one element, or possibly all of them, rather than a group of elements around the one you're hovering on.