语法很简单:
CSS中加入
html, * { -moz-user-select:none }
即可。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> - http://www.never-online.net </title> <meta http-equiv="ImageToolbar" content="no" /> <meta name="author" content="never-online, BlueDestiny"/> <meta name="keywords" content="never modules, Mozilla CSS, C#, .net, Reference, <a title="" href="http://blog.csdn.net/BlueDestiny" _fcksavedurl="http://blog.csdn.net/BlueDestiny" target="_blank">never-online</a>"/> <meta name="description" content="javascript reference, c sharp artilces"/> <meta name="creator.name" content="never-online, BlueDestiny" /> <style type="text/css" media="all" title="Default"> html, body { font:10pt "Trebuchet MS";} html, * { -moz-user-select:none; } h1 { text-align:center; } </style> </head> <body id="www.never-online.net"> <h1>-moz-user-select</h1> <h4>Mozilla Firefox下,拖拽(选择)无效</h4> <pre class="main"> blog: http://blog.never-online.net xsl tutorial javascript tutorial javascript source c# source etc. </pre> </body> </html>
发表于 @ 2006年09月05日 01:47:00|评论(loading...)|编辑