Treehouse: Grow your CSS skills. Land your dream job.

[slider] image change after mouseover on thumbnail?

  • # September 27, 2012 at 12:34 pm

    Hello dear friends :)

    Does anybody knows which slider have similar functionality like this one on site (or how to modify an existing one)? (this mouseover banner-change thing :) )

    I`m a totally noob in jquery :(

    Kind regards

    # September 27, 2012 at 10:50 pm

    You don’t really need jQuery for that because it’s not a slider. Basically you are just swapping out the background image on hover. Here’s a codepen:

    I wouldn’t recommend this though unless you have a plan for how to handle this on mobile devices which don’t support hover states.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.