프레임셋 타겟이 익스를로러만 작동하고 크롬, 사파리 등은 작동은 안해요ㅠㅠ
본문
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<frameset rows="100,*" frameborder="NO" border="0" framespacing="0">
<frame src="top.html" scrolling="NO" name="topFrame" id="topFrame" title="topFrame">
<frame src="home.html" name="mainFrame" name="mainFrame" id="mainFrame" title="mainFrame" >
</frameset>
<noframes>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<frame src="top.html" scrolling="NO" name="topFrame" id="topFrame" title="topFrame">
<frame src="home.html" name="mainFrame" name="mainFrame" id="mainFrame" title="mainFrame" >
</frameset>
<noframes>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
</body>
</noframes>
</noframes>
</html>
1. 위와 같이 프레임셋으로 프레임을 나누고 프레임 네임을 지정해주었습니다.
2. 그 다음 <a href="javascript:home();" target="mainFrame" > 로 링크를 주었는데요..
익스플로러에서는 mainFrame으로 링크가 잘 되는데 크롬, 사파리에서는 mainFrame에 내용이 뜨지 않고 본인프레임에 뜹니다.ㅠㅠ
왜 그런걸까요....ㅠㅠ
문제가 되는 주소는 http://noblesse-hotel.com/index_1.html 입니다.
제발 도와주세요..ㅠㅠㅠㅠ
답변 2
<a href="javascript:home();" target="mainFrame" > 이부분을 그냥
<a href="/home.html" target="mainFrame" > 로 바꾸십시요.
home() 함수가 잘못되었습니다..
많은 도움이 되었습니다. 감사합니다.
답변을 작성하시기 전에 로그인 해주세요.