½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > JAVASCRIPT > javascript ¼Ò½ºÃ¢°í > ¸Þ´º °ü·Ã > À̹ÌÁö¸¦ ÀÌ¿ëÇÑ ÀÚ¹Ù½ºÅ©¸³Æ® ¸Þ´º »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
javascript
PHP
ASP
CSS
mysql
html
jquery
������
image
mobile
API
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
À̹ÌÁö¸¦ ÀÌ¿ëÇÑ ÀÚ¹Ù½ºÅ©¸³Æ® ¸Þ´º
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù ¸Þ´º °ü·Ã
´Ù¿î·Îµå Ƚ¼ö 1443 ȸ
°£´Ü¼³¸í À̹ÌÁö¸¦ ÀÌ¿ëÇÑ ÀÚ¹Ù½ºÅ©¸³Æ® ¸Þ´º ÀÔ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â°¡ ¾ø½À´Ï´Ù ½ºÅ©·¦Çϱâ

    À̹ÌÁö¸¦ ÀÌ¿ëÇÑ ÀÚ¹Ù½ºÅ©¸³Æ® ¸Þ´º


À§ÀÇ 1°³ÀÇ À̹ÌÁö¸¦ °¡Áö°í ÀÚ¹Ù½ºÅ©¸³Æ® ¸Þ´º¸¦ ¸¸µì´Ï´Ù.

   ÆÄÀÏ ¼³¸í

images-path.js : ÀÚ¹Ù ½ºÅ©¸³Æ® °æ·Î ÁöÁ¤ÆÄÀÏ
menuG5.css : ½ºÅ¸ÀÏ ½ÃÆ® ÆÄÀÏ
images-content.js : ¸Þ´º¼³Á¤ºÎºÐ

 ±â´É ¸ÕÀúº¸±â


À̹ÌÁö Çϳª·Î ±ò²ûÇÑ Ç¥ÇöÀ» Çß´Ù!


 

  ¼Ò½º ¼³¸í

<link rel=stylesheet href="css/menuG5.css" type="text/css">

