calendar

P

Prophet

I am using frames to on a page which has a calendar.
there is a header which changes the month in the frame, and the calendar
itself.
What I want to do is change the calendar every month to reflect the current
month.
What I am doing now is going in monthly and changing the target....jan.html
to feb.html, next month feb.html to march.html..etc
My hope is that I will not have to manually update.
Any ideas???


thanks.

current code:

<HTML>
<HEAD>
</HEAD>

<frameset cols="60" framespacing="0" border="0" frameborder="0">
<frameset rows="92,84%" framespacing="0" border="0" frameborder="0">
<frame name="top" scrolling="no" noresize target="tres"
src="tresheader.html">
<frame name="tres" src="jan.html">

<noframes>
<body>
<p> this page uses frames, but your browser does not support them. </p>
</body>
</noframes>
</frameset>
</html>
 
V

VK

Prophet said:
I am using frames to on a page which has a calendar.
there is a header which changes the month in the frame, and the calendar
itself.
What I want to do is change the calendar every month to reflect the current
month.
What I am doing now is going in monthly and changing the target....jan.html
to feb.html, next month feb.html to march.html..etc
My hope is that I will not have to manually update.
Any ideas???


thanks.

current code:

<HTML>
<HEAD>
</HEAD>

<frameset cols="60" framespacing="0" border="0" frameborder="0">
<frameset rows="92,84%" framespacing="0" border="0" frameborder="0">
<frame name="top" scrolling="no" noresize target="tres"
src="tresheader.html">
<frame name="tres" src="jan.html">

<noframes>
<body>
<p> this page uses frames, but your browser does not support them. </p>
</body>
</noframes>
</frameset>
</html>

Frames are bad.
Scripted frames are even worse.
Client-side calendar can be wrong

Having said that:

....
<frame name="top" scrolling="no" noresize target="tres"
src="tresheader.html">
<script type="text/javascript">
var month = new Array('jan', 'feb', 'march', 'yours to continue');
var i = (new Date()).getMonth();
document.write('<frame name="tres" src="');
document.write(month+'.html">');
</script>
<noscript>
<frame name="tres" src="noscriptOptions.html">
</noscript>
....

P.S. I did not check you frameset structure which looks rather strange.
If you have problems with it please ask at
<comp.infosystems.www.authoring.html>
 
P

Prophet

VK said:
I am using frames to on a page which has a calendar.
there is a header which changes the month in the frame, and the calendar
itself.
What I want to do is change the calendar every month to reflect the
current
month.
What I am doing now is going in monthly and changing the target....jan.html
to feb.html, next month feb.html to march.html..etc
My hope is that I will not have to manually update.
Any ideas???


thanks.

current code:

<HTML>
<HEAD>
</HEAD>

<frameset cols="60" framespacing="0" border="0" frameborder="0">
<frameset rows="92,84%" framespacing="0" border="0" frameborder="0">
<frame name="top" scrolling="no" noresize target="tres"
src="tresheader.html">
<frame name="tres" src="jan.html">

<noframes>
<body>
<p> this page uses frames, but your browser does not support them. </p>
</body>
</noframes>
</frameset>
</html>

Frames are bad.
Scripted frames are even worse.
Client-side calendar can be wrong

Having said that:

...
<frame name="top" scrolling="no" noresize target="tres"
src="tresheader.html">
<script type="text/javascript">
var month = new Array('jan', 'feb', 'march', 'yours to continue');
var i = (new Date()).getMonth();
document.write('<frame name="tres" src="');
document.write(month+'.html">');
</script>
<noscript>
<frame name="tres" src="noscriptOptions.html">
</noscript>
...

P.S. I did not check you frameset structure which looks rather strange.
If you have problems with it please ask at
<comp.infosystems.www.authoring.html>


Thank you - will give it a try.
 
P

Prophet

VK said:
I am using frames to on a page which has a calendar.
there is a header which changes the month in the frame, and the calendar
itself.
What I want to do is change the calendar every month to reflect the
current
month.
What I am doing now is going in monthly and changing the target....jan.html
to feb.html, next month feb.html to march.html..etc
My hope is that I will not have to manually update.
Any ideas???


thanks.

current code:

<HTML>
<HEAD>
</HEAD>

<frameset cols="60" framespacing="0" border="0" frameborder="0">
<frameset rows="92,84%" framespacing="0" border="0" frameborder="0">
<frame name="top" scrolling="no" noresize target="tres"
src="tresheader.html">
<frame name="tres" src="jan.html">

<noframes>
<body>
<p> this page uses frames, but your browser does not support them. </p>
</body>
</noframes>
</frameset>
</html>

Frames are bad.
Scripted frames are even worse.
Client-side calendar can be wrong

Having said that:

...
<frame name="top" scrolling="no" noresize target="tres"
src="tresheader.html">
<script type="text/javascript">
var month = new Array('jan', 'feb', 'march', 'yours to continue');
var i = (new Date()).getMonth();
document.write('<frame name="tres" src="');
document.write(month+'.html">');
</script>
<noscript>
<frame name="tres" src="noscriptOptions.html">
</noscript>
...

P.S. I did not check you frameset structure which looks rather strange.
If you have problems with it please ask at
<comp.infosystems.www.authoring.html>


I tried the code, but the "feb.html" does not appear.
 
D

Dr John Stockton

JRS: In article <R1DFf.180211$6K2.163853@edtnps90>, dated Mon, 6 Feb
2006 07:38:25 remote, seen in Prophet
What I want to do is change the calendar every month to reflect the current
month.
What I am doing now is going in monthly and changing the target....jan.html
to feb.html, next month feb.html to march.html..etc
My hope is that I will not have to manually update.

Read the newsgroup FAQ; see below.
 
V

VK

Prophet said:
I tried the code, but the "feb.html" does not appear.

As I said you frameset structure looks rather strange.
Say you have two framesets but only *one* closing tag.
<noframes> section is placed inside of frameset.
Very suspitious looking frame sizes are declared.
Bring the frame structure in order first, ask at
<comp.infosystems.www.authoring.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,048
Members
48,769
Latest member
Clifft

Latest Threads

Top