¼Ò½ºÇÏ´Ü¿¡ ÀÖ´Â ¿É¼Ç°ªÀ» Á¶Á¤ÇÏ¿© ÆäÀÌÁö ·Îµù½Ã ÃÖÃÊ·Î º¸¿©Áú Ç׸ñÀ» ÁöÁ¤ÇÒ¼ö ÀÖ½À´Ï´Ù.
¸Ç ¾Æ·¡ ÀÚ¹Ù½ºÅ©¸³Æ®¸¦ Âü°íÇϼ¼¿ä..
µ¥¸ð¸¦ È®ÀÎÇϽðí ÀÚ¹Ù½ºÅ©¸³Æ® ÁÖ¼®À» Âü°íÇÏ¿© ½½¶óÀ̵ù¼Óµµ¸¦ Á¶ÀýÇÒ¼ö ÀÖ½À´Ï´Ù.
¾Æ·¡´Â º» ¿¹Á¦ÀÇ ÀÚ¹Ù½ºÅ©¸³Æ®ÀÔ´Ï´Ù.
<html> <head> <title>ÇØÇÇCGI</title> <style type="text/css"> .dhtmlgoodies_question{ /* Styling question */ font-size:12px; font-family:verdana; letter-spacing:-1px; background-color:#999999; border:1px #444444 solid; color:ffffff; width:430px; padding:8px; overflow:hidden; cursor:pointer; } .dhtmlgoodies_answer{ /* Parent box of slide down content */ /* Start layout CSS */ font-size:12px; font-family:verdana; border-bottom:1px solid #444444; border-right:1px solid #444444; border-left:1px solid #444444; background-color:#efefef; padding:0px; width:430px; visibility:hidden; overflow:hidden; position:relative;
} .dhtmlgoodies_answer_content{ /* Content that is slided down */ padding:1px; font-size:0.9em; position:relative; }
</style> <script type="text/javascript"> /************************************************************************************************************ (C) www.dhtmlgoodies.com, November 2005
This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.
Terms of use: You are free to use this script as long as the copyright message is kept intact. However, you may not redistribute, sell or repost it without our permission.
Thank you!
www.dhtmlgoodies.com Alf Magne Kalleland
************************************************************************************************************/
var dhtmlgoodies_slideSpeed = 20; // Higher value = faster var dhtmlgoodies_timer = 20; // Lower value = faster
var objectIdToSlideDown = false; var dhtmlgoodies_activeId = false; var dhtmlgoodies_slideInProgress = false; function showHideContent(e,inputId) { if(dhtmlgoodies_slideInProgress)return; dhtmlgoodies_slideInProgress = true; if(!inputId)inputId = this.id; inputId = inputId + ''; var numericId = inputId.replace(/[^0-9]/g,''); var answerDiv = document.getElementById('dhtmlgoodies_a' + numericId);
objectIdToSlideDown = false; if(!answerDiv.style.display || answerDiv.style.display=='none'){ if(dhtmlgoodies_activeId && dhtmlgoodies_activeId!=numericId){ objectIdToSlideDown = numericId; slideContent(dhtmlgoodies_activeId,(dhtmlgoodies_slideSpeed*-1)); }else{ answerDiv.style.display='block'; answerDiv.style.visibility = 'visible'; slideContent(numericId,dhtmlgoodies_slideSpeed); } }else{ slideContent(numericId,(dhtmlgoodies_slideSpeed*-1)); dhtmlgoodies_activeId = false; } }
function slideContent(inputId,direction) { var obj =document.getElementById('dhtmlgoodies_a' + inputId); var contentObj = document.getElementById('dhtmlgoodies_ac' + inputId); height = obj.clientHeight; if(height==0)height = obj.offsetHeight; height = height + direction; rerunFunction = true; if(height>contentObj.offsetHeight){ height = contentObj.offsetHeight; rerunFunction = false; } if(height<=1){ height = 1; rerunFunction = false; }
obj.style.height = height + 'px'; var topPos = height - contentObj.offsetHeight; if(topPos>0)topPos=0; contentObj.style.top = topPos + 'px'; if(rerunFunction){ setTimeout('slideContent(' + inputId + ',' + direction + ')',dhtmlgoodies_timer); }else{ if(height<=1){ obj.style.display='none'; if(objectIdToSlideDown && objectIdToSlideDown!=inputId){ document.getElementById('dhtmlgoodies_a' + objectIdToSlideDown).style.display='block'; document.getElementById('dhtmlgoodies_a' + objectIdToSlideDown).style.visibility='visible'; slideContent(objectIdToSlideDown,dhtmlgoodies_slideSpeed); }else{ dhtmlgoodies_slideInProgress = false; } }else{ dhtmlgoodies_activeId = inputId; dhtmlgoodies_slideInProgress = false; } } }
function initShowHideDivs() { var divs = document.getElementsByTagName('DIV'); var divCounter = 1; for(var no=0;no<divs.length;no++){ if(divs[no].className=='dhtmlgoodies_question'){ divs[no].onclick = showHideContent; divs[no].id = 'dhtmlgoodies_q'+divCounter; var answer = divs[no].nextSibling; while(answer && answer.tagName!='DIV'){ answer = answer.nextSibling; } answer.id = 'dhtmlgoodies_a'+divCounter; contentDiv = answer.getElementsByTagName('DIV')[0]; contentDiv.style.top = 0 - contentDiv.offsetHeight + 'px'; contentDiv.className='dhtmlgoodies_answer_content'; contentDiv.id = 'dhtmlgoodies_ac' + divCounter; answer.style.display='none'; answer.style.height='1px'; divCounter++; } } } </script>
</head> <body>
<div class="dhtmlgoodies_question"><B>Q: ÇØÇÇCGI´Â ¾ÕÀ¸·ÎÀÇ Èñ¸ÁÀ» ³¯¸³´Ï´Ù.</B></div> <div class="dhtmlgoodies_answer"> <div style="padding:15"> ÇØÇÇCGIÀÇ Ã¹¹ß°ÉÀ½À» ÁöÄѺÁÁֽŠ°í°´ºÐµé Á¤¸» °¨»çµå¸³´Ï´Ù.<br> ¾ÕÀ¸·Î ³ª¾Æ°¡¸ç Çϴ÷Πºñ»óÇÒ ¿£ÁøÀ» žÁ¦ÇÑ ½´ÆÛ¼Ö·ç¼ÇÀ» ±â´ëÇϸç<br> ¹ßÀüÇÏ´Â ÇØÇÇCGI°¡ µÇ°Ú½À´Ï´Ù. </div> </div> <br>
<div class="dhtmlgoodies_question"><B>Q: ÇØÇÇCGIÀÇ ÀÚ·á´Â ¸ðµÎ ¹«·áÀÔ´Ï´Ù. </B></div> <div class="dhtmlgoodies_answer"> <div style="padding:15"> ÇØÇÇCGIÀÇ ¸ðµç ÀÚ·á´Â ¹«·áÀÔ´Ï´Ù. <br> °í°´ºÐµéÀÇ Âü¿©·Î ÇØÇÇCGI´Â °è¼Ó Á¤ÁøÇØ ³ª°¡´Â ȸ»çÀÔ´Ï´Ù.<br> °í°´´Ôµé²² ¼º¿øÇϱâ À§ÇÑ Àڱ׸¶ÇÑ ¼ºñ½ºÀÌ´Ï<br> ¸¹Àº Âü¿©¿Í µî·ÏÀ» ºÎŹµå¸³´Ï´Ù. </div> </div> <br>
<div class="dhtmlgoodies_question"><B>Q: ÇØÇÇCGI º»ÅäÅä¹úÁ¤¹úÀº ¾ðÁ¦Àϱî¿ä? </B></div> <div class="dhtmlgoodies_answer"> <div style="padding:15">º»ÅäÅä¹úÁ¤¹ú? Å©Å©Å© ¸ÓÁÒ? ¤» </div> </div> <br>
<script type="text/javascript"> initShowHideDivs(); showHideContent(false,1); // ÆäÀÌÁö ·Îµù½Ã ù¹ø°·Î ÆîÃÄÁú Ç׸ñ ¼±Åà // 1=ù¹ø° Ç׸ñ 2=µÎ¹ø° Ç׸ñ // ÆäÀÌÁö ·Îµù½Ã ÆîÃÄÁú Ç׸ñÀÌ ³ªÅ¸³ªÁö ¾Ê°Ô ÇÏ·Á¸é showHideContent(false,1);À» ÁÖ¼® ó¸® ¶Ç´Â »èÁ¦Çϼ¼¿ä. </script>
</body> </html>
|