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-index。
a {
z-index: 1000 /* Put in front of other objects */
}
將Z-index想象成Photoshop中的圖層。
相關問題
- 1. jquery mobile fixed(always on top)標題
- 2. Pane always on top - JavaFX
- 3. 刪除'always on top'
- 4. Inno Setup Always on top
- 5. 如何刪除<a href> Link Tag for a Specific Value using Jquery
- 6. 如何把<a href on that like which is 3? I'm using javascript
- 7. 是否有可能通過程序模擬點擊<a href> tag using jquery?
- 8. jquery ui dialog top always> 0
- 9. <a href="url"> and window.location = "url" on iOS?
- 10. 編寫<a href=""> on Django
- 11. <a href=''> not working on the other pages
- 12. IE上<a href> click
- 13. 用<a href="/#/xyz> instead of <a ui-sref="primary"> using ui-router
- 14. 如何嵌套一個<a href=""> when using $(this).clone()?
- 15. 從<a href=""> link
- 16. 與<a href> tags in Javascript/JQuery
- 17. HTML實體在<a href=
- 18. Preg_match_all <a href
- 19. jQuery - target.href與<a href="#"><img></a>
- 20. 如何查找每個<a href="" > for html using regular expression(JS)
- 21. 刮網頁包含錨標記<a href = "#"> using scrapy
- 22. 如何從JSP傳遞值通過<a href> using jstl
- 23. 正在使用<a href=" ... " target="window_name"> not a good practice?
- 24. <a href="#..."> link not working
- 25. 淡出<a href> element
- 26. 點擊<a href="">
- 27. 爲什麼<a href=#A> and jquery click function not work together?
- 28. 我們能否以更好的方式使用<a href="#"> for "back to top" button at bottom of the page?
- 29. slider AutoToolTip always on
- 30. 從<a href="http://projecteuler.net/" rel="nofollow">http://projecteuler.net/</a>在Python
你想要點擊哪些東西,圖像背景或鏈接?你的問題不清楚。 – 2010-12-08 15:19:26