mark87
01-08-2006, 02:40 AM
This forum is [mainly?] for English people.
Babelfish has translated it as follows :-
Hello. Use in my pagina a calendar with a different Link in every day of the month. Therefore, I have 12 ' imagenes' ready for every month. What I need is that these ' imagenes' load single without my intervention every first day of month segun corresponds. The problem that I have had is that this that I call ' imagenes' in fact is scripts of an active calendar to which it controls to layer identico of every month with links, so that they are different and unicos in all the year, because it is a proposal simultaneously to read the complete Bible in a single year but presenting/displaying a month... not if I explained myself well, but if somebody understood to me and wants to help to me in advance I am been thankful him. Blessings in 2006!
OK, you will probably not understand what I say but I'm gathering you wish to display a different image for each month?
You can do it in Javascript (as I'm guessing you wanted as you posted in the JS section) -
<script type="text/javascript">
theDate = new Date();
var Month = theDate.getMonth()+1;
var NumberOfImages = 12;
Images = new Array(NumberOfImages+1);
Images[1] = "<img src='Jan.jpg'>";
Images[2] = "<img src='Feb.jpg'>";
Images[3] = "<img src='Mar.jpg'>";
Images[4] = "<img src='Apr.jpg'>";
Images[5] = "<img src='May.jpg'>";
Images[6] = "<img src='Jun.jpg'>";
Images[7] = "<img src='July.jpg'>";
Images[8] = "<img src='Aug.jpg'>";
Images[9] = "<img src='Sep.jpg'>";
Images[10] = "<img src='Oct.jpg'>";
Images[11] = "<img src='Nov.jpg'>";
Images[12] = "<img src='Dec.jpg'>";
document.write(Images[Month]);
</script>
Babelfish has translated it as follows :-
Hello. Use in my pagina a calendar with a different Link in every day of the month. Therefore, I have 12 ' imagenes' ready for every month. What I need is that these ' imagenes' load single without my intervention every first day of month segun corresponds. The problem that I have had is that this that I call ' imagenes' in fact is scripts of an active calendar to which it controls to layer identico of every month with links, so that they are different and unicos in all the year, because it is a proposal simultaneously to read the complete Bible in a single year but presenting/displaying a month... not if I explained myself well, but if somebody understood to me and wants to help to me in advance I am been thankful him. Blessings in 2006!
OK, you will probably not understand what I say but I'm gathering you wish to display a different image for each month?
You can do it in Javascript (as I'm guessing you wanted as you posted in the JS section) -
<script type="text/javascript">
theDate = new Date();
var Month = theDate.getMonth()+1;
var NumberOfImages = 12;
Images = new Array(NumberOfImages+1);
Images[1] = "<img src='Jan.jpg'>";
Images[2] = "<img src='Feb.jpg'>";
Images[3] = "<img src='Mar.jpg'>";
Images[4] = "<img src='Apr.jpg'>";
Images[5] = "<img src='May.jpg'>";
Images[6] = "<img src='Jun.jpg'>";
Images[7] = "<img src='July.jpg'>";
Images[8] = "<img src='Aug.jpg'>";
Images[9] = "<img src='Sep.jpg'>";
Images[10] = "<img src='Oct.jpg'>";
Images[11] = "<img src='Nov.jpg'>";
Images[12] = "<img src='Dec.jpg'>";
document.write(Images[Month]);
</script>
