ÀÚÀ¯·Ó°Ô °Ô½Ã¹°À» ¿Ã¸±¼öÀÖ´Â °Ô½ÃÆÇÀÔ´Ï´Ù.
  • À¯³âÃß¾ï
  • Çб³»ýȰ
  • ÀÔ½ÃÁغñ
  • ´ëÇлýȰ
  • ±º»ýȰ
  • ¾Ë¹Ù»ýȰ
  • Ãë¾÷Áغñ
  • Á÷Àå»ýȰ
  • ¿ø·ë»ýȰ
  • ¿¬¾ÖÁß
  • °áÈ¥Áغñ
  • Áý¾È»ì¸²
  • Àڳ౳À°
  • â¾÷Áغñ
  • À̹ÎÀ¯ÇÐ
  • ³ëÈÄ»ýȰ
  • Àüüº¸±â


·Îµù½Ã ºÎµå·´°Ô ¿­¸®´Â ¸Þ´º

 

<html>
<head>
<style>
<!--
ÁÖ¼® Áß "¹«½Ã..." ºÎºÐÀº º¯°æ ºÒ°¡ ¼Ò½º°Å³ª
¼öÁ¤ ½Ã (¿¹:Å©±âÁöÁ¤) ¾Æ¹«·± º¯È­°¡ ¾øÀ» ½Ã
±×¸®°í ÁÖ¼® ºÙÀÎÀ̰¡ ¸ð¸¦ ¶§.. ^^;;
//-->
<!--
.menu
{
<!--
## ¸ÞÀÎ ¸Þ´º ##
¹«½Ã..
¹è°æ»ö
¸Þ´º Å׵θ® »ö
°¡·Î Å©±â
±ÛÀÚ Å©±â
±ÛÀÚü
±ÛÀÚ ¼Ó¼º (±âº»:none , ±½°Ô:bold , ÀÌÅŸ¯:italic)
¶Ç ¹«½Ã..
¸¶¿ì½º Æ÷ÀÎÆ® ¸ð¾ç
//-->
   position:relative;
   background-color:#006699;
   border:1px solid #006699;
   width:150;
   font-size:11px;
   font-family:verdana;
   font:bold;
   position:absolute;
   cursor:hand;
}

.item_panel
{
<!--
## ÇÏÀ§ ¸Þ´º ##
¹«½Ã...
¿ÞÂÊ Å׵θ® »ö
¿À¸¥ÂÊ Å׵θ® »ö
¹«½Ã...
¹«½Ã...
//-->
    width:150;
    border-left:1px solid #006699;
    border-right:1px solid #006699;
    clip:rect(0,150,0,0);
    position:absolute;
}

.item_panel a
{
   text-decoration:none;
   color:black;
   cursor:hand;
<!--
## ÇÏÀ§ ¸Þ´º A ## (¡è)
¹ØÁÙ, À­ÁÙ À¯¹« (¾øÀ½:none , ¹ØÁÙ:underline , À­ÁÙ:overline)
±âº» ±ÛÀÚ »ö
¸¶¿ì½º Æ÷ÀÎÆ® ¸ð¾ç
//-->
}

.item
{
   background-color:#006699;
   width:148;
   font-size:10px;
   font-family:verdana;
<!--
## ÇÏÀ§ ¸Þ´º B ## (¡è)
¹è°æ»ö
¹«½Ã...
±ÛÀÚ Å©±â
±ÛÀÚ Ã¼
//-->
}
//-->
</style>
</head>
<body>

<script language="javascript">
<!--
var height = 20; // ¸ÞÀÎ ¸Þ´ºÀÇ ¼¼·ÎÅ©±â
var iheight = 15; // ÇÏÀ§ ¸Þ´ºÀÇ ¼¼·ÎÅ©±â

var over_bgc = "silver"; // ÇÏÀ§ ¸Þ´º¿¡ ¸¶¿ì½º ¿Ã·ÈÀ»¶§ ¹è°æ»ö
var over_tc = "red"; // ÇÏÀ§ ¸Þ´º¿¡ ¸¶¿ì½º ¿Ã·ÈÀ»¶§ ±ÛÀÚ »ö

var bgc = "lightyellow"; // ÇÏÀ§ ¸Þ´º¿¡ ¸¶¿ì½º ³»·ÈÀ»¶§ ¹è°æ»ö
var tc = "#000000"; // ÇÏÀ§ ¸Þ´º¿¡ ¸¶¿ì½º ³»·ÈÀ»¶§ ±ÛÀÚ»ö

