Forum Moderators: open
<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>
A friend has asked me to sort out this frame based website as he encountered problems after having to move it from one hostname location to a new hostname. I have uploaded it to the location above only temporarily to test it
The problem was that the content frame (green) on left was supposed to open up links in the main window on right. I thought i had fixed the problem by ridding some MS Word gunk which was in the code (this was obviously how he had coded/updated it.)
It seems to work ok on my main PC (ie6) now, but i have noticed that when i go to open it on my other pc thru a local ethernet connection, which also has ie6 but has a smaller monitor, it doesnt function properly at first. Instead the links open up in completely new windows.
And then, when i close the browser window down and open up another one it seems to work fine again? Its starting to do my head in and i wish i never said id help him... any advice would be appreciated.
thanks
[edited by: tedster at 2:17 am (utc) on Mar. 19, 2005]
Similarly, I assume that the links to change this content frame have a target="content" attribute. Or else, once again, they would never work right.
...it doesnt function properly at first. Instead the links open up in completely new windows.
...when i close the browser window down and open up another one it seems to work fine again
So the correct code is there to be seen. The first thing I would check is the browser cache - when you first open you may be loading an old version of the pages.
on the index page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head><base target="main">
<link rel=File-List href="../index_files/filelist.xml">
...//blah blah blah
<meta content="none, default" name="Microsoft Border">
</head>
<frameset cols="150,1*">
<frame name=contents
src="index_files/contents.htm">
<frame name=main
src="index_files/main.htm">
</frameset>
<noframes>
<body lang=EN-GB style='tab-interval:36.0pt'>
<div class=Section1>
<p>This page uses frames, but your browser doesn't support them.</p>
</div>
</body>
</noframes>
</html>
<body bgcolor=green lang=EN-GB link=white vlink=white style='tab-interval:36.0pt'
alink="#ffffff">
<div class=Section1>
<p><a href="link1.htm"><br>
<strong><span style='font-size:7.5pt;font-family:Verdana'>LINK ONE</span></strong></a></p>
.... more links etc etc