如何在mouseover上點擊href鏈接?如何在mouseover上點擊href鏈接?
我想點擊鼠標懸停
我有什麼做的,使我的鏈接點擊鼠標懸停
讓我的鏈接,這是我的代碼:
<a href="www.example.com">link</a>
如何在mouseover上點擊href鏈接?如何在mouseover上點擊href鏈接?
我想點擊鼠標懸停
我有什麼做的,使我的鏈接點擊鼠標懸停
讓我的鏈接,這是我的代碼:
<a href="www.example.com">link</a>
嘗試類似:
<a onmouseover="this.click();" href="...">link</a>
你可以用jquery實現這個操作
$('a').mouseover(function(){
$(this).click();
});
的Jquery或樣式屬性
<a href="" onmouseover="$(this).click()" >Click Me</a>
<a href="" onmouseover="this.style.cursor='pointer';">Click Me</a>
假設他使用jQuery,這是無處提到.... – Barmar 2013-05-02 11:38:53
確定,但在那裏把我的鏈接在這上面的代碼? – user2033281 2013-05-02 11:40:44