<style type="text/css">
.itemOff1 { width:116px; padding:0px 8px; background:url("images/bar_item.gif") repeat-y; text-align:center; background-color:#333333; }
.itemOn1 { cursor:default; width:116px; padding:0px 8px; background:url("images/bar_item.gif") repeat-y; text-align:center; background-color:#ffffff; }

.fontOff1 { font-family:verdana; font-size:10pt; line-height:24px; color:#ffffff; }
.fontOn1 { font-family:verdana; font-size:10pt; line-height:24px; color:#333333; }

.tagOff1 { width:8px; height:24px; float:right; background:url("images/tagRH.gif") no-repeat center; }
.tagOn1 { width:8px; height:24px; float:right; background:url("images/tagRN.gif") no-repeat center; }

.separator1 { background:url("images/bar_top.gif"); height:19px; }
.separator2 { background:url("images/bar_bottom.gif"); height:5px; }
.separator3 { background:url("images/bar_top2.gif"); height:5px; }


.pad2 { background:url("images/pad.gif") repeat-y; padding:0px 10px; }

.itemOff2 { width:120px; text-align:center; padding:0px 4px; border:1px solid; border-color:#c8e386 #a0b48a #a0b48a #c8e386; background-color:#b4c86e; }
.itemOn2 { cursor:default; width:120px; text-align:center; padding:0px 4px; border:1px solid; border-color:#336666; background-color:#99cccc; }

.fontOff2 { font-family:verdana; font-size:10pt; line-height:22px; color:#336666; }
.fontOn2 { font-family:verdana; font-size:10pt; line-height:22px; color:#ffffff; }

.tagOff2 { width:9px; height:22px; float:right; width:9px; height:22px; float:right; background:url("images/tagRN5.gif") no-repeat center; }
.tagOn2 { width:9px; height:22px; float:right; width:9px; height:22px; float:right; background:url("images/tagRH5.gif") no-repeat center; }

.separator { height:6px; }

.subpad3 { padding:0px 2px; background:url("images/subpad.gif") no-repeat top left; }

.itemOff3 { width:120px; height:22px; text-align:center; background:url("images/item.gif") no-repeat; }
.itemOn3 { cursor:default; width:120px; height:22px; text-align:center; background:url("images/itemOn.gif") no-repeat; }

.fontOff3 { font-family:verdana; font-size:8pt; line-height:21px; color:#ffffff; }
.fontOn3 { font-family:verdana; font-size:8pt; line-height:21px; color:#000000; }

.separatorT { background:url("images/item_top.gif") no-repeat; height:5px; }
.separatorB { background:url("images/item_bottom.gif") no-repeat; height:5px; }


.pad4 { border:1px solid #000000; padding:0px 2px; background-color:#ffffff; }

.itemOff4 { width:130px; border:1px solid #000000; text-align:left; background-color:#ffffff; }
.itemOn4 { width:130px; border:1px solid #000000; text-align:left; background-color:#6699cc; }

.fontOff4 { font-family:verdana; font-size:10pt; line-height:20px; padding:0px 2px; color:#000000; }
.fontOn4 { cursor:default; font-family:verdana; font-size:10pt; line-height:20px; padding:0px 2px; color:#ffffff; }

.iconOff4 { background:url("images/dot.gif"); width:6px; height:20px; float:left; background-color:#6699cc; }
.iconOn4 { background:url("images/dot.gif"); width:6px; height:20px; float:left; background-color:#ffffff; }

.separator4 { background-color:#ffffff; }
</style>

<script language="javascript" src="menu/images-path.js"></script>
<script language="javascript" src="script/menuG5LoaderX.js"></script>
</head>

<body >

<table width="300" align="center" border="0"><tr><td align="center" colspan="2">[<a href="#" onclick="switchMenu('Demo2'); return false;">¸Þ´ºÃâ·Â</a>]</td></tr><tr><td width="150"></td><td id="holder2"></td></tr></table>

óÀ½ºÎÅÍ ¸Þ´º°¡ ³ª¿À°Ô ÇÏ·Á¸é <body> ºÎºÐ¿¡ onload="showMenu('Demo2')" ¸¦ Ãß°¡ ÇÕ´Ï´Ù.

¿¹)  <body onload="showMenu('Demo2')">


HtmlÆÄÀÏ¿¡ ÀÖ´Â ¼Ò½ºÀÎ À̺κÐÀ» ³Ö¾î ÁÖ¼Å¾ß ÇÕ´Ï´Ù.

content.js ÆÄÀÏ

addMenu("Demo", "demo-top");

addSeparator("demo-top", "barTop");
addLink("demo-top", "Home", "", "", "");
addSubMenu("demo-top", "Tool Scripts", "", "", "tool-sub", "");
addSubMenu("demo-top", "Game Scripts", "", "", "game-sub", "");
addSubMenu("demo-top", "User Forum", "", "", "forum-sub", "");
addLink("demo-top", "Contact", "", "", "");
addSeparator("demo-top", "barBottom");

addSeparator("tool-sub", "subBarTop");
addSubMenu("tool-sub", "Menu Scripts", "", "", "menu-sub", "");
addLink("tool-sub", "Xin Calendar", "", "", "");
addLink("tool-sub", "Select Menu 2", "", "", "");
addLink("tool-sub", "Form Guard", "", "", "");
addSeparator("tool-sub", "barBottom");

addSeparator("game-sub", "subBarTop");
addLink("game-sub", "Soul Of Fighters", "", "", "");
addLink("game-sub", "Simple Tetris 2", "", "", "");
addLink("game-sub", "Bubble Puzzle", "", "", "");
addLink("game-sub", "Puzzle OnSite", "", "", "");
addSeparator("game-sub", "barBottom");

addSeparator("forum-sub", "subBarTop");
addLink("forum-sub", "Menu G5", "", "", "");
addLink("forum-sub", "Xin Calendar", "", "", "");
addLink("forum-sub", "Form Utilities", "", "", "");
addSeparator("forum-sub", "barBottom");

addSeparator("menu-sub", "subBarTop");
addLink("menu-sub", "Menu G5", "", "", "");
addLink("menu-sub", "Menu G4", "", "", "");
addLink("menu-sub", "Menu G3", "", "", "");
addSeparator("menu-sub", "barBottom");

endMenu();

¿ì¼± °¡Àå ¾ÕºÎºÐÀÇ addLink ´Â ÇØ´ç ¸Þ´ºÀÇ ¼³Á¤ÀÔ´Ï´Ù.
±×¸®°í
addSubMenu ºÎºÐÀº ¼­ºê¸Þ´º¸¦ ¼³Á¤ÇÏ´Â ºÎºÐÀÔ´Ï´Ù.

addLink ·Î ½ÃÀÛÇÏ´Â ºÎºÐ¿¡´Â ¼­ºê¸Þ´º°¡ ¾ø´Â ºÎºÐÀ̸ç addSubMenu ´Â ¼­ºê¸Þ´º¸¦ ¼³Á¤ÇÏ´Â ºÎºÐÀÔ´Ï´Ù.
addLink("demo-top", "Home", "", "http://www.happycgi.com" ,  "l1"); 
addLink("Àû¿ëµÇ´ÂºÎºÐÀÇ ID¸¦ ÁöÁ¤ÇÕ´Ï´Ù","¸Þ´ºÀÇ À̸§À» Á¤ÇÕ´Ï´Ù","","¸µÅ©ÁÖ¼Ò¸¦ Á¤ÇÕ´Ï´Ù", "l1");

addSubMenu("tool-sub", "Menu Scripts", "", "http://www.happycgi.com" , "menu-sub", "");
addSubMenu("Àû¿ëµÇ´ÂºÎºÐÀÇ ID¸¦ ÁöÁ¤ÇÕ´Ï´Ù" , "¸Þ´ºÀÇ À̸§À» Á¤ÇÕ´Ï´Ù" , "" , "¸µÅ©ÁÖ¼Ò¸¦ ÁöÁ¤ÇÕ´Ï´Ù" , "¼­ºê¸Þ´º·Î ³ª¿Ã ºÎºÐÀÇ ID¸¦ ÁöÁ¤ÇÕ´Ï´Ù" , "");

HtmlÆÄÀÏ¿¡¼­ ¸Þ´º º¸±â¸¦ Ŭ¸¯ÇÏ¸é ¸Þ´º°¡ Ãâ·ÂµË´Ï´Ù.

<table width="300" align="center" border="0"><tr><td align="center" colspan="2">[<a href="#" onclick="switchMenu('Demo2'); return false;">¸Þ´ºÃâ·Â</a>]</td></tr><tr><td width="150"></td><td id="holder2"></td></tr></table>

id="holder2" °¡ ÁöÁ¤µÈ ºÎºÐ¿¡ ¸Þ´º°¡ Ç¥½Ã µË´Ï´Ù.


³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
µî·ÏµÈ ÀÇ°ßÀÌ ¾ø½À´Ï´Ù.
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 81247118 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.