- 1 名前:あらかわ [2005/08/21(日) 02:46:02 ]
- 過去スレ
HTA研究会 piza2.2ch.net/tech/kako/996/996763278.html Web制作板のHTAスレ pc8.2ch.net/test/read.cgi/hp/1068286485/ あとはまかせた
- 278 名前:デフォルトの名無しさん mailto:sage [2006/10/09(月) 08:51:39 ]
- >>277
<html> <head> <script> function load() { with (frame1.document) { open("text/html", "replace"); write('<html><body><div><input type="button"/></div></body></html>'); close(); } with (frame2.document) { open("text/html", "replace"); write('<html><body><div><input type="button"/></div></body></html>'); close(); } } </script> </head> <frameset cols="50%,*" onload="load()"> <frame id="frame1" /> <frame id="frame2" /> </frameset> </html>
- 279 名前:278 mailto:sage [2006/10/09(月) 08:55:40 ]
- 一々open()やwrite()使わないで,
frame1.document.body.innerHTML = '<html><body><div><input type="button"/></div></body></html>'; でもよい。
|
|