HTML

애니위즈 2010. 3. 15. 18:17
<script Language="JavaScript">
<!--
// 페이지 이동
function goPage(targ,selObj,restore){
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<select name="page1" onChange="goPage('parent', this, 0)">
<option value="http://www.anywiz.co.kr">애니위즈</option>
<option value="http://wizhome.anywiz.co.kr">위즈홈</option>
<option value="http://wizshop.anywiz.co.kr">위즈샵</option>
</select>


<script Language="JavaScript">
<!--
// 새창으로 띄우기
function popPage(targ,selObj,restore){
window.open(selObj.options[selObj.selectedIndex].value);
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<select name="page2" onChange="popPage('parent', this, 0)">
<option value="http://www.anywiz.co.kr">애니위즈</option>
<option value="http://wizhome.anywiz.co.kr">위즈홈</option>
<option value="http://wizshop.anywiz.co.kr">위즈샵</option>
</select>

 

웹프로그램개발,웹솔루션 애니위즈(http://anywiz.co.kr)