By Rook
First look at this sentence
CopyCode The Code is as follows: <a href = '# 'onmouseover = "this. style. cursor = 'hand' "onmouseout =" this. style. cursor = 'default' "onclick =" document. getelementbyid ('showcontent '). innerhtml = ''; return false;">
</A>
There is no problem in IE. When you move the mouse over, a small hand shape will appear, but in FF, it is only effective when you draw it for the first time, this is effective because there is an anchor a, not the result of onmouseover.
I found a lot on the internet, saying that you only need to make this. style. cursor = 'hand' to this. style. cursor = 'pointer ', but when you move the cursor in FF, a small hand appears only for the first time.
In fact, it is also possible to achieve the same effect in IE under ff. Our solution is to use CSS hack (does it add this one to CSS hack ?)Copy codeThe Code is as follows: <a href = '# 'onmouseover = "this. style. cursor = 'pointer '; this. style. cursor = 'hand' "onmouseout =" this. style. cursor = 'default' "onclick =" document. getelementbyid ('showcontent '). innerhtml = ''; return false;">
</A>
Passed the test in IE7 and ff3.0.3.