Ver Mensaje Individual
  #12 (permalink)  
Antiguo 02/07/2002, 09:33
jjlallana
 
Fecha de Ingreso: enero-2002
Ubicación: Zaragoza
Mensajes: 144
Antigüedad: 23 años, 4 meses
Puntos: 0
Re: Manetener Campos de un Formulario

Te mando un código de página de un ejemplo del sitio de Microsoft que a lo mejor te da alguna idea interesante para tu problema:
<HTML>
<HEAD>
<TITLE>Creating Dynamic Pop-up Elements with IE 5.5</TITLE>
<LINK ID="oCSS" REL=STYLESHEET HREF="descargas/downloads/samples/internet/ie55/Popup/Source/Source%20Files/popup.css" TYPE="text/css">

<SCRIPT LANGUAGE="JScript">
var oPopup = window.createPopup()

function goPop(oHeight)
{
var oPopupBody = oPopup.document.body;
var lefter = event.offsetY+10;
var topper = event.offsetX+10;

oPopupBody.innerHTML = styleDiv.innerHTML;
oPopup.show(topper, lefter, 200, oHeight, document.body);
document.body.onmouseup = closePopup;
}

function goContext(oHeight)
{
var oPopupBody = oPopup.document.body;
var lefter = event.offsetY+10;
var topper = event.offsetX+10;

oPopupBody.innerHTML = oContext.innerHTML;
oPopup.show(topper, lefter, 207, oHeight, document.body);
document.body.onmouseup = closePopup;
}

function closePopup()
{
oPopup.hide();
}

function fillPopup(titler, texter, linker)
{
oTitle.innerText=titler;
oText.innerText=texter;
oLinkStore.innerText=linker;
}
</SCRIPT>
</HEAD>

<BODY STYLE="font-family:verdana; font-size:70%" oncontextmenu="goContext('87'); return false" >
<DIV CLASS="bar title">Creating Dynamic Pop-up Elements</DIV>


<DIV STYLE="width:600">
<DIV CLASS="desbar">
<P>The new pop-up feature in Microsoft® Internet Explorer 5.5 provides an easy way to create context menus, dialog boxes, pop-up tips, and glossary entries. These all can be built with DHTML.</P>
<P>Right-click anywhere within the main document to display a customized context menu that uses a pop-up window. Choosing an option in the context menu sends you to the related page in the IFRAME below.</P>