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?
0
A
答えて
0
Try to use the .click() function instead of using href's.
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インデックスをレイヤーと考えてください。
関連する問題
- 1. jQuery - always on top
- 2. jquery mobile fixed(always on top)header
- 3. JQueryプル<a href
- 4. ページは<a href> tag in IE, jquery is attached to the a href
- 5. の理解jQueryのAPIドキュメント構文<a href="http://api.jquery.com/on/" rel="nofollow">http://api.jquery.com/on/</a>から
- 6. jQuery - target.href <a href="#"><img></a>
- 7. jQueryのホバリングイベントon <a>モバイルデバイスのタグ
- 8. <a href
- 9. Azureウェブサイト "Always On"
- 10. タグ内<a href="....."></a></td> DOUBLE_WHITESPCE in query href
- 11. 特定の<a href..certain.domain.com... with php preg_replace
- 12. <a href="#"> when the anchor tag only triggers a jQuery action without redirecting the user?
- 13. <a href> inside a button in wordpress
- 14. <a href> link with id
- 15. デフォルトの削除<a href> action
- 16. は<a href="https://devcenter.heroku.com/articles/nodejs" rel="nofollow">dead simple tutorial on Heroku's website</a>を使用してHerokuの
- 17. が使用されています<a href=" ... " target="window_name"> not a good practice?
- 18. jQuery - jeditable on href click
- 19. PHPの警告:filemtime()[<a href='function.filemtime'>function.filemtime</a>]
- 20. TOPとORDER BY sqlエラー
- 21. html/javascript:<a href>
- 22. ロールオーバーテキストなし<a href>
- 23. click on stringのjquery check href?
- 24. $(文書).onを使用する方法(「上..クリック<a tag?
- 25. <a id='view.php'>
- 26. window.open()と<a href="'> in Struts2
- 27. を渡す値は<a href= > tag
- 28. href式<a href="javascript:;"></a>の機能は何ですか?
- 29. 私は<a href="http://github.com/llazzaro/lsa_python" rel="nofollow">this code on github</a>を実行したいスパイダー
- 30. jQueryローダー、イベント "one" + a hrefクラス
クリックしたもの、画像の背景、またはリンクはどれですか?あなたの質問は明確ではありません。 –