Jump to content

urgent help please.


fantomel

Recommended Posts

hello ppl i`m in a hurry and i need some fast help with a problem.

 


/*
$(' div#main a ').hide();          // for hiding links by default
$(' div#main ').hover(function() {
$(this).child("a").show();          // shows links on mouseIn
},
function() {
$(this).child("a").hide();          // hides links on mouseOut
});
*/

/*$(document).ready(function(){
$("li a, .features").hover(function() {
$(".features").show().stop();
},
function() {
$(".features").hide().stop();
});
});
*/

$(document).ready(function(){
    $("a").mouseover(function(){
        $(this).next(".features").show();
    }).mouseout(function(){
        $(this).child(".features").hide();
    });
});

 

when i`m going over with the mouse it shows what it needs but when i`m out it remains doesn`t show the thumbail.

Link to comment
Share on other sites

i have started to build the code from scratch and i have encountered another problem

 

$(document).ready(function(){
                $('.work li a img').mouseover(function(){
				$('.work li a img').append('.features');
				$('.features').css('display', 'block');
                });
                
                $('.work li a img').mouseout(function(){
                    $(".features").css('display', 'none');
                });  
            })

when i`m going with the mouseover it goes on and on doesn't stop and showing only the second div.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.