|
ÄÞº¸¹Ú½º¿¡¼ ¼±ÅÃÇؼ »çÀÌÆ® À̵¿Çϱâ(¹öÆ°¾øÀÌ
¹Ù·ÎÀ̵¿ / ¹öưŬ¸¯½Ã À̵¿)
¢º ÄÞº¸¹Ú½º¿¡¼
¼±ÅÃÇؼ ¹öÆ°¾øÀÌ ¹Ù·Î »çÀÌÆ® À̵¿Çϱâ1
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function goTo(){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
//-->
}
</SCRIPT> </head> <body>
<FORM name = "form">
<SELECT NAME="site" SIZE=1 onChange ="goTo()">
<OPTION VALUE="">¸Þ´º¸¦ ¼±ÅÃÇϼ¼¿ä
<option value="http://kr.yahoo.com"> Yahoo
Korea</option> <option value="http://motifdn.cafe24.com">
motifdn</option> <option value="http://www.nate.com">
nate</option>
</SELECT></FORM>
</body>
</html> |
¢º ÄÞº¸¹Ú½º¿¡¼ ¼±ÅÃÇؼ ¹öÆ°¾øÀÌ
¹Ù·Î »çÀÌÆ® À̵¿Çϱâ2
<html>
<head>
<script language="javascript">
<!--
function navChange2(popup) {
if (popup.options[popup.selectedIndex].value != "")
{
window.open(popup.options[popup.selectedIndex].value,
'_blank');
popup.selectedIndex=0;
}
}
//-->
</script>
</head>
<body>
<SELECT onChange="navChange2(this); return true;"
NAME="drop">
<OPTION SELECTED>+++++++++++++++++++++</option>
<option value="http://kr.yahoo.com"> Yahoo
Korea</option>
<option value="http://motifdn.cafe24.com">
motifdn</option>
<option value="http://www.nate.com"> nate</option>
</SELECT>
</body>
</html>
|
¢º ÄÞº¸¹Ú½º¿¡¼
¼±ÅÃÇؼ ¹öÆ° Ŭ¸¯½Ã »çÀÌÆ® À̵¿Çϱâ
<html>
<head>
<script language="JavaScript">
<!--
function gothere(){
var thebox=document.myForm
if (thebox.windowoption.checked){
if (!window.newwindow)
newwindow=window.open("")
newwindow.location=
thebox.example.options[thebox.example.selectedIndex].value
}
else
location=
thebox.example.options[thebox.example.selectedIndex].value
}
//-->
</script>
</head> <body>
<form name="myForm">
<select name="example" size=1>
<option value="http://www.yahoo.co.kr">¾ßÈÄ!
ÄÚ¸®¾Æ</option>
<option value="http://www.nate.com">nate</option>
</select> <input type="button" value="
È®ÀÎ " onClick="gothere()"> <br>
<input type="checkbox" name="windowoption"
value="ON"><FONT SIZE="2" COLOR="">
»õâÀ¸·Î ¿±â</FONT></p>
</form> </body>
</html> |
|
|
|
|