I am definitely not a javascript programmer, but I'm trying here. This is what I have:
var augArray = new Array();
var the_date = new Date();
var the_day = the_date.getDate();
var the_month = the_date.getMonth();
var htmmo = 'DailyDevotions/August/aug';
var htmday = the_day;
var htmend = '.htm';
var total = htmmo + htmday+ htmend;
if (the_month=7){
augArray[the_day] = '<iframe width=500 height=600 frameborder="0" src=total></iframe>';
}
I know this will not work since the iframe doesn't know what 'total' is but I was wondering if there's anyway to fix this.
var augArray = new Array();
var the_date = new Date();
var the_day = the_date.getDate();
var the_month = the_date.getMonth();
var htmmo = 'DailyDevotions/August/aug';
var htmday = the_day;
var htmend = '.htm';
var total = htmmo + htmday+ htmend;
if (the_month=7){
augArray[the_day] = '<iframe width=500 height=600 frameborder="0" src=total></iframe>';
}
I know this will not work since the iframe doesn't know what 'total' is but I was wondering if there's anyway to fix this.