专注前端素材!
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>素材8网教程(study.sucai8.cn)</title> <script> function load(){ alert("Frame is loaded"); } </script> </head> <frameset cols="50%,50%"> <frame src="frame_a.htm" onload="load()"> <frame src="frame_b.htm"> </frameset> </html>
运行结果