Bonjour
Je suis nul de chez
nul en JavaScript quelqu'un peut-il m’aider
Je voudrais avec ce script qui affiche le saint du jour, afficher une page « jour_mois.htm »
Es possible si oui comment faire
Merci
<!-- Je cache pour les vieux browsers
function display_anni() {
date = new Date();
var day_of_week_number = date.getDay();
var day_of_month_number = date.getDate();
var month_number = date.getMonth();
var year = date.getYear();
var day_of_week = '';
var month = ''
if((day_of_month_number == 1) && (month_number == 9)){day_of_year = 'Ste Thérèse de l\' E.-J.';}
if((day_of_month_number == 2) && (month_number == 9)){day_of_year = 'St Léger';}
if((day_of_month_number == 3) && (month_number == 9)){day_of_year = 'St Gérard';}
if((day_of_month_number == 4) && (month_number == 9)){day_of_year = 'St François d\' Assise';}
if((day_of_month_number == 5) && (month_number == 9)){day_of_year = 'Ste Fleur';}
if((day_of_month_number == 6) && (month_number == 9)){day_of_year = 'St Bruno';}
if((day_of_month_number == 7) && (month_number == 9)){day_of_year = 'St Serge';}
if((day_of_month_number == 8) && (month_number == 9)){day_of_year = 'Ste Pélagie';}
if((day_of_month_number == 9) && (month_number == 9)){day_of_year = 'St Denis';}
if((day_of_month_number == 10) && (month_number == 9)){day_of_year = 'St Ghislain';}
if((day_of_month_number == 11) && (month_number == 9)){day_of_year = 'St Firmin';}
if((day_of_month_number == 12) && (month_number == 9)){day_of_year = 'St Wilfried';}
if((day_of_month_number == 13) && (month_number == 9)){day_of_year = 'St Géraud';}
if((day_of_month_number == 14) && (month_number == 9)){day_of_year = 'St Juste';}
if((day_of_month_number == 15) && (month_number == 9)){day_of_year = 'Ste Thérèse d\'Avila';}
if((day_of_month_number == 16) && (month_number == 9)){day_of_year = 'St Edwige';}
if((day_of_month_number == 17) && (month_number == 9)){day_of_year = 'St Baudouin';}
if((day_of_month_number == 18) && (month_number == 9)){day_of_year = 'St Luc';}
if((day_of_month_number == 19) && (month_number == 9)){day_of_year = 'St René';}
if((day_of_month_number == 20) && (month_number == 9)){day_of_year = 'Ste Adeline';}
if((day_of_month_number == 21) && (month_number == 9)){day_of_year = 'Ste Céline';}
if((day_of_month_number == 22) && (month_number == 9)){day_of_year = 'Ste Elodie';}
if((day_of_month_number == 23) && (month_number == 9)){day_of_year = 'St Jean de C.';}
if((day_of_month_number == 24) && (month_number == 9)){day_of_year = 'St Florentin';}
if((day_of_month_number == 25) && (month_number == 9)){day_of_year = 'St Crépin';}
if((day_of_month_number == 26) && (month_number == 9)){day_of_year = 'St Dimitri';}
if((day_of_month_number == 27) && (month_number == 9)){day_of_year = 'Ste Emeline';}
if((day_of_month_number == 28) && (month_number == 9)){day_of_year = 'Sts Simon, Jude';}
if((day_of_month_number == 29) && (month_number == 9)){day_of_year = 'St Narcisse';}
if((day_of_month_number == 30) && (month_number == 9)){day_of_year = 'Ste Bienvenue';}
if((day_of_month_number == 31) && (month_number == 9)){day_of_year = 'St Quentin';}
var date_to_show = day_of_year;
document.write('Nous fêtons : ' + date_to_show.fontcolor("#000000") + '</font>');
} //end display anni
// je ne cache plus -->
display_anni();
Je suis nul de chez

Je voudrais avec ce script qui affiche le saint du jour, afficher une page « jour_mois.htm »
Es possible si oui comment faire
Merci
<!-- Je cache pour les vieux browsers
function display_anni() {
date = new Date();
var day_of_week_number = date.getDay();
var day_of_month_number = date.getDate();
var month_number = date.getMonth();
var year = date.getYear();
var day_of_week = '';
var month = ''
if((day_of_month_number == 1) && (month_number == 9)){day_of_year = 'Ste Thérèse de l\' E.-J.';}
if((day_of_month_number == 2) && (month_number == 9)){day_of_year = 'St Léger';}
if((day_of_month_number == 3) && (month_number == 9)){day_of_year = 'St Gérard';}
if((day_of_month_number == 4) && (month_number == 9)){day_of_year = 'St François d\' Assise';}
if((day_of_month_number == 5) && (month_number == 9)){day_of_year = 'Ste Fleur';}
if((day_of_month_number == 6) && (month_number == 9)){day_of_year = 'St Bruno';}
if((day_of_month_number == 7) && (month_number == 9)){day_of_year = 'St Serge';}
if((day_of_month_number == 8) && (month_number == 9)){day_of_year = 'Ste Pélagie';}
if((day_of_month_number == 9) && (month_number == 9)){day_of_year = 'St Denis';}
if((day_of_month_number == 10) && (month_number == 9)){day_of_year = 'St Ghislain';}
if((day_of_month_number == 11) && (month_number == 9)){day_of_year = 'St Firmin';}
if((day_of_month_number == 12) && (month_number == 9)){day_of_year = 'St Wilfried';}
if((day_of_month_number == 13) && (month_number == 9)){day_of_year = 'St Géraud';}
if((day_of_month_number == 14) && (month_number == 9)){day_of_year = 'St Juste';}
if((day_of_month_number == 15) && (month_number == 9)){day_of_year = 'Ste Thérèse d\'Avila';}
if((day_of_month_number == 16) && (month_number == 9)){day_of_year = 'St Edwige';}
if((day_of_month_number == 17) && (month_number == 9)){day_of_year = 'St Baudouin';}
if((day_of_month_number == 18) && (month_number == 9)){day_of_year = 'St Luc';}
if((day_of_month_number == 19) && (month_number == 9)){day_of_year = 'St René';}
if((day_of_month_number == 20) && (month_number == 9)){day_of_year = 'Ste Adeline';}
if((day_of_month_number == 21) && (month_number == 9)){day_of_year = 'Ste Céline';}
if((day_of_month_number == 22) && (month_number == 9)){day_of_year = 'Ste Elodie';}
if((day_of_month_number == 23) && (month_number == 9)){day_of_year = 'St Jean de C.';}
if((day_of_month_number == 24) && (month_number == 9)){day_of_year = 'St Florentin';}
if((day_of_month_number == 25) && (month_number == 9)){day_of_year = 'St Crépin';}
if((day_of_month_number == 26) && (month_number == 9)){day_of_year = 'St Dimitri';}
if((day_of_month_number == 27) && (month_number == 9)){day_of_year = 'Ste Emeline';}
if((day_of_month_number == 28) && (month_number == 9)){day_of_year = 'Sts Simon, Jude';}
if((day_of_month_number == 29) && (month_number == 9)){day_of_year = 'St Narcisse';}
if((day_of_month_number == 30) && (month_number == 9)){day_of_year = 'Ste Bienvenue';}
if((day_of_month_number == 31) && (month_number == 9)){day_of_year = 'St Quentin';}
var date_to_show = day_of_year;
document.write('Nous fêtons : ' + date_to_show.fontcolor("#000000") + '</font>');
} //end display anni
// je ne cache plus -->
display_anni();