Today in the use of jquery to make a carousel map, found that the Quick click the left-right button to switch the picture, the text icon will be the default double-click the selected state will have a blue or white background color block, this is the result of double-click the text selected, how to solve?
IE and chrome under the same method, the corresponding element is added onselectstart= "return false;" However, this does not work under Firefox, but Firefox can use CSS style to achieve this effect, that is, to add-moz-user-select:none, it is compatible with Ie,google,firefox, that is, the code is as follows:
1 <div class= "Picbox" onselectstart= "return false;" style= "-moz-user-select:none;" > Screen Double-click the area of the selected text </div>
In this way, the text in the Div will not be double checked.
CSS block page Double-click to select text----solve using font icons to quickly switch between carousel plots with background blocks