Home >Web Front-end >JS Tutorial >Use javascript to implement mouse frame selection_javascript skills

Use javascript to implement mouse frame selection_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:13:161832browse

It was originally intended to be compatible with browsers such as Netscape and FireFox, but these browsers do not support style.pixelLeft, so you have to use style.left and the like (style.pixelLeft has no units for numbers, and style.left has units for text). In fact, During use, I found that the effect was very poor and there was a delay, so I still used style.pixelLeft. The disadvantage is that it only supports IE series browsers.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn