【发布时间】:2012-08-07 13:07:25
【问题描述】:
我想知道这段代码有什么问题
<canvas>
<view y="50" width="100%" height="300" bgcolor="blue" onmousedown="res.apply()" onmouseup="res.remove()">
<resizestate name="res"/>
<dragstate name="drg"/>
<text width="100%" bgcolor="gray" onmousedown="parent.drg.apply()" onmouseup="parent.drg.remove()">Drag here</text>
<html id="ht" src="text.html" x="15" y="15" width="${parent.width - 30}" height="${parent.height - 30}"/>
</view>
</canvas>
代码已编译,但我无法在 swf 版本中看到 html,但我能够在 dhtml 版本中看到 html。我也试过指定网址还是没有结果
【问题讨论】:
-
您的代码没有问题。看起来像一个 OpenLaszlo 错误。
标签: dhtml openlaszlo