main.html :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<div style="width:100%;height:50px;border:1px solid red;" ></div>
<iframe id="iframeEditor" src="sub.html" style="width:100%;height:100px;" ></iframe>
</body>
</html>sub.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<div style="width:100%;height:195px;" >
12345
</div>
</body>
</html>
上传图片失效,不好意思。也就是:先选择12345, "刷黑". 再鼠标移到iframe 外, 任意点击红框中部分, 要求“12345”仍处于选中状态。 Firefox , Chrome 可以做到, 但IE10不可以, 请教, 多谢
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<div style="width:100%;height:50px;border:1px solid red;" ></div>
<iframe id="iframeEditor" src="sub.html" style="width:100%;height:100px;" ></iframe>
</body>
</html>sub.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<div style="width:100%;height:195px;" >
12345
</div>
</body>
</html>
上传图片失效,不好意思。也就是:先选择12345, "刷黑". 再鼠标移到iframe 外, 任意点击红框中部分, 要求“12345”仍处于选中状态。 Firefox , Chrome 可以做到, 但IE10不可以, 请教, 多谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货