2003³â 1¿ù 8ÀÏ ÀÌÈÄ 
¸ðµÎ ¸í  ¿À´Ã ¸í 
¸ÞÀÎ ÆäÀÌÁö  
Ä®·³ º¸±â  
Ä«Å÷ º¸±â  
°Ô½ÃÆÇ °¡±â  
»çÀÌÆ®¸Ê  
±×¹ÛÀÇ °Íµé  

°¡ÀÔÇϸé Á¤¸» ÆíÇÕ´Ï´Ù;;
¢ºÀÚÀ¯ °Ô½ÃÆÇ
Áú´ä °Ô½ÃÆÇ
À¯¿ëÇÑ Á¤º¸
 

QnA
¹¯°í ´äÇϱâ
Áú¹®Àü °Ë»öÀº ±âº»!!!
Áú¹® ³»¿ëÀº ÃÖ´ëÇÑ ÀÚ¼¼ÇÏ°í Á¤È®ÇÏ°Ô!!!!!

 show & hide Question  
 smallfish  posted at 2005-05-09 14:50:23
2582 hits  3 comments
 http://ilovefish.org NeWin smallfish is level 1  llllllllll 
 ÆÛ¸Ó¸µÅ© : http://reedyfox.com/island.php/qna/851  [º¹»ç]

i am sorry that i don't know korean language, so i really want to get your help.
i am chinese in HK. i know chinese and english.
i use zboard in my site. i want to use the special effect on "Show & Hide".

eg.

i go to http://www.nzeo.com/bbs/zboard.php?id=cgi_tip&page=1&sn1=&divpage=1&sn=off&ss=on&sc=off&keyword=hide&select_arrange=headnum&desc=asc&no=5857»õâÀ¸·Î ¿­±â


there are something i can't understand.
1) in write.php
is this file in the "skin/skin file/write.php"?

just insert the below at the top of the write.php?

function random(n) {
        return Math.floor(Math.random()*n);
}

function AddshowandhideTag(ch1,ch2){
        if(document.write.memo.createTextRange){
                document.write.memo.focus();
                document.selection.createRange().duplicate().text = ch1 + random(10000) + "|" + document.selection.createRange().duplicate().text + ch2;
                document.selection.createRange().select();
        }
}


2)
function layer_toggle(obj) {
        if (obj.style.display == 'none') obj.style.display = 'block';
        else if (obj.style.display == 'block') obj.style.display = 'none';
}


i don't know where should i put into?
i know it inserts between <head> and </head>, but what is the specific place?
is it inside the "skin/skin file" or in the root?

3) include/list_chech.php ?? <--- is it wrong?
it should be list_check.php, right?

// show and hide
$imageBoxPattern = "/(W)[showandhide(W)|([^(W)n]*)(W)|([^(W)n]*)(W)|([0-9]+)(W)|/i";
$memo = preg_replace($imageBoxPattern,"<div id=a(W)(W)3 style=display:block><a class=keyword href=.javascript; onclick=(W)"layer_toggle(document.getElementById('a(W)(W)3')); layer_toggle(document.getElementById('b(W)(W)3')); return false;(W)">(W)(W)1</a></div><div id=b(W)(W)3 style=display:none ><a class=keyword href=.javascript; onclick=(W)"layer_toggle(document.getElementById('a(W)(W)3')); layer_toggle(document.getElementById('b(W)(W)3')); return false;(W)">(W)(W)2</a><br>", $memo);

$memo = str_replace("
" ,"</div>", $memo);



where should i put? i mean in the specific place?

there is question i really don't understand, it is "where should the passage put into the right place?
1)


  PRINT Text  PRINT HTML  

  Trackbacks for this Posting (0)
'»ý°¢Çϴ¼¶ ¹Ù´å°¡ - show & hide Question'

LIST ALL               GO TO THE TOP

- ÀÌ±Û À§¿¡ ÀÖ´Â ±Û : ¸®µð ´Ô, ¾È³çÇϼ¼¿ä? rss ¿¡ °üÇÑ Áú¹® ÀÖ¾î¿ä.
- ÀÌ±Û ¾Æ·¡ ÀÖ´Â ±Û : ±ôº¸ 6210_board: º»¹®¿¡ À̸ðƼÄÜ »ç¿ëÇϱâ

Copyright 1999-2024 Zeroboard

 
»ý°¢ÇÏ´Â ¼¶, ¹Ù´å°¡´Â ¸®µð°¡ ¿î¿µÇÏ´Â °³ÀÎ Ä®·³ »çÀÌÆ®À̸ç ÀϺΠÄÁÅÙÃ÷´Â ¸®µð ¿ÜÀÇ ÇÊÁø¿¡ ÀÇÇØ ÀÛ¼ºµÇ¾ú½À´Ï´Ù. ÀÌ°÷ÀÇ ¸ðµç ÄÁÅÙÃ÷´Â Ãâó(Deep Link URL) ¹× ÀÛ°¡¸¦ ¸í½ÃÇÏ´Â Á¶°ÇÀ¸·Î ºñ»ó¾÷Àû ¿ëµµÀÇ ÀüÁ¦/º¹Á¦°¡ °¡´ÉÇÕ´Ï´Ù. ±×·¯³ª ÀÌ°÷¿¡ °ÔÀçµÈ ÄÁÅÙÃ÷ÀÇ ÃëÁö ¶Ç´Â ÀÛ°¡ÀÇ Àǵµ°¡ ¿Ö°îµÇ¾î Çؼ®µÉ ¼ö ÀÖ´Â ÄÁÅÙÃ÷ º¯ÇüÀº ±ÝÁöÇÕ´Ï´Ù. ÀÌ°÷¿¡ ±âÀçµÈ ÀüÀÚ¿ìÆíÁÖ¼Ò¿¡ ´ëÇÑ ÀÏüÀÇ ¼öÁýÇàÀ§¸¦ °ÅºÎÇÕ´Ï´Ù.(°Ô½ÃÀÏ 2008³â 1¿ù 1ÀÏ)
Google
  ÂÄ~*  
Window close