
语法$(selector).hover(inFunction,outFunction)注意:如果只规定了一个函数,则它将会在mouseenter和mouseleave事件上运行。其中hover()方法规定当鼠标指针悬停在被选元素上时要运行的两个函数。并且规定形式:“$(selector).on("mouseentermouseleave",handlerInOut);”

语法$(selector).hover(inFunction,outFunction)注意:如果只规定了一个函数,则它将会在mouseenter和mouseleave事件上运行。其中hover()方法规定当鼠标指针悬停在被选元素上时要运行的两个函数。并且规定形式:“$(selector).on("mouseentermouseleave",handlerInOut);”
上一篇:春草明年绿王孙归不归出自哪首诗
下一篇:原生生物的形态结构特征是什么