하나의 계정에 홈페이지가 3개일 경우... > 질문답변

본문 바로가기

사이트 내 전체검색

뒤로가기 질문답변

하나의 계정에 홈페이지가 3개일 경우...

본문

안녕하세요~
 
일단 저의 계정상황을 말씀드리겠습니다.
 
1. 하나의 계정에. 그누보드를 하나 설치하였습니다.
2. 서브도메인을사용합니다.
3. 3개의 홈페이지에서 하나의 게시판을 공통으로 사용합니다.
4. 3개의 홈페이지 각자 다른디자인을 갖고 있습니다.
 
이렇게 위의 조건에 해당됩니다.~
 
예를 들어.~ 게시판 이름이 news인 뉴스게시판을 사용할 경우
 
3개의 홈페이지에서 공통으로 쓰되, 디자인이 다릅니다.
 
그럴경우 아이 프레임을 쓰지 않고..
다른 head 파일 인식으로 홈페이지를 만들 수 없을까요.?
 
아이프레임을 쓸 경우 스크롤바가 프레임에 생겨버려서.. 별루 마음이
 
들지 않거든요~ ^^;
 
좋은 방법이 있을까요>?
답변 부탁드리며..
 
즐거운 주말 되시기를 바랍니다.
 
감사합니다.
추천0

댓글목록 2

연후아빠님의 댓글

연후아빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

아이프레임 자동 늘림을 사용해 보세요..스크롤바 생기지 않습니다~!^^


<script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;

//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>



위 스크립트를 넣어주시고

<iframe width=100% id="the_iframe" onLoad="calcHeight();" src="불러올 내용주소" scrolling="NO" frameborder="0" height="0"></iframe>

이런식으로 불러오면 됩니다.

소피님의 댓글

소피쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

<script language="JavaScript">
//<!--             
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;

//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>

요렇게 고쳐서 사용하세요.

전체 1,640건 14 페이지
게시물 검색
Copyright (c) 株式会社YHPLUS. All rights reserved.

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒171-0014 東京都豊島区池袋2-41-5 アーバン154 8F
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

PC 버전으로 보기