ITeye博客

iframe的designmode属性

fourfire · 2007-07-26 13:31 · web · Markdown

<html>
<head>
</head>
<script language="javascript">
<!--
function start()
{
    document.getElementById("myiframe").contentWindow.document.designMode="on";
}
-->
</script>
<body onLoad="start()">
    <iframe id="myiframe" style="width:750px; height:400px; border:1;"></iframe>
</body>
</html>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。