Ver Mensaje Individual
  #11 (permalink)  
Antiguo 29/12/2006, 09:52
Avatar de jeshu252006
jeshu252006
 
Fecha de Ingreso: octubre-2006
Mensajes: 53
Antigüedad: 18 años, 6 meses
Puntos: 1
Re: necesito mostrar de manera individual un frame

sorry pero no logre hacerlo funcionar asi que te envio el codigio del form padre


<!--#include file="includes/ss_bd_inc.asp" -->
<!--#include file="asp/ss_validar.asp"-->
<%
Dim sLogin, sPassword, sAccion ,sFicha , sPerfil
Dim bError, sMsjError
Dim TipoError
bError=False
sMsjError=""
TipoError=""
sAccion= Request("btnAccion")
If sAccion=BOTON_ACEPTAR Then
sLogin= Request("txtLogin")
sPassword= Request("txtPassword")
If sLogin=vbNullString Then
bError= True
sMsjError= "Debe ingresar un usuario válido"
Else If sPassword=vbNullString Then
bError= True
sMsjError= "Debe ingresar una contraseña válida"
Else
Session("LOGIN")= sLogin
Session("PASSWORD")= sPassword
Session("FICHA")= sFicha
If TieneAcceso(CONN_STRING,CONN_ENTRADA) then
Session("FICHA")= sFicha
Session("PERFIL")=sPerfil
Session("USUARIO")= sLogin
Response.Redirect "inicio_web.asp"
Else
IF TipoError <> "" then
response.write "<script language=Vbscript>" & chr(13)
sMsjError=TipoError
response.write "MsgBox " & chr(34) & TipoError & chr(34) & ",vbinformation," & chr(34) & "SmartSoft" & chr(34) & chr(13)
response.write "</script>" & chr(13)
bError= True
end if
End If

End If
End if
End If
%>

<html>
<head>
<title><!--#include file="asp/ss_empresa.htm"--> Modulo Recursos Humanos </title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/estilo.css" type="text/css">


</head>
<!-- <body background="imgs/fondo.gif">
<img src="imgs/logo.gif" alt="Logo Empresa"> -->
<form name="form_Login" method="post" action="ss_login.asp">
<center>
<table>
<% If bError Then %>
<tr>
<td class="interior" colspan="2">
<div align="center"><% = sMsjError %></div>
</td>
</tr>
<% End If %>
<table width="699" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="145" height="43" valign="top"><img name="principal_r1_c1" src="imgs/principal_r1_c1.jpg" width="145" height="43" border="0" alt=""></td>
<td width="91" valign="top"><img name="principal_r1_c2" src="imgs/principal_r1_c2.jpg" width="91" height="43" border="0" alt=""></td>
<td width="102" valign="top"><img name="principal_r1_c3" src="imgs/principal_r1_c3.jpg" width="102" height="43" border="0" alt=""></td>
<td width="104" valign="top"><img name="principal_r1_c4" src="imgs/principal_r1_c4.jpg" width="104" height="43" border="0" alt=""></td>
<td width="17" valign="top"><img name="principal_r1_c5" src="imgs/principal_r1_c5.jpg" width="17" height="43" border="0" alt=""></td>
<td width="209" valign="top"><img name="principal_r1_c6" src="imgs/principal_r1_c6.jpg" width="209" height="43" border="0" alt=""></td>
<td width="31" valign="top"><img name="principal_r1_c7" src="imgs/principal_r1_c7.jpg" width="31" height="43" border="0" alt=""></td>
</tr>
<tr>
<td height="75" valign="top"><img name="principal_r2_c1" src="imgs/principal_r2_c1.jpg" width="145" height="75" border="0" alt=""></td>
<td valign="top"><img name="principal_r2_c2" src="imgs/principal_r2_c2.jpg" width="91" height="75" border="0" alt=""></td>
<td valign="top"><img name="principal_r2_c3" src="imgs/principal_r2_c3.jpg" width="102" height="75" border="0" alt=""></td>
<td valign="top"><img name="principal_r2_c4" src="imgs/principal_r2_c4.jpg" width="104" height="75" border="0" alt=""></td>
<td valign="top"><img name="principal_r2_c5" src="imgs/principal_r2_c5.jpg" width="17" height="75" border="0" alt=""></td>
<td valign="top"><img name="principal_r2_c6" src="imgs/principal_r2_c6.jpg" width="209" height="75" border="0" alt=""></td>
<td valign="top"><img name="principal_r2_c7" src="imgs/principal_r2_c7.jpg" width="31" height="75" border="0" alt=""></td>
</tr>

<tr>
<td height="82" valign="top"><img name="principal_r3_c1" src="imgs/principal_r3_c1.jpg" width="145" height="82" border="0" alt=""></td>
<td valign="top"><img name="principal_r3_c2" src="imgs/principal_r3_c2.jpg" width="91" height="82" border="0" alt=""></td>
<td valign="top"><img name="principal_r3_c3" src="imgs/principal_r3_c3.jpg" width="102" height="82" border="0" alt=""></td>
<td valign="top"><img name="principal_r3_c4" src="imgs/principal_r3_c4.jpg" width="104" height="82" border="0" alt=""></td>
<td valign="top"><img name="principal_r3_c5" src="imgs/principal_r3_c5.jpg" width="17" height="82" border="0" alt=""></td>
<td valign="top"><img name="principal_r3_c6" src="imgs/principal_r3_c6.jpg" width="209" height="82" border="0" alt=""></td>
<td valign="top"><img name="principal_r3_c7" src="imgs/principal_r3_c7.jpg" width="31" height="82" border="0" alt=""></td>
</tr>

