2013-05-10 5 views
-2

그래서 here 이상의 포트폴리오 사이트를 만들고 있는데 어떤 이유로 아이콘에 onmouseover 이벤트를 첨부하려고 할 때마다 내 이름이있는 텍스트를 그 이름으로 사라지려고합니다. 아이콘으로 마우스를 가져 가면 마우스를 떼면 페이드 아웃됩니다.이 작업을 수행 할 수있는 방법이 있습니까? 나는 귀하의 사이트에 발견 약 10 '솔루션'onmouseover(); 작동 안함?

감사

+0

코드의 모양은 어떻습니까? 그리고 10 가지 해결책을 시도해 보았습니다. 이미 시도한 내용을 제안하는 것이 좋지 않습니다. – eidsonator

답변

0
<td onclick="move('url');" onmouseover="alert();" class="tile" id="portfolio"></td> 
0

당신은 그래서 당신이 태그

을에 목록에없는 경우에도 jQuery를 사용하는 답을 주겠다 jQuery를로드를 시도했다
$("#about").mouseover(function(){ //When the mouse enters 
    $("span.text").fadeOut("slow",function(){ 
     //After your name has fadedOut switch the text and fadeIn 
     $("span.text").html("About"); 
     $("span.text").fadeIn("slow"); 
    }); 
}).mouseout(function(){ //When the mouse leaves 
    $("span.text").fadeOut("slow",function(){ 
     //After "about" has fadedOut switch with your name and fadeIn 
     $("span.text").html("Matthew Foulks"); 
     $("span.text").fadeIn("slow"); 
    }); 
}); 

이 정보가 도움이되기를 바랍니다. 이것에 대해 질문이 있으면 물어보십시오.

관련 문제