Finally this code is working for me:
$('#featureddiv .imagelayout').mouseenter(function(){
$(this).find('.front').hide();
$(this).find('.back').show();
}).mouseleave(function(){
$(this).find('.front').show();
$(this).find('.back').hide();
});
When you say "div .front" (a space between div and .front), it means you are looking for an element which class "front" under "div". But if you look for a div which contains class named "front", you should write "div.front" (no space).
Originally, this post was published on Monitis Blog, you can check it
here
.
In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn the basics of strings in Python: declaration, operations, indices, and slicing.
Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…