var speed = 0;
var timerID = "";
var N = (document.all) ? 0 : 1;
var width = 152
var self_menu = new Array();

function write_menu()
{
  smc = 0; // count the position of the self_menu - (ÇØ¼® ºÒ°¡·Î ¿øº» ÁÖ¼®À¸·Î.. ^^;;)
  document.write("<div style='position:absolute'>");
  mn = 0;
  mni = 1;
  start = -1;
  
  for(i=0;i<Link.length;i++)
  {
   la = Link[i].split("|"); // ¸Þ´º ±¸¼º ºÎºÐ¿¡¼­ ¸Þ´º ±¸ºÐ ±âÈ£
   if (la[0] == "0")
   {
    if(start == 0)
     {
      document.write("</div>");
      h =  csmc * iheight;
      tmn = mn;
      self_menu[smc] = new Array(tmn,h,0,-2);
      smc++;
      mn--;
     }
     csmc = 0;
    document.write("<div class='menu' style='top:"+mn+";height:"+height+"' id='down"+smc+"' onclick='pull_down("+smc+","+mni+")'> "+ la[1] + "</div>");
    self_menu[smc] = new Array(mn,height,0,mni);
    smc++;
    mni++;
    mn+=height;
    start = 1;
   }
   else
   {
    if(start == 1)
     {
      if(N)mn+=2;
       document.write("<div class='item_panel' id='down"+smc+"' style='top:"+mn+"'>");
       start = 0;
     }
    
    document.write("<a href='"+la[2]+"'");
    if (la[3] != "") document.write(" target='" + la[3] + "' ");
    document.write("><div class='item' id='d"+i+"' style='height:"+iheight);
    if (N) document.write(";width:150");
    document.write("' onmouseover='color(this.id)' onmouseout='uncolor(this.id)'>  "+ la[1] + "</div></a>");
    csmc++;
   }
  }
  if (start == 0)
   {
     document.write("</div>");
     h =  csmc * iheight;
     tmn = mn + 5;
     self_menu[smc] = new Array(tmn,h,0);
     name = "down" + (self_menu.length-1);
     obj = document.getElementById(name);
     obj.style.borderBottomColor = "darkblue";
     obj.style.borderBottomWidth = 1;
     obj.style.borderBottomStyle = "solid";
   }
  document.write("</div>");
}

function color(obj)
{
document.getElementById(obj).style.backgroundColor = over_bgc;
document.getElementById(obj).style.color = over_tc
}

function uncolor(obj)
{
document.getElementById(obj).style.backgroundColor = bgc;
document.getElementById(obj).style.color = tc
}

function pull_down(nr,c)
{
if (timerID == "")
{
to = self_menu[nr+1][1]
begin = nr + 2;
if (timerID != "") clearTimeout(timerID);
if (self_menu[nr+1][2] == 0)
{
  self_menu[nr+1][2] = 1;
  if(nr == self_menu.length-2)
  {
      to++;
  }
  epull_down(begin,to,0);
}
else
{
  to = 0;
  self_menu[nr+1][2] = 0;
  name = "down"+(nr+2);
  open_item = 0;
  for(i=0;i<nr;i++)
  {
   if(self_menu[i][2] == 1)
    {
        open_item += self_menu[i][1];
    }
  }
  if (N == false)
   {
      open_item-= (c*1);
}
  if (nr== self_menu.length-2)
  {
        val = self_menu[self_menu.length-1][1];to=-1;
  }
  else  val = parseInt(document.getElementById(name).style.top) -(open_item)-(c*height);
  epull_up(begin,to,val);
}
}
}

function epull_down(nr,to,nowv)
{
name = "down" + (nr-1);
obj = document.getElementById(name).style.clip = "rect(0,"+width+","+(nowv+1)+",0)";
for (i=nr;i<self_menu.length;i++)
{
  name = "down" + i;
  obj = document.getElementById(name);
  obj.style.top = parseInt(obj.style.top)+1;
}
nowv++;
if(nowv < to) timerID = setTimeout("epull_down("+nr+","+to+","+nowv+")",speed);
else timerID = "";
}

