미채택 완료
프레임셋 타겟이 익스를로러만 작동하고 크롬, 사파리 등은 작동은 안해요ㅠㅠ
<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개 / 댓글 1개
2018-11-03 (토) 20:41:24
많은 도움이 되었습니다. 감사합니다.
2014-01-22 (수) 11:18:50
<a href="javascript:home();" target="mainFrame" > 이부분을 그냥
<a href="/home.html" target="mainFrame" > 로 바꾸십시요.
home() 함수가 잘못되었습니다..
답변에 대한 댓글 1개
2014-01-22 (수) 15:31:40
답변을 작성하려면 로그인이 필요합니다.
어제 새벽에 몇시간을 씨름하면서 별의별 가능성을 다 생각하고 수정했는데..
그 함수는 전혀..... 생각하고 있지 않았네요!!!!!!
말씀대로 수정했더니 바로!! 크롬,사파리 등에서도 정상작동합니다~~!!!
오늘도 머리썩고 있었는데.. 진심으로 진심으로 감사드립니다.
진정한 능력자이십니다!!!!!