새 프로젝트에 대한 Jquery 드롭 다운 메뉴가 시작되며 Google 크롬, Firefox, Safari에서 예상대로 작동하지만 물론 Internet Explorer에서 두통을 느끼게합니다. 여기 Jquery 드롭 다운 메뉴가 IE에서만 깜박임
이 일이, 는 IE에서 링크를 통해 이동할 때 당신이하지 않는, 배경의 일부가 깜박를 참조 드롭 다운 appers, 메뉴 홈을 통해 마우스에이 페이지 http://www.universidadedoingles.com.br/dev/index.ASP를 참조하십시오 Chrome 및 기타에서 발생합니다.
여기에 dd 메뉴를 사용하는 js coda가 있습니다.
<script type="text/javascript">
$(document).ready(function() {
$("ul.mainmenu li.menuhome").mouseover(function(){
$(".arrow-spacer").show(); //When mouse over ...
//Following event is applied to the subnav itself (making height of subnav 150px)
$(this).find('.submenu').show().animate({height: '150px', opacity:'1'},{queue:false, duration:300})
});
$("ul.mainmenu li.menuhome").mouseout(function(){ //When mouse out ...
//Following event is applied to the subnav itself (making height of subnav 0px)
$(this).find('.submenu').hide().animate({height:'0px', opacity:'0'},{queue:false, duration:200})
});
//menu itembackground color animation
$("li").hover(function() {
$(this).animate();},
function() {
$(".arrow-spacer").hide();
});
});
</script>
그건 간단 할 수도 있지만 몇 주일이 지났지 만 여전히 작동하지 않습니다.
고마워요.
어떤 Internet Explorer 버전을 테스트 했습니까? http://www.my-debugbar.com/wiki/IETester/HomePage – Sonny
왜 li 요소가 맴돌 았을 때 "arrow-spacer"를 숨기고 싶지 않습니다. –
어떤 이유로 든 hide()를 사용하지 않으면 HOME 링크를 주먹으로 가리키면 화살표 - 스페이서가 사라지지 않습니다. 그래서 나는 링크 위에 마우스를 가져 가면 나가기를 원한다. –