2010-12-08 14 views
0

I am using supersized plugin to have a rotating fullscreen image background with <a>s. But as it sits behind my site content it can't be clicked. So i was wondering if it is possible to have an <a> be swap to top onrollover and be clickable?<a href always on top by using jquery?

+1

クリックしたもの、画像の背景、またはリンクはどれですか?あなたの質問は明確ではありません。 –

答えて

0

は、使用して試すことができます:

$(".floating-links").hover(function() { 
    $(this).css({ "z-index": 1000 }); 
}, function() { 
    $(this).css({ "z-index": 0 }); 
}); 
0

あなたの要素のCSSのZインデックスをチェックする必要があると考えられる場合。

a { 
    z-index: 1000 /* Put in front of other objects */ 
} 

PhotoshopのZインデックスをレイヤーと考えてください。

関連する問題