<html> <head> <title> ÅǸ޴º </title>
<!------ [1´Ü°è] ¾Æ·¡ÀÇ ½ºÅ©¸³Æ® ¼Ò½º¸¦ <head></head> »çÀÌ¿¡ º¹»ç ÇØ ³ÖÀ¸¼¼¿ä ------->
<style type="text/css"> /**ÅǸ޴º¹Ú½º ¼³Á¤**/ #tablist{ padding: 3px 0; margin-left: 0; margin-bottom: 0; margin-top: 0.1em; font: bold 12px Verdana; }
#tablist li{ list-style: none; display: inline; margin: 0; }
#tablist li a{ padding: 3px 0.5em; margin-left: 3px; border: 1px solid #778; border-bottom: none; background: white; }
#tablist li a:link, #tablist li a:visited{ color: navy; }
#tablist li a.current{ background: lightyellow; }
/**³»¿ëÀÌ º¸¿©Áú ¹Ú½º ¼³Á¤**/ #tabcontentcontainer{ width: 400px; padding: 20px; border: 1px solid black; }
.tabcontent{ display:none; }
</style>
<script type="text/javascript">
var initialtab=[1, "sc1"] // óÀ½ ½ÃÀÛµÉ ÅÇÀÇ ID
function cascadedstyle(el, cssproperty, csspropertyNS){ if (el.currentStyle) return el.currentStyle[cssproperty] else if (window.getComputedStyle){ var elstyle=window.getComputedStyle(el, "") return elstyle.getPropertyValue(csspropertyNS) } }
var previoustab=""
function expandcontent(cid, aobject){ if (document.getElementById){ highlighttab(aobject) detectSourceindex(aobject) if (previoustab!="") document.getElementById(previoustab).style.display="none" document.getElementById(cid).style.display="block" previoustab=cid if (aobject.blur) aobject.blur() return false } else return true }
function highlighttab(aobject){ if (typeof tabobjlinks=="undefined") collecttablinks() for (i=0; i<tabobjlinks.length; i++) tabobjlinks[i].style.backgroundColor=initTabcolor var themecolor=aobject.getAttribute("theme")? aobject.getAttribute("theme") : initTabpostcolor aobject.style.backgroundColor=document.getElementById("tabcontentcontainer").style.backgroundColor=themecolor }
function collecttablinks(){ var tabobj=document.getElementById("tablist") tabobjlinks=tabobj.getElementsByTagName("A") }
function detectSourceindex(aobject){ for (i=0; i<tabobjlinks.length; i++){ if (aobject==tabobjlinks[i]){ tabsourceindex=i break } } }
function do_onload(){ var cookiecheck=window.get_cookie && get_cookie(window.location.pathname).indexOf("|")!=-1 collecttablinks() initTabcolor=cascadedstyle(tabobjlinks[1], "backgroundColor", "background-color") initTabpostcolor=cascadedstyle(tabobjlinks[0], "backgroundColor", "background-color") if (typeof enablepersistence!="undefined" && enablepersistence && cookiecheck){ var cookieparse=get_cookie(window.location.pathname).split("|") var whichtab=cookieparse[0] var tabcontentid=cookieparse[1] expandcontent(tabcontentid, tabobjlinks[whichtab]) } else expandcontent(initialtab[1], tabobjlinks[initialtab[0]-1]) }
if (window.addEventListener) window.addEventListener("load", do_onload, false) else if (window.attachEvent) window.attachEvent("onload", do_onload) else if (document.getElementById) window.onload=do_onload
</script>
<!-------- ¾Æ·¡ÀÇ ½ºÅ©¸³Æ®´Â »õ·Î°íħ ½Ã¿¡µµ ÇöÀçÆäÀÌÁö »óŸ¦ À¯Áö½ÃÅ°±â À§ÇÑ ÄÚµåÀÔ´Ï´Ù ----->
<script type="text/javascript">
var enablepersistence=true // ÇöÀçÆäÀÌÁö À¯Áö½Ã¿¡´Â true, ¾Æ´Ï¸é false
function get_cookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { offset += search.length end = document.cookie.indexOf(";", offset); if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; }
function savetabstate(){ document.cookie=window.location.pathname+"="+tabsourceindex+"|"+previoustab }
window.onunload=savetabstate
</script>
</head>
<body>
<!------ [2´Ü°è] ¾Æ·¡ÀÇ ½ºÅ©¸³Æ®¸¦ ¿øÇÏ´Â À§Ä¡¿¡ ºÙ¿© ³ÖÀ¸¼¼¿ä ---------------------->
<ul id="tablist"> <li><a href="#" class="current" onClick="return expandcontent('sc1', this)" >ù¹ø°¸Þ´º</a></li> <li><a href="#" onClick="return expandcontent('sc2', this)" theme="#FF3333">µÎ¹ø°¸Þ´º</a></li> <li><a href="#" onClick="return expandcontent('sc3', this)" theme="#33FF00">¼¼¹ø°¸Þ´º</a></li> <li><a href="#" onClick="return expandcontent('sc4', this)" theme="#3399FF">³×¹ø°¸Þ´º</a></li> </ul>
<DIV id="tabcontentcontainer">
<div id="sc1" class="tabcontent"> ù¹ø° ÅÇ ¸Þ´ºÀÇ ³»¿ë¿¡ µé¾î°¥ ±¸¹®À» ÀÔ·Â Çϼ¼¿ä </div>
<div id="sc2" class="tabcontent"> µÎ¹ø° ÅÇ ¸Þ´ºÀÇ ³»¿ë¿¡ µé¾î°¥ ±¸¹®À» ÀÔ·Â Çϼ¼¿ä </div>
<div id="sc3" class="tabcontent"> ¼¼¹ø° ÅÇ ¸Þ´ºÀÇ ³»¿ë¿¡ µé¾î°¥ ±¸¹®À» ÀÔ·Â Çϼ¼¿ä </div>
<div id="sc4" class="tabcontent"> ³×¹ø° ÅÇ ¸Þ´ºÀÇ ³»¿ë¿¡ µé¾î°¥ ±¸¹®À» ÀÔ·Â Çϼ¼¿ä </div>
</DIV>
<!------ ¿©±â±îÁö ÀÔ´Ï´Ù ---------->
<p> <button onClick="location.reload();">»õ·Î°íħ</button>
</body> </html>
|