Hey there again,
so it works a charm in a new test... But I can't get it working in the frame work of my site, I think there is something in my css preventing it from working... But I can't figure out what.
For some reason the divs aren't clickable.... and don't register that you are hovering over them .
Hey Guys,
I'm having a problem figuring out how to separate the hover over between my divs, see: http://jameskape.com/test/
currently when you hover over one, it affects every div and I can't figure out how to fix it without creating a new script for every div....
Any ideas? Greatly appreciated.
Cheers
J
For the hover, target '.boxhover' rather than '.boxonly'
Then, use the jQuery selector "this" to target ONLY the .boxhover element that is being hovered over.
Original Code
New Code
Codepen showing this http://codepen.io/jessecfisher/pen/shtmD
Thanks so much! Works a charm. I spent hours researching this.... and just couldnt find an answer.
Cheers J
Hey there again, so it works a charm in a new test... But I can't get it working in the frame work of my site, I think there is something in my css preventing it from working... But I can't figure out what.
For some reason the divs aren't clickable.... and don't register that you are hovering over them .
I've re:uploaded a new version to http://jameskape.com/test/
If you could have a quick look that be awesome.
Cheers
J
I figured it out :)
New CSS
Also, I am getting an error on the page
@jameskape - Completely unrelated to your problem, but you should hook that up with some http://placekitten.com/
Use jquery this to select the current element that is being targeted. Should work fine.
Haha, Andy unleash... Amazing!
Thanks so much Hot pink! That fixes everything.
Merry christmas. Thanks so much.
Cheers J