Ver Mensaje Individual
  #6 (permalink)  
Antiguo 18/12/2008, 11:53
Khaos
 
Fecha de Ingreso: noviembre-2008
Mensajes: 36
Antigüedad: 16 años, 3 meses
Puntos: 0
Respuesta: Mostrar pop up sin el boton cerrar (X)

Eres andaluz?

Bueno a ver como lo pongo:

un boton llama a una funcion

Cita:
<inputbutton><input name="BTRenuncia" type="submit"
class="Boton" value="Renuncia" onclick="PopUpRenuncia()" /></inputbutton>
aqui la funcion

Cita:
function PopUpRenuncia(){

alert('ENTRAMOS EN POPUP');

var r = null;
var cadena = "|";


var sURL = "https://*****";


var valorRetorno = lanzarVentanaModalTituloIE(sURL,"", "dialogWidth:500px;dialogHeight:200px;help:no;maxi mize:no;minimize:no;scrollbars:no;status:off;menub ar=no;unadorned=on;titlebar=0;", "RENUNCIA");
y aqui la jsp del pop up

sURL lanza un flujo que me lanza el pop up

Cita:
<html>
<head>

<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<%@ include file="/***/funciones.jsp"%>
<SCRIPT LANGUAGE="javascript" src="*****utils.js"></SCRIPT>


<script>

function Aceptar() {
var strTexto = "";


strTexto += "Aceptar|";

window.returnValue = strTexto;
window.close();
}


function Cancelar(){

TVN*****4.evento.value="0X*****01";

}

</script>




<% if(!utils.isInternetExplorer()) { %>
<link rel="stylesheet" href="/pub/estilos/1024v02.css" type="text/css">
<% } else { %>
<link rel="stylesheet" href="/pub/estilos/1024v02.css" type="text/css">
<% } %>
</head>



<body onload="controlSesion();<% if (utils.getPaginaModoMensaje() != getCteServicioOK()) {%> mostrarMensajes(tipoMensajes,paramMensajes)<%}%>" bgcolor="#FFFFFF">
<customform>
<form name="TV****7" action="<%=utils.getDestinoFormulario()%>" method="POST" target="" ayudarapida="Formulario" onSubmit="javascript:if(!isEnviarFormulario()) return false;">
<input type="hidden" name="evento">
<input type="hidden" name="flujo" value="<%=utils.getFlujoID()%>">
<input type="hidden" name="ventana" value="<%=utils.getVentana()%>">
</input>

<table width="30%" border="0">
<tbody>
<tr>
<td colspan="3"><font size="2" color="#000000" face="Arial"></font></td>
<td width="393"></td>

</tr>
<tr>
<td></td>

<td width="79" align="right">Motivo:</td>
<td width="195"><inputtextarea><textarea
name="areaTexto0" cols="50" rows="5" class="FondoAbi"><%=utils.getValorContexto("")%></textarea></inputtextarea></td>
<td width="393"></td>
</tr>
<tr>
<td></td>
<td width="393"></td>
<td width="400" align="right"><inputbutton><input name="accionador1" type="submit"
class="Boton" value="Aceptar"
onclick="Aceptar()" align="right" /></inputbutton><inputbutton><input
name="accionador3" type="submit" class="Boton" value="Cancelar"
onclick="document.forms[0].evento.value=''" align="right" /></inputbutton></td>
<td width="47"></td>

</tr>

</tbody>
</table>



</form>
</customform>
</body>
</html>
un saludo

Última edición por Khaos; 18/12/2008 a las 12:00