sosuke
01-21-2005, 05:38 PM
My frameset when refreshed, resets all the pages back to the original ones that were loaded.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<frameset rows="90,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="topFrame.htm" name="topFrame" scrolling="NO" noresize>
<frameset rows="*" cols="215,*" frameborder="NO" border="0" framespacing="0">
<frame src="../menu/show.htm" name="menu" scrolling="NO" noresize>
<frameset rows="*,25" frameborder="NO" border="0" framespacing="0">
<frame src="splash.htm" name="canvas">
<frame src="bottomFrame.htm" name="bottomFrame" scrolling="NO" noresize>
</frameset>
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>
However, when I used a framed site like:
http://java.sun.com/j2se/1.4.2/docs/api/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Jun 13 00:13:33 PDT 2003-->
<TITLE>
Java 2 Platform SE v1.4.2
</TITLE>
</HEAD>
<FRAMESET cols="20%,80%">
<FRAMESET rows="30%,70%">
<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
</FRAMESET>
<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<NOFRAMES>
<H2>
Frame Alert</H2>
<P>
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
<BR>
Link to<A HREF="overview-summary.html">Non-frame version.</A>
</NOFRAMES>
</FRAMESET>
<script language="JavaScript" src="/js/omi/jsc/s_code_remote.js"></script></HTML>
When I refresh, the last page I was on is loaded properly. What am I doing wrong here?
Hell, their frameset ever settings the title to the loaded pages title, how can I do that?!
Edit: I found how how they reset the title on every page.
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="BasicInternalFrameTitlePane.SizeAction (Java 2 Platform SE v1.4.2)";
}
</SCRIPT>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<frameset rows="90,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="topFrame.htm" name="topFrame" scrolling="NO" noresize>
<frameset rows="*" cols="215,*" frameborder="NO" border="0" framespacing="0">
<frame src="../menu/show.htm" name="menu" scrolling="NO" noresize>
<frameset rows="*,25" frameborder="NO" border="0" framespacing="0">
<frame src="splash.htm" name="canvas">
<frame src="bottomFrame.htm" name="bottomFrame" scrolling="NO" noresize>
</frameset>
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>
However, when I used a framed site like:
http://java.sun.com/j2se/1.4.2/docs/api/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Jun 13 00:13:33 PDT 2003-->
<TITLE>
Java 2 Platform SE v1.4.2
</TITLE>
</HEAD>
<FRAMESET cols="20%,80%">
<FRAMESET rows="30%,70%">
<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
</FRAMESET>
<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<NOFRAMES>
<H2>
Frame Alert</H2>
<P>
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
<BR>
Link to<A HREF="overview-summary.html">Non-frame version.</A>
</NOFRAMES>
</FRAMESET>
<script language="JavaScript" src="/js/omi/jsc/s_code_remote.js"></script></HTML>
When I refresh, the last page I was on is loaded properly. What am I doing wrong here?
Hell, their frameset ever settings the title to the loaded pages title, how can I do that?!
Edit: I found how how they reset the title on every page.
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="BasicInternalFrameTitlePane.SizeAction (Java 2 Platform SE v1.4.2)";
}
</SCRIPT>