Ver Mensaje Individual
  #4 (permalink)  
Antiguo 09/03/2002, 08:10
Avatar de jpogsistem
jpogsistem
 
Fecha de Ingreso: diciembre-2001
Mensajes: 2.405
Antigüedad: 22 años, 11 meses
Puntos: 4
Re: seleccionador y pecionar boton

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&pare nt.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[I][n];
for(i=0;!x&&d.layers&&i<d.layer s.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000">

<table width="544" border="0" cellpadding="0" cellspacing="0" mm:layoutgroup="true">
<tr>
<td width="190" height="244"></td>
<td width="354"></td>
</tr>
<tr>
<td height="63"></td>
<td valign="top">
<form name="form1">
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)"& gt;
<option value="www.mipagina1.com" selected>link1</option>
<option value="www.mipàgina2.com">link2</option>
<option value="www.mipagina3.com">link3</option>
</select>
<input type="button" name="Button1" value="Go" onClick="MM_jumpMenuGo('menu1','parent',0)&qu ot;>
</form>
</td>
</tr>
</table>
</body>
</html>