2013년 12월 1일 일요일

자바스크립트의 값을 frame에 넣는 방법

html>
<head>
<script>
function loadFrames()
{
top.frame1.location = "http://www.google.com";
top.frame2.location = "http://www.yahoo.com";
}
</script>
</head>
<frameset rows="10%,*" on Load="top.loadFrames()">
<frame name="frame1" src="javascript:' '">
<frame name="frame2" src="javascript:' '">
</frameset>
</html>            

댓글 없음:

댓글 쓰기