Warning: Undefined array key "mobile_dir" in /home/kagla/new-sir/old/common.php on line 315
프레임셋 타겟이 익스를로러만 작동하고 크롬, 사파리 등은 작동은 안해요ㅠㅠ

프레임셋 타겟이 익스를로러만 작동하고 크롬, 사파리 등은 작동은 안해요ㅠㅠ

프레임셋 타겟이 익스를로러만 작동하고 크롬, 사파리 등은 작동은 안해요ㅠㅠ

QA

프레임셋 타겟이 익스를로러만 작동하고 크롬, 사파리 등은 작동은 안해요ㅠㅠ

답변 2

본문

<html>
<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">
</body>
</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() 함수가 잘못되었습니다..

정말 감사합니다ㅠㅠㅠㅠ
어제 새벽에 몇시간을 씨름하면서 별의별 가능성을 다 생각하고 수정했는데..
그 함수는 전혀..... 생각하고 있지 않았네요!!!!!!

말씀대로 수정했더니 바로!! 크롬,사파리 등에서도 정상작동합니다~~!!!

오늘도 머리썩고 있었는데.. 진심으로 진심으로 감사드립니다.

진정한 능력자이십니다!!!!!

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 129,406
© SIRSOFT
현재 페이지 제일 처음으로