Hover

Permalink
Is there a way to make it hover instead of click on the javascript with the Galleria Block? (clients request)

(http://www.concrete5.org/marketplace/addons/jquery-galleria/)

The client want the image thumbnails to be so that when you hover over the thumbnail it shows up in the big image area.

Is this possible at all? I did a find and replace but had no luck. Any help would be greatly appreciated.

bryanlewis
 
bryanlewis replied on at Permalink Reply
bryanlewis
It might not be possible. I'm just a bit confused with all the javascript.
aghouseh replied on at Permalink Best Answer Reply
aghouseh
My quick guess would be to tweak one of the lines of the jquery.galleria.js file. Line 485 looks like it could handle what you're looking for..

this.listen(thumb.elem, 'click', this.proxy(function(e) {


Hope this helps!
bryanlewis replied on at Permalink Reply
bryanlewis
Hi, Thank you for the taking the time to help me out. I thought that was the right line of code to change as well. I've changed that line from click to this...

this.listen(thumb.elem, 'mouseover', this.proxy(function(e)

but I'm not having any luck. Is mouseover the wrong jquery command?
aghouseh replied on at Permalink Reply
aghouseh
That would have been my first try.. maybe try 'hover' if that didn't work.
bryanlewis replied on at Permalink Reply
bryanlewis
Weird I tried that as well and didn't have luck. At least I know Im not crazy for thinking the same thing. I will keep looking, though I'm pretty confused at this point. Thank you again!
bryanlewis replied on at Permalink Reply
bryanlewis
I did a find and replace. Find 'click' and replace with 'mouseover'. I did the same with 'hover'

No luck. Maybe I'm messing with the wrong file.