IFRAME是属于另一个WINDOW对象了,你得在它里面进行禁止.document.getElementById("show_text").contentWindow.document.oncopy = function()
{
    return false;
}

解决方案 »

  1.   

    在iframe引用的那一页加上你这一段
    <body  onmousemove=\HideMenu()\ oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()">
    或者在iframe的style属性里加上
    style="-moz-user-select:none;/*For FF*/ 
    select:expression(this.onselectstart=function(){return(false)});/*For IE*/
    copy:expression(this.onmousemove=function(){var tR=document.selection.createRange(), temp=tR.collapse(), temp= tR.select() });/*For IE*/"
    IE和FF都不能复制框选了