javascript - After binding the window.resize event to an element, the previously set cursor attribute becomes invalid.
某草草
某草草 2017-05-19 10:36:14
0
1
775

(Under IE) I bound a click event to an img element to set the cursor:url('xxx') style of this image. If I don't bind the window.resize event, I click this img The element can display different cursor:url('xxx') and the mouse can display the corresponding icon. However, once I bind the window.resize event and I click on the image, the cursor:url('xxx') will be replaced. But the default shape of the mouse is just an arrow. I have to move the mouse before its shape changes. What is the reason for this?

某草草
某草草

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!