>
語法$(selector)r(inFunction,outFunction)注意:如果只規定了一個函式,則它將會在mouseenter和mouseleave事件上執行。其中hover()方法規定當滑鼠指標懸停在被選元素上時要執行的兩個函式。並且規定形式:“$(selector)("mouseentermouseleave",handlerInOut);”
圖文推薦