<script language="javascript"> function imgdragstart(){return false;} </script> <script language="javascript"> for(i in document.images)document.images[i].ondragstart=imgdragstart; </script> 或直接在body写就行了<body ondragstart="return false">