<tr>
<td height="65" valign="top"><img name="principal_r4_c1" src="imgs/principal_r4_c1.jpg" width="145" height="65" border="0" alt=""></td>
<td valign="top"><img name="principal_r4_c2" src="imgs/principal_r4_c2.jpg" width="91" height="65" border="0" alt=""></td>
<td valign="top"><img name="principal_r4_c3" src="imgs/principal_r4_c3.jpg" width="102" height="65" border="0" alt=""></td>
<td valign="top"><img name="principal_r4_c4" src="imgs/principal_r4_c4.jpg" width="104" height="65" border="0" alt=""></td>
<td valign="top"><img name="principal_r4_c5" src="imgs/principal_r4_c5.jpg" width="17" height="65" border="0" alt=""></td>
<td valign="top" background="/imgs/principal_r4_c6.jpg"><table width="100%" border="0" cellspacing="5">
<tr>
<td width="41%"><div align="right"><span class="TextoSmall">Usuario</span></div></td>
<td width="59%"><div align="center">
<input name="txtLogin" type="text" class="input" size="15" maxlength="20" />
</div></td>
</tr>
<tr>
<td><div align="right"><span class="TextoSmall">Clave</span></div></td>
<td><div align="center">
<input type="password" size="15" name="txtPassword" class="input" />
</div></td>
</tr>
</table></td>
<td valign="top"><img name="principal_r4_c7" src="imgs/principal_r4_c7.jpg" width="31" height="65" border="0" alt=""></td>
</tr>
<tr>
<td height="43" valign="top"><img name="principal_r5_c1" src="imgs/principal_r5_c1.jpg" width="145" height="43" border="0" alt=""></td>
<td valign="top"><img name="principal_r5_c2" src="imgs/principal_r5_c2.jpg" width="91" height="43" border="0" alt=""></td>
<td valign="top"><img name="principal_r5_c3" src="imgs/principal_r5_c3.jpg" width="102" height="43" border="0" alt=""></td>
<td valign="top"><img name="principal_r5_c4" src="imgs/principal_r5_c4.jpg" width="104" height="43" border="0" alt=""></td>
<td valign="top"><img name="principal_r5_c5" src="imgs/principal_r5_c5.jpg" width="17" height="43" border="0" alt=""></td>
<td colspan="2" class="interior">
<div align="center"><a href="javascript:document.form_Login.btnAccion.val ue='<% = BOTON_ACEPTAR %>';document.form_Login.submit();">
<img src="imgs/aceptar.jpg" border="0"></a>
<a href= "javascript:window.history.go(-1)" class="links">
<img src="imgs/cancelar.jpg" border="0"></a>
<img name="principal_r5_c7" src="imgs/principal_r5_c5.jpg" width="72" height="43" border="0" alt=""></div>

</td>
</tr>
<tr>
<td height="101" valign="top"><img name="principal_r6_c1" src="imgs/principal_r6_c1.jpg" width="145" height="101" border="0" alt=""></td>
<td valign="top"><img name="principal_r6_c2" src="imgs/principal_r6_c2.jpg" width="91" height="101" border="0" alt=""></td>
<td valign="top"><img name="principal_r6_c3" src="imgs/principal_r6_c3.jpg" width="102" height="101" border="0" alt=""></td>
<td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
<td valign="top"><img name="principal_r6_c5" src="imgs/principal_r6_c5.jpg" width="17" height="101" border="0" alt=""></td>
<td valign="top"><img name="principal_r6_c6" src="imgs/principal_r6_c6.jpg" width="209" height="101" border="0" alt=""></td>
<td valign="top"><img name="principal_r6_c7" src="imgs/principal_r6_c7.jpg" width="31" height="101" border="0" alt=""></td>
</tr>
<tr>
<td height="22" valign="top"><img name="principal_r7_c1" src="imgs/principal_r7_c1.jpg" width="145" height="22" border="0" alt=""></td>
<td valign="top"><img name="principal_r7_c2" src="imgs/principal_r7_c2.jpg" width="91" height="22" border="0" alt=""></td>
<td valign="top"><img name="principal_r7_c3" src="imgs/principal_r7_c3.jpg" width="102" height="22" border="0" alt=""></td>
<td valign="top"><img name="principal_r7_c4" src="imgs/principal_r7_c4.jpg" width="104" height="22" border="0" alt=""></td>
<td valign="top"><img name="principal_r7_c5" src="imgs/principal_r7_c5.jpg" width="17" height="22" border="0" alt=""></td>
<td valign="top"><img name="principal_r7_c6" src="imgs/principal_r7_c6.jpg" width="209" height="22" border="0" alt=""></td>
<td valign="top"><img name="principal_r7_c7" src="imgs/principal_r7_c7.jpg" width="31" height="22" border="0" alt=""></td>
</tr>
</table>


<tr>
<td class="interior">
<input type="hidden" name="btnAccion">
</tr>
</table>
</center>
<center>
<table><hr width="100%"> SmartSoft.cl. ©Copyright 2000-2006.Todos los derechos reservados </hr> </table>
</center>
</form>





</body>



<!-- #EndTemplate -->
</html>
__________________
de antemano muchas gracias y pido disculpas por mi ignoracia pero es la unica forma que conozco para llegar a ser sabio