function epull_up(nr,to,nowv)
{
name = "down" + (nr-1);
obj = document.getElementById(name).style.clip = "rect(0,"+width+","+nowv+",0)";
for (i=nr;i<self_menu.length;i++)
{
  name = "down" + i;
  obj = document.getElementById(name);
  obj.style.top = parseInt(obj.style.top)-1;
}
nowv--;
if(nowv > to) timerID = setTimeout("epull_up("+nr+","+to+","+nowv+")",speed);
else timerID = "";
}

function startup(nr)
{
write_menu();
if (nr != 0)
{
for(i=0;i<self_menu.length;i++)
{
  if(self_menu[i][3] == nr) pull_down(i,nr)
  i==self_menu.length;
}
}
}  

// ¸Þ´º ±¸¼º ºÎºÐ
// ¸Þ´º ±¸¼º ¹æ¹ý - ((Z)* : ¹øÈ£ Z¿¡ ´ëÇÑ Âü°í»çÇ×)
// Link[X] = "Çü½Ä|À̸§|°æ·Î|Ÿ°Ù";
//   (1)       (2) (3)  (4)  (5)

// 1 : ¸µÅ© ¹øÈ£·Î XºÎºÐ¿¡ 0ºÎÅÍ Â÷·Ê´ë·Î ³ª°¡¸é µÊ
// 2 : ¸µÅ© Çü½ÄÀ¸·Î 0Àº ¸ÞÀÎ ¸Þ´º 1Àº ÇÏÀ§¸Þ´º·Î ±¸ºÐµÈ´Ù
// (2)* : Çü½Ä 0À¸·Î ÇßÀ»½Ã¿¡´Â °æ·Î¿Í Ÿ°ÙÀÌ ¾ø¾î¾ß ÇÔ ¡æ "0|À̸§";
// 3 : ¸Þ´º À̸§À¸·Î °¢ ¸Þ´º¿¡ ÇØ´çµÇ´Â À̸§À» Àû¾îÁØ´Ù.
// 4 : ÇØ´ç ¸Þ´ºÀÇ °æ·Î·Î #_url_hereÀ» Áö¿ì°í ÇØ´ç °æ·Î¸¦ ÀûÀ¸¸é µÈ´Ù.
// 5 : Ÿ°ÙÀ» Á¤ÇÏ´Â ºÎºÐÀÌ´Ù.
// (5)* : Ÿ°ÙÀº _top(ÇöÀçâ¿¡¼­ ¿­±â)¿Í _blank(»õâÀ¸·Î) ±×¸®°í ÇÁ·¹ÀÓÀÇ À̸§À» Àû¾îÁÖ¸é µÈ´Ù.
//        ÇÏÁö¸¸ ¾Æ·¡ ¿¹Á¦ ¸Þ´ºÃ³·³ Ÿ°ÙÀÌ ÀûÇôÁöÁö ¾Ê¾ÒÀ»¶§´Â Ÿ°Ù _top°ú °°Àº ¿ªÈ°À» ÇÔ

var Link = new Array();
Link[0] = "0|ProFile";
Link[1] = "1|About Me|#_url_here|";
Link[2] = "1|PHoTo|#_url_here|";
Link[3] = "1|Friend|#_url_here|";
Link[4] = "0|Tip&TecH";
Link[5] = "1|Design|#_url_here|";
Link[6] = "1|PhoToShop|#_url_here|";
Link[7] = "1|JavaScript|#_url_here|";
Link[8] = "1|Etc...|#_url_here|";
Link[9] = "0|Image";
Link[10] = "1|My DiCa|#_url_here|";
Link[11] = "1|Gallery|#_url_here|";
Link[12] = "1|Etc...|#_url_here|";
Link[13] = "0|CoolSite";
Link[14] = "1|PhoToShop|#_url_here|";
Link[15] = "1|FlasH|#_url_here|";
Link[16] = "1|JavaScript|#_url_here|";
Link[17] = "0|Board";
Link[18] = "1|Q&A|#_url_here|";
Link[19] = "1|KongJi|#_url_here|";

startup(1); // ·Îµù½Ã ¿­¸®´Â ¸Þ´º (0:¿­¸®Áö ¾ÊÀ½)
//-->
</script>
</body>
</html>



minaam
written by minaam (minaam)
2004-05-11 11:24:14
731 ¹ø ÀÐÀ½
¢Ñ ·Î±×ÀÎ ÈÄ ÀǰßÀ» ³²±â½Ç ¼ö ÀÖ½À´Ï´Ù
 Ä³½Ã¼±¹°





365ch.com 128bit Valid HTML 4.01 Transitional and Valid CSS!
ű×