Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Problem with Hover… Re: Problem with Hover…

#120329
lucas572
Member

You would need some form of JavaScript or jQuery to keep it open after hover. The idea of it would be to make a class called active and add that class to your div when someone hovers over the FB link.

Here’s some jQuery I wrote for a slider that you should be able to re-work to fit this situation :)

var sliderActive = $(“#wrapper #slider-single”);

sliderActive.not(“:first”).removeClass(“active”);

sliderActive.on(“hover”, function() {
sliderActive.removeClass(“active”);
$(this).addClass(“active”);
});