C
Cloy
I'm currently working on a revised home page for my church.
The script loads a date listing into an iframe (in a table cell) at
the right side of the page and then scrolls the list to today's date.
The script works okay on all version of Firefox and IE for Macintosh.
On IE for Windows, the script seems to runs okay, but none of the
content below the script appears on the page. Below is the script.
THe page address is http://www.pontonline.org/index-new3.htm
Thanks, in advance, for any suggestions on this.
Excelsior! -Cloy
<script language="JavaScript">
<!--
var date = new Date();
var d = date.getDate();
var day = (d < 10) ? '0' + d : d;
var m = date.getMonth() + 1;
var month = (m < 10) ? '0' + m : m;
var year = date.getFullYear();
document.write('<iframe name="News" width="280" marginwidth="0"
height="280" frameborder="0" marginheight="0" align="left"
scrolling="auto" hspace="0" vspace="0" src="office/calendar-
items.htm#' + month + day + year + '"');
document.write('Your browser does not support inline frames or is
currently configured not to display inline frames.')
document.write('</iframe>')
// -->
</script>
The script loads a date listing into an iframe (in a table cell) at
the right side of the page and then scrolls the list to today's date.
The script works okay on all version of Firefox and IE for Macintosh.
On IE for Windows, the script seems to runs okay, but none of the
content below the script appears on the page. Below is the script.
THe page address is http://www.pontonline.org/index-new3.htm
Thanks, in advance, for any suggestions on this.
Excelsior! -Cloy
<script language="JavaScript">
<!--
var date = new Date();
var d = date.getDate();
var day = (d < 10) ? '0' + d : d;
var m = date.getMonth() + 1;
var month = (m < 10) ? '0' + m : m;
var year = date.getFullYear();
document.write('<iframe name="News" width="280" marginwidth="0"
height="280" frameborder="0" marginheight="0" align="left"
scrolling="auto" hspace="0" vspace="0" src="office/calendar-
items.htm#' + month + day + year + '"');
document.write('Your browser does not support inline frames or is
currently configured not to display inline frames.')
document.write('</iframe>')
// -->
</script>