Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

what can i do if the iframe doesn�t support Netscape ?!

843833Aug 22 2001 — edited Aug 22 2001
Hello!

I have a problem, now i know that the iframe doesn�t work in the Netscape. I�m developing a homebanking project, and i need a idea to work at the JSP, that i have, in Netscape. I need all of your love and care! This is difficult ! I have a list of products, and when i select one of them it will open the iframe �with the product i�ve selected.

The tag is this one :
<iframe img width=500 height=300 src="js/<%=sel%>"></iframe>


And this the all code :)
<html>
<head>
<!--fd002_captura_dados_POR.jsp-->
<title>BBVA - Fundos - Subscri&ccedil;&atilde;o de Fundos</title>
<LINK rel=STYLESHEET type='text/css' href="estilos/tablas.css">
<script language="Javascript" src="js/fd001_captura_dados.js"></script>
<script language="javascript" src="js/limpar.js"></script>
<script language="javascript" src="js/tiempo.js"></script>


</HEAD>

<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" class="pag-contenido" onLoad="controlSesion();">
<%@ include file="includecbtf.jsp" %>
<%
out.println("<form method=\"post\" name=\"captura\" action=\"" + urls.get("action") + "\"> ");
%>
<br>
<center>


<table border="0" cellpadding="0" cellspacing="0" width="500">

<tr>
<td colspan="3" ><img src="images/linea1.gif" border="0"></td>
</tr>
<tr>
<td width="250"><img src="images/fundos.gif" border="0"></td>
<td width="82"><img src="images/titular.gif" border="0"></td>
<td width="169" class="fondotitular"><font class="texttitular"><%=datos.get("usuario")%></font></td>
</tr>
<tr>
<td colspan="3"><img src="images/linea1.gif" border="0"></td>
</tr>
</table>
<br><br>
</center>

<center>

<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Inten&ccedil;&atilde;o de Subscri&ccedil;&atilde;o do Fundo <%=datos.get("CodigoFundos")%></p></td>
</tr>

</td>


<table>
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Condi&ccedil;&otilde;es</p></td>
</tr>
<tr>
<td class=altas colspan="2" >


<%
java.lang.String selec1 = (java.lang.String)datos.get("CodigoFundos");

String selec= selec1;
String sel="";

if(selec.equals("ACC"))
{
sel= "ACC.html";
}
if(selec.equals("APL"))
{
sel= "APL.html";
}

if(selec.equals("BBVD"))
{
sel= "BBVD.html";
}

if(selec.equals("BBVO"))
{
sel= "BBVO.html";
}
if(selec.equals("BIT"))
{
sel= "BIT.html";
}

if(selec.equals("BON"))
{
sel= "BON.html";
}

if(selec.equals("CAS"))
{
sel= "CAS.html";
}

if(selec.equals("CPZ"))
{
sel= "CPZ.html";
}

if(selec.equals("EXT"))
{
sel= "EXT.html";
}

if(selec.equals("FINVEST"))
{
sel= "FINVEST.html";
}

if(selec.equals("GLO"))
{
sel= "GLO.html";
}

if(selec.equals("MIX30"))
{
sel= "MIX60.html";
}

if(selec.equals("MIX60"))
{
sel= "MIX60.html";
}

if(selec.equals("MI3"))
{
sel= "MI3.html";
}

if(selec.equals("MI6"))
{
sel= "MI6.html";
}

if(selec.equals("PPA"))
{
sel= "PPA.html";
}

if(selec.equals("PPR"))
{
sel= "PPR.html";
}

if(selec.equals("TXV"))
{
sel= "TXV.html";
}
%>

<!--iframe width=530 height=350 src=js/<--%=sel%></iframe-->

<!--iframe width=500 height=300 src="js/<-%=sel%>"></iframe-->

<iframe img width=500 height=300 src="js/<%=sel%>"></iframe>



</tr>
<tr>

<td align="right">
<img src="images/aceito.gif" border="0" alt="Aceito">
</td>
<td>
<img src="images/naceito.gif" border="0" alt="N�o Aceito">
</td>

</tr>
</table>
<br>
</center>
<center>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Inten&ccedil;&atilde;o de Subscri&ccedil;&atilde;o de Fundos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">Seleccione Conta: &nbsp;&nbsp;&nbsp;&nbsp;</p></td>
<%
java.util.Vector v = (java.util.Vector)(datos.get("ListaCuentas"));
java.util.Hashtable elem;
java.util.Enumeration e = v.elements();
%>
<td class="formgrisosc" colspan="3">
<select name="conta" size="1" class="formgrisosc">
<%
while (e.hasMoreElements()){
elem = (com.ibm.dse.base.Hashtable)(e.nextElement());
String cuenta = ((String)elem.get("s_banco")).trim()+"-"+((String)elem.get("s_oficina")).trim()+((String)elem.get("s_dcontrol")).trim()+((String)elem.get("s_num_cuenta")).trim();
out.println("<option value=\"" + cuenta + "\">" + cuenta + "</option>");
}
%>
</select>
</td>
<tr>
<td class="formgriscla" width="120"><p class="dato">Tipo de Subscri��o:</p></td>
<td class="formgriscla" colspan="3">
<select name="tiposubs" size="1" class="formgriscla">
<option>Eventual</option>
</select>
</td>
</tr-->
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
<br><br>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Preencha um dos seguintes campos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">N�mero de Up's:</p></td>
<td class="formgrisosc" colspan="3">
<input type="text" name="numero" size="15" maxlength="15" class="formgrisosc">
</td>
</tr>
<tr>
<td class="formgriscla" width="120"><p class="dato">Montante:</p></td>
<td class="formgriscla" width="80"><input type="text" name="montante" size="15" maxlength="15" class="formgriscla"></td>
<td class="formgriscla" width="50"><p class="dato">Moeda:</p></td>
<td class="formgriscla">
<select name="moeda" size="1" class="formgriscla">
<option value="Escudos" selected>Escudos</option>
<option value="Euro" >Euros</option>
</select>

</td>
</tr>
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
</center>

<center>
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td valign="top"><img src="images/limpar.gif" border="0" alt="Apagar"></td>
<td valign="top"><img src="images/continuar.gif" border="0" alt="Continuar"></td>
</tr>
</table>
</form>
</center>
<br><br>
</body>
</html>


I begg help in this case, give me solutions, please

Best Regards,

Alex V.

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 19 2001
Added on Aug 22 2001
1 comment
57 views