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> 5 1753
Prophet wrote: 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[i]+'.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>
"VK" <sc**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com... Prophet wrote: 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[i]+'.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.
"VK" <sc**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com... Prophet wrote: 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[i]+'.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.
JRS: In article <R1DFf.180211$6K2.163853@edtnps90>, dated Mon, 6 Feb
2006 07:38:25 remote, seen in news:comp.lang.javascript, Prophet
<M_*****@hotmail.com> posted : 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.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Prophet wrote: 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> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sugapablo |
last post by:
Can someone recommend a very simple script to produce a web calendar?
I just want something where I can select a month and year and it produces
a very basic HTML table, 7 columns across, one...
|
by: cg_news |
last post by:
In short, what I am trying to do is, based on a date, calculate the week of
year (as described in ISO 8601), then calculate the first and last date in
this week period and return them in the format...
|
by: Caesar Augustus |
last post by:
First, let me start by saying my asp.net experience is still in it's
infancy so please bare with me as I try to explain my situation.
I have created a single page that with the use of many...
|
by: R.A.M. |
last post by:
Hello,
I need to implement popup calendar in ASP.NET application. I created a
button opening popup calendar on 'master' page:
<asp:Button ID="Calendar" runat="server"
Text=Calendar"...
|
by: R.A.M. |
last post by:
Hello,
I need to implement popup calendar in ASP.NET application. I created a
button opening popup calendar on 'master' page:
<asp:Button ID="Calendar" runat="server"
Text=Calendar"...
|
by: GV |
last post by:
Hi all,
New to developing in VS 2005 ASP 2.0
Trying to have a easy pop calender for a button on a web page.
I keep getting a error message in IE6 that says:
Line 69
Char 3
Error:...
|
by: thorpk |
last post by:
I posted this problem earlier in the month and some one decided it was
better to change the subject and ask a completely different question.
I am therefore reposting. I am hoping some one can...
|
by: mathewgk80 |
last post by:
HI all,
I am having popup calendar Javascript code. But i dont know how it is connecting to asp.net code.. I am using asp.net,c#.net and also using 3tier architecture with master page....
I...
|
by: gubbachchi |
last post by:
Hi all,
Please anybody help me solve this problem. I am stuck up with this from past 2 weeks. I am developing an application where, when the user selects date from javascript datepicker and enters...
|
by: abhishekbrave |
last post by:
The code below is opening a calendar on mouse over in the same window.
I need the calendar to be opened in new window.
Have to fulfill this requirement urgentely so posting the whole code here.
I...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |