私は基本的に、IE(9,8,7) を除くすべてのブラウザーで動作する独自の jQuery ホバー効果プラグインを作成しました...
ここにリンクがあります: http://www.fiver.org/web/testing これはコードです:
function go()
{
hoverEffect = document.getElementsByName("hoverEffect");
for (i=0; i<hoverEffect.length; i++)
{
$(hoverEffect[i]).bind('mouseenter', bMouseOver);
$(hoverEffect[i]).bind('mouseleave', bMouseOut);
}
function bMouseOver(e)
{
$(this).find(".fadebox")
.animate({opacity: 1},
300);
}
function bMouseOut(e)
{
$(this).find(".fadebox")
.animate({opacity: 0},
{duration: 'slow'});
}
}
$(document).ready(function(){
go();
});
それは私の頭を割っている基本的なホバー効果です! あなたはなにか考えはありますか???
一番、