[RE:민] 다 아시면서 ~~*^^*~~~

2000. 6. 7. 오후 2:11:06

글자

ㅋㅋㅋ

이미 다 알고 계시네요~

다만

subject 라는 항목은 ’주제’ 라고 글쓰기 할 때 제목 옆에 있는 건데

사실 거의 사용되지 않는 겁니다.

나머진 저도 몰라요~

저도 혼자서 끙끙대며 찾은거라서요~

 

그리고 특정 번호를 보여주고 싶으시면

다음과 같이 하시면 됩니다.

하지만 이것도 소스에 있는건데 못보셨나 부죠?

 

 //공지사항

 function open_notice(i) {

  window.open("https://www.catholic.or.kr/gnbbs/ncbbs.dll?article?bbs=tiger_notice&artid=" + i, "tiger_notice", "fullscreen=no, channelmode=no, toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, width=650, height=500");

 }

 

여기서 tiger_notice는 게시판의 이름이고요

i 라는 값에 글 번호를 받아서 동작하는 것이니까

예를 들어 36번 글만 열고 싶으시면

 

 //공지사항

 function open_notice() {

  window.open("https://www.catholic.or.kr/gnbbs/ncbbs.dll?article?bbs=tiger_notice&artid=36", "tiger_notice", "fullscreen=no, channelmode=no, toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, width=650, height=500");

 }

 

라고 직접 입력하셔도 됩니다.

하지만 이렇게 하면 다른 번호의 글을 보기 위해서 또다른 코드를 만들어야 되는 번거러움이 생기죠. 그냥 변수로 받아서 하시는 것이 좋습니다.

 

그럼~

댓글 0

첫 댓글을 남겨보세요

[테크닉게시판] Q&A

목록 전체보기 →