File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Problems with Frames in web page...... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Problems with Frames in web page......" Watch "Problems with Frames in web page......" New topic
Author

Problems with Frames in web page......

Gabriel Fox
Ranch Hand

Joined: Oct 17, 2001
Posts: 170
Hello, i have a main page LogonScreen.html which has a Frameset containing 2 frames with( Navigation.html, Logon.html).On opening the
LogonScreen.html in IE 5.5, I get only the text outside the frame set, but none of the frame's document is being displayed.
The code for the main html page is :
<HTML>
<HEAD><TITLE> E-BookStore</TITLE></HEAD>
<H2 align="center"> E- BOOKSTORE</H2>
<FRAMESET COLS="*,*">
<FRAME SRC="Navigation.html">
<FRAME SRC="Logon.html">
</FRAMESET>
<NOFRAMES> YOUR BROWSER DOES NOT SUPPORT FRAMES ...</NOFRAMES>
</HTML>
................................................
While for Logon.html
<HTML>
<BODY>
<TABLE>
<TR>
<TD> Username : </TD>
<TD> <input type="text" name="userName"></TD>
</TR>
<TR>
<TD> Password : </TD>
<TD> <input type="password" name="userPassword"></TD>
</TR>
<TR><TD></TD><TD></TD></TR>
<TR>
<TD></TD>
<TD> <input type="button" name="logonButton" value="Log On"></TD>
</TR>
</TABLE>
</BODY>
</HTML>
...................................
On for Navigation.html

<HTML>
<BODY>
<TABLE align="center">
<TR>
<TD> <input type="button" name="search" value="Search"></TD>
</TR>
<TR>
<TD> <input type="button" name="update" value="Update"></TD>
</TR>
<TR>
<TD> <input type="button" name="logoff" value="Log Off"></TD>
</TR>
</TABLE>
</BODY>
</HTML>

All ideas are welcome.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
You can not have the H2 line in the frame source page like that
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 3901
agreed..that was my first thought...a frameset has no body it replaces the body. the only elements it can contain are other framesets, frames, and noframes
[ May 29, 2003: Message edited by: Randall Twede ]

I never took notes in college. That's how I got a 4.0 the first 2 years, and a 3.5 the second two years.
Gabriel Fox
Ranch Hand

Joined: Oct 17, 2001
Posts: 170
Thanks guys, what i did was to move the <H1>asasas</H1> to the child <FRAME>.
Cheers.
 
 
subject: Problems with Frames in web page......
 
Threads others viewed
Frame,Form action,Frameset
Inter Frame communication in quiz application
frames and forms
wrong jar reference
Help Needed
IntelliJ Java IDE