0
一度読み込んだフレームをドラッグ&スケーリングできるようにするにはどうすればよいですか?これはHTML/CSS/JSで可能ですか?ユーザが操作するフレーム - HTML/CSS/JS
<script>
var frame;
function addFrame() {
frame = document.createElement('iframe');
frame.height = "200px";
frame.width = "200px";
frame.setAttribute('id', 'superFrame');
document.body.appendChild(frame);
}
function loadGoogle() {
frame.setAttribute('src','http://www.google.com')
}
</script>
左は私が望むものですが、ユーザーがフレームをドラッグしてサイズを設定しています。
http://stackoverflow.com/questions/6194302/how-can-i-cleanly-resize-an-iframe-with-dragging-functionality – j08691
http://stackoverflow.com/questions/ 8117761/if-make-an-iframeでサイズ変更可能な方法 – j08691
http://stackoverflow.com/questions/7816372/make-iframes-resizable-dynamically – j08691