Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Using iframes in java.

Reply
Thread Tools

Using iframes in java.

 
 
Gareth
Guest
Posts: n/a
 
      07-28-2003
Hi Everyone

Can anyone tell me why loaded.htm doesn't load in iframe lmenu


<html>
<head>
<title>Gareth Homemade pulse site</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script language="JavaScript">
<!--

function login(password) {
if (password == "1") {
alert("You have entered the correct password! Click ok to access the
secure section");
document.frames('parent.frames[\'lmenu\']','\loaded.htm');
}
else {
alert("You have entered an invalid password!");
}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" rightmargin="0"
topmargin="0"scroll="no">
<table width="785" border="0" cellpadding="0" height="320"
cellspacing="0" bgcolor="#003399" align="center"
bordercolor="#FFFFFF">
<tr>
<td bgcolor="#FFFFFF" >
<table width="100%" border="5" cellspacing="0" cellpadding="0"
bgcolor="" bordercolor="#333333" align="center">
<tr >
<td bordercolor="#333333" height="42" bgcolor="#FFFFFF">
<div align="center"><font size="+3">You have entered IT
Secure Site.<br>This Site is for IT Personnel Only </font></div>
<form name="form1" method="post" action="">
<div align="center">Please enter your password:
<input type="text" name="textfield">
<input type="submit" name="Submit" value="Submit"
onClick="login(textfield.value)"></div></form>

</td>
</tr>
<tr >
<td bordercolor="#333333">
<table width="1000" border="0" cellspacing="0"
cellpadding="0" bgcolor="#FFFFFF" align="center"
bordercolor="#FFFFFF">
<tr bordercolor="#000000" bgcolor="#000000">
<td bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<div align="center"></div>
</td>
</tr>
</table>
<iframe name="lmenu" width="30%" height="540"
frameborder="0" src="Blank.htm"><iframe name="main"
width="70%"height="540" frameborder="0" src="blank.htm"></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<br>
</body>
</html>
 
Reply With Quote
 
 
 
 
Marco Schmidt
Guest
Posts: n/a
 
      07-28-2003
Gareth:

>Can anyone tell me why loaded.htm doesn't load in iframe lmenu


Java is not Javascript. Please ask in a Javascript newsgroup.

Regards,
Marco
--
Please reply in the newsgroup, not by email!
Java programming tips: http://jiu.sourceforge.net/javatips.html
Other Java pages: http://www.geocities.com/marcoschmidt.geo/java.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Permission denied" error using dojo with iFrames Snolly Javascript 1 08-09-2008 06:46 PM
using iframes in Safari luckydenis2007@yahoo.com Javascript 5 03-17-2007 12:20 PM
Using frames / iframes Owen Javascript 1 09-13-2005 05:02 AM
flunky needs help. Using JS for IFrames Clyde Javascript 0 07-06-2005 06:40 PM
Using iFrames on your front page xboxsnippets.com HTML 4 01-26-2005 12:55 AM



Advertisments