This is a query about Frames, as used in a website.
I have a website (www.vetts.org.uk) for which I get about 200 page views per day, though on Thursday (11/3/10) I had 1633 page views.
Though I wrote and tested (W3C) the website for IE, other web browsers access it without any problems, or so they say, as I never had any bad reports.
Another website (http://www.tabletennistalk.co.uk/forum/ … TS-Website) has accessed my website for their site, but it misses out the Right Hand Site, ie. it is not re-sized within their website. They have told me that it is a problem with the way I have defined the Frames (as in the attachment), maybe not allowing the visitor to resize the frame. Please note that I have set 'BORDER = "0" ', as I didn't want a border, which may be the problem.
Could someone help please?
As a .txt attachment did not work here, the following is the file.
==========================================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<!-- Above validates the following for HTML 4.01 -->
<html>
<!-- Created with the CoffeeCup HTML Editor -->
<!-- http://www.coffeecup.com/ -->
<!-- Brewed on 26/09/2004 18:28:44 -->
<head>
<title>VETTS TT</title>
<meta http-equiv="Content-Type"content="text/html;charset=utf-8">
<meta name="keywords"
content="vetts, vets, etta, veterans, table, tennis, tabletennis, table tennis, tt, sport, ping pong">
<meta name="description"
content="VETTS English Table Tennis Society">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-3">
</head>
<!-- Frames are to be placed in the top of an -->
<!-- HTML page BEFORE the BODY tag -->
<frameset rows="100,*" border="0">
<!-- Three columns in the Banner header -->
<frameset cols="20%,60%,20%">
<!-- Contains the VETTS Badge & President's name -->
<frameset rows= "85%,*">
<!-- Contains the VETTS Badge -->
<frame src="TT_VETTS_Badge.html" name="TT_VETTS_Badge" Marginwidth="30" Marginheight="0" scrolling="no">
<!-- Contains the VETTS President's name -->
<frame src="TT_VP_Name.html" name="TT_VP_Name" Marginwidth="35" Marginheight="0" scrolling="no">
</frameset>
<!-- Contains the VETTS Name & TT Bats graphics -->
<frameset rows= "30%,*">
<!-- Contains the "VETTS" Name -->
<frame src="TT_VETTS_Header.html" name="TT_VETTS_Header" Marginwidth="0" Marginheight="0" scrolling="no">
<!-- Contains the TT Bats, TT Table graphics, & 'VETTS' name -->
<frameset cols="40%,20%,40%">
<!-- LH TT Bat -->
<frame src="TT_Bat_LHS.html" name="TT_Bat_LHS" Marginwidth="0" Marginheight="0" scrolling="no">
<!-- "VETTS Name & TT Table -->
<frame src="TT_VETTS_Table.html" name="TT_VETTS_Table" Marginwidth="0" Marginheight="0" scrolling="no">
<!-- RH TT Bat -->
<frame src="TT_Bat_RHS.html" name="TT_Bat_RHS" Marginwidth="0" Marginheight="0" scrolling="no">
</frameset>
</frameset>
<!-- Contains a TT ball -->
<frame src="TT_Ball.html" name="TT_Ball" Marginwidth="53" Marginheight="0" scrolling="no">
</frameset>
<frameset cols="20%,*">
<!-- Navigation Frame -->
<frameset rows="86%,*">
<frame src="TT_Navigation.html" name="TT_Navigation" Marginwidth="0" Marginheight="0" scrolling="auto">
<frame src="Enter_VETTS.html" name="TT_Counter" Marginwidth="0" Marginheight="0" scrolling="no">
</frameset>
<!-- Information Frame -->
<frameset rows="4%,*">
<frame src="TT_Date.html" name="TT_Date" Marginwidth="0" Marginheight="0" scrolling="No">
<frame src="TT_Information.html" name="TT_Information" Marginwidth="0" Marginheight="0" scrolling="auto">
</frameset>
</frameset>
</frameset>
</html>
=========================================================================
I have a website (www.vetts.org.uk) for which I get about 200 page views per day, though on Thursday (11/3/10) I had 1633 page views.
Though I wrote and tested (W3C) the website for IE, other web browsers access it without any problems, or so they say, as I never had any bad reports.
Another website (http://www.tabletennistalk.co.uk/forum/ … TS-Website) has accessed my website for their site, but it misses out the Right Hand Site, ie. it is not re-sized within their website. They have told me that it is a problem with the way I have defined the Frames (as in the attachment), maybe not allowing the visitor to resize the frame. Please note that I have set 'BORDER = "0" ', as I didn't want a border, which may be the problem.
Could someone help please?
As a .txt attachment did not work here, the following is the file.
==========================================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<!-- Above validates the following for HTML 4.01 -->
<html>
<!-- Created with the CoffeeCup HTML Editor -->
<!-- http://www.coffeecup.com/ -->
<!-- Brewed on 26/09/2004 18:28:44 -->
<head>
<title>VETTS TT</title>
<meta http-equiv="Content-Type"content="text/html;charset=utf-8">
<meta name="keywords"
content="vetts, vets, etta, veterans, table, tennis, tabletennis, table tennis, tt, sport, ping pong">
<meta name="description"
content="VETTS English Table Tennis Society">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-3">
</head>
<!-- Frames are to be placed in the top of an -->
<!-- HTML page BEFORE the BODY tag -->
<frameset rows="100,*" border="0">
<!-- Three columns in the Banner header -->
<frameset cols="20%,60%,20%">
<!-- Contains the VETTS Badge & President's name -->
<frameset rows= "85%,*">
<!-- Contains the VETTS Badge -->
<frame src="TT_VETTS_Badge.html" name="TT_VETTS_Badge" Marginwidth="30" Marginheight="0" scrolling="no">
<!-- Contains the VETTS President's name -->
<frame src="TT_VP_Name.html" name="TT_VP_Name" Marginwidth="35" Marginheight="0" scrolling="no">
</frameset>
<!-- Contains the VETTS Name & TT Bats graphics -->
<frameset rows= "30%,*">
<!-- Contains the "VETTS" Name -->
<frame src="TT_VETTS_Header.html" name="TT_VETTS_Header" Marginwidth="0" Marginheight="0" scrolling="no">
<!-- Contains the TT Bats, TT Table graphics, & 'VETTS' name -->
<frameset cols="40%,20%,40%">
<!-- LH TT Bat -->
<frame src="TT_Bat_LHS.html" name="TT_Bat_LHS" Marginwidth="0" Marginheight="0" scrolling="no">
<!-- "VETTS Name & TT Table -->
<frame src="TT_VETTS_Table.html" name="TT_VETTS_Table" Marginwidth="0" Marginheight="0" scrolling="no">
<!-- RH TT Bat -->
<frame src="TT_Bat_RHS.html" name="TT_Bat_RHS" Marginwidth="0" Marginheight="0" scrolling="no">
</frameset>
</frameset>
<!-- Contains a TT ball -->
<frame src="TT_Ball.html" name="TT_Ball" Marginwidth="53" Marginheight="0" scrolling="no">
</frameset>
<frameset cols="20%,*">
<!-- Navigation Frame -->
<frameset rows="86%,*">
<frame src="TT_Navigation.html" name="TT_Navigation" Marginwidth="0" Marginheight="0" scrolling="auto">
<frame src="Enter_VETTS.html" name="TT_Counter" Marginwidth="0" Marginheight="0" scrolling="no">
</frameset>
<!-- Information Frame -->
<frameset rows="4%,*">
<frame src="TT_Date.html" name="TT_Date" Marginwidth="0" Marginheight="0" scrolling="No">
<frame src="TT_Information.html" name="TT_Information" Marginwidth="0" Marginheight="0" scrolling="auto">
</frameset>
</frameset>
</frameset>
</html>
=========================================================================
I don't understand. You want to redesign your website which works just fine, to help someone else embed it into their site? If they code their page correctly, your pages will fit fine. They seem to be telling you you've coded something wrong because they don't know how to fix this. Otherwise, they would tell you exactly where you went wrong, which they don't seem to be doing.
I looked at it and the page fits fine if they would use the proper size monitor and/or resolution. Who ever is telling you this must be using an old square monitor with only 1024 resolution. Tell them to upgrade their system.
I recently had to make a normal website narrow to please the site owner because he has outdated equipment and/or resolution set abnormally.
I recently had to make a normal website narrow to please the site owner because he has outdated equipment and/or resolution set abnormally.
John,
I agree with Cary and Dave. Your site - both 'original' and 'embedded' versions - looks fine at my end too. As Dave said, the embedded version just needs to be a bit more than 1024 wide, since 'they' have not taken care of the resizing properly. For what it's worth, I use Chrome 4.0 and 1280 width.
Interesting menu structure! Site map, directory structure and menu all in one. I like it!
I agree with Cary and Dave. Your site - both 'original' and 'embedded' versions - looks fine at my end too. As Dave said, the embedded version just needs to be a bit more than 1024 wide, since 'they' have not taken care of the resizing properly. For what it's worth, I use Chrome 4.0 and 1280 width.
Interesting menu structure! Site map, directory structure and menu all in one. I like it!

Per
www.mingas.com
www.mingas.com
John, there are actually two problems when viewing your site in FireFox (latest version), see attached pic ff-view.jpg:
1. The date frame does only display the top of the date, the rest is buried under the next frame.
2. the year displays as '110'.
Issue #2 is also shared with Chrome and Safari, and in addition they show white borders around most of the frames, see pic chrome.jpg
I see you made the site in 2004, probably using the current CC html Editor at that time. The date issue might be because of this old version, not sure about that. (Cary can probably tell
)
1. The date frame does only display the top of the date, the rest is buried under the next frame.
2. the year displays as '110'.
Issue #2 is also shared with Chrome and Safari, and in addition they show white borders around most of the frames, see pic chrome.jpg
I see you made the site in 2004, probably using the current CC html Editor at that time. The date issue might be because of this old version, not sure about that. (Cary can probably tell

Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger,
I completely missed the error in the year (110).
Is that one of those old Y2K issues? I.e., it works if you add 1900 to the year...
I completely missed the error in the year (110).
Is that one of those old Y2K issues? I.e., it works if you add 1900 to the year...
Per
www.mingas.com
www.mingas.com
Not sure, Per, but it might be a millennium shift thingy. I started using CC html Editor in 2004 myself, but I never used that date script.
I'll post this to the CC staff, maybe they have an updated script.
I'll post this to the CC staff, maybe they have an updated script.
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Thanks folks.
The 'The date frame does only display the top of the date, the rest is buried under the next frame', should be easy to sort out, by moving the line down.
The date problem comes from the attached file, any suggestion on how to sort it out?
Well this is a .txt file, can't seem to attach it again, as below,
=========================================================
<html>
<!-- Created with the CoffeeCup HTML Editor -->
<!-- http://www.coffeecup.com/ -->
<!-- Brewed on 25/09/2004 23:33:38 -->
<Head>
<title>TT_Date</title>
<meta http-equiv="Content-Type"content="text/html;charset=utf-8">
<Style type="text/css">
Body { Color : Black;
Background-Color : Silver}
</Style>
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-3">
<ccResource>
<ccTitle>
<!-- Date -->
</ccTitle>
<ccCategory>
<!-- Clocks -->
</ccCategory>
<ccDescription>
<!--
This will create a header on the top right side of your webpage with the current date and time. -->
</ccDescription>
<ccInstructions>
<!-- Place this script in between the HEAD tags of your webpage. Change the size and color of the text by altering the values found in the next to last line of the JavaScript. -->
</ccInstructions>
<ccHeadContent>
<SCRIPT LANGUAGE="JavaScript">
//Modified by CoffeeCup Software
//This code is Copyright (c) 2000 CoffeeCup Software
//all rights reserved. License is granted to a single user to
//reuse this code on a personal or business Web Site.
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var timeValue = "" + ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += (hours >= 12) ? " P.M." : " A.M."
timerRunning = true;
mydate = new Date();
myday = mydate.getDay();
mymonth = mydate.getMonth();
myweekday= mydate.getDate();
weekday= myweekday;
myyear= mydate.getYear();
year = myyear;
if(myday == 0)
day = " Sunday, "
else if(myday == 1)
day = " Monday, "
else if(myday == 2)
day = " Tuesday, "
else if(myday == 3)
day = " Wednesday, "
else if(myday == 4)
day = " Thursday, "
else if(myday == 5)
day = " Friday, "
else if(myday == 6)
day = " Saturday, "
if(mymonth == 0)
month = "January "
else if(mymonth ==1)
month = "February "
else if(mymonth ==2)
month = "March "
else if(mymonth ==3)
month = "April "
else if(mymonth ==4)
month = "May "
else if(mymonth ==5)
month = "June "
else if(mymonth ==6)
month = "July "
else if(mymonth ==7)
month = "August "
else if(mymonth ==8)
month = "September "
else if(mymonth ==9)
month = "October "
else if(mymonth ==10)
month = "November "
else if(mymonth ==11)
month = "December "
document.write("<B><P ALIGN=RIGHT><FONT SIZE=-1 FACE=VERDANA,ARIAL>" + timeValue + " | " + day + month);
document.write(myweekday + ", " + year + "</FONT></B><P>");
</SCRIPT>
<!--This is the end of the JavaScript Make sure this script is between the HEAD tags-->
</ccElementContent>
</ccResource>
</Head>
<HTML>
<BODY>
</BODY>
</HTML>
=========================================================
The 'The date frame does only display the top of the date, the rest is buried under the next frame', should be easy to sort out, by moving the line down.
The date problem comes from the attached file, any suggestion on how to sort it out?
Well this is a .txt file, can't seem to attach it again, as below,
=========================================================
<html>
<!-- Created with the CoffeeCup HTML Editor -->
<!-- http://www.coffeecup.com/ -->
<!-- Brewed on 25/09/2004 23:33:38 -->
<Head>
<title>TT_Date</title>
<meta http-equiv="Content-Type"content="text/html;charset=utf-8">
<Style type="text/css">
Body { Color : Black;
Background-Color : Silver}
</Style>
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-3">
<ccResource>
<ccTitle>
<!-- Date -->
</ccTitle>
<ccCategory>
<!-- Clocks -->
</ccCategory>
<ccDescription>
<!--
This will create a header on the top right side of your webpage with the current date and time. -->
</ccDescription>
<ccInstructions>
<!-- Place this script in between the HEAD tags of your webpage. Change the size and color of the text by altering the values found in the next to last line of the JavaScript. -->
</ccInstructions>
<ccHeadContent>
<SCRIPT LANGUAGE="JavaScript">
//Modified by CoffeeCup Software
//This code is Copyright (c) 2000 CoffeeCup Software
//all rights reserved. License is granted to a single user to
//reuse this code on a personal or business Web Site.
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var timeValue = "" + ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += (hours >= 12) ? " P.M." : " A.M."
timerRunning = true;
mydate = new Date();
myday = mydate.getDay();
mymonth = mydate.getMonth();
myweekday= mydate.getDate();
weekday= myweekday;
myyear= mydate.getYear();
year = myyear;
if(myday == 0)
day = " Sunday, "
else if(myday == 1)
day = " Monday, "
else if(myday == 2)
day = " Tuesday, "
else if(myday == 3)
day = " Wednesday, "
else if(myday == 4)
day = " Thursday, "
else if(myday == 5)
day = " Friday, "
else if(myday == 6)
day = " Saturday, "
if(mymonth == 0)
month = "January "
else if(mymonth ==1)
month = "February "
else if(mymonth ==2)
month = "March "
else if(mymonth ==3)
month = "April "
else if(mymonth ==4)
month = "May "
else if(mymonth ==5)
month = "June "
else if(mymonth ==6)
month = "July "
else if(mymonth ==7)
month = "August "
else if(mymonth ==8)
month = "September "
else if(mymonth ==9)
month = "October "
else if(mymonth ==10)
month = "November "
else if(mymonth ==11)
month = "December "
document.write("<B><P ALIGN=RIGHT><FONT SIZE=-1 FACE=VERDANA,ARIAL>" + timeValue + " | " + day + month);
document.write(myweekday + ", " + year + "</FONT></B><P>");
</SCRIPT>
<!--This is the end of the JavaScript Make sure this script is between the HEAD tags-->
</ccElementContent>
</ccResource>
</Head>
<HTML>
<BODY>
</BODY>
</HTML>
=========================================================
Here are two differnet scripts which display the correct year, also in the browsers that were showing '110':
http://webdesign.about.com/library/week … -date1.htm
As for the date not showing completely, you could change the style settings in the head section to this:
<Style type="text/css">
Body { Color : Black;
Background-Color : Silver;
margin-top: 0;
padding-top: 0;}
</style>
If the setting 0 for both margin and padding doesn't look good, then try with another value, like 1, 2 etc.
And BTW John, I stongly advise you to upgrade to the latest version of the html Editor. Updates are free, you know
http://webdesign.about.com/library/week … -date1.htm
As for the date not showing completely, you could change the style settings in the head section to this:
<Style type="text/css">
Body { Color : Black;
Background-Color : Silver;
margin-top: 0;
padding-top: 0;}
</style>
If the setting 0 for both margin and padding doesn't look good, then try with another value, like 1, 2 etc.
And BTW John, I stongly advise you to upgrade to the latest version of the html Editor. Updates are free, you know

Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger Eik wrote:
I see you made the site in 2004, probably using the current CC html Editor at that time. The date issue might be because of this old version, not sure about that. (Cary can probably tell
)
I see you made the site in 2004, probably using the current CC html Editor at that time. The date issue might be because of this old version, not sure about that. (Cary can probably tell

Uh oh, it's javascript, so I have no clue.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.