Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Chrome/FF でのリンクの使用a:activeは、リンクを右クリックして新しいタブで開いて、クリックされたことを示すリンクの色を設定するときに機能します。ただし、IE では、これは同じようには機能しません。何か案は?
a:active
jsFiddle デモ
$(document).on("mousedown", "a", function (e) { if (e.button == 2) { $(this).css("color", "red"); return false; } return true; });