T
tomlacko
My home page contaings the following code which IE SP2 objects to:
============
<H2>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var montharray=new
Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
function countup(yr,m,d) {
var today=new Date();
var todayy=today.getYear();
// Y2K Fix by Isaac Powell
// http://onyx.idbsu.edu/~ipowell
if ((navigator.appName == "Microsoft Internet Explorer") && (todayy <
2000))
todayy="19" + todayy;
if (navigator.appName == "Netscape")
todayy=1900 + todayy;
var todaym=today.getMonth();
var todayd=today.getDate();
var todaystring=montharray[todaym]+" "+todayd+", "+todayy;
var paststring=montharray[m-1]+" "+d+", "+yr;
var
difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1);
document.write ( " Today is " + difference + " ");
}
countup(1970,01,01); // Date in format: (year,month,day)
// End -->
</script>
</H2>
<!-- Script Size: 0.99 KB -->
==========
Each time I start IE the browser comes up with the message, "To help
protect your security, Internet Explorer has restricted this file from
showing active content that could access your computer. Click here for
options...."
Now, after right-clicking on that statement I can click on "Allow
blocked content" to see the page but I don't want to do this each time
I start up IE. My browser security settings are set to allow java
scripting so, I don't know what the problem can be. The home page that
contains the code resides on my computer.
Another thing: Each time IE displays that error it plays an alert tone
through my speakers. I don't want any sound to be heard at all! I have
my Windows XP settings set for No Sounds (under Control Panel / Sounds
/ Sound Scheme = No Sounds.)
Anyone have any thoughts on this?
Thank you for your time.
Tom, (e-mail address removed)
============
<H2>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var montharray=new
Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
function countup(yr,m,d) {
var today=new Date();
var todayy=today.getYear();
// Y2K Fix by Isaac Powell
// http://onyx.idbsu.edu/~ipowell
if ((navigator.appName == "Microsoft Internet Explorer") && (todayy <
2000))
todayy="19" + todayy;
if (navigator.appName == "Netscape")
todayy=1900 + todayy;
var todaym=today.getMonth();
var todayd=today.getDate();
var todaystring=montharray[todaym]+" "+todayd+", "+todayy;
var paststring=montharray[m-1]+" "+d+", "+yr;
var
difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1);
document.write ( " Today is " + difference + " ");
}
countup(1970,01,01); // Date in format: (year,month,day)
// End -->
</script>
</H2>
<!-- Script Size: 0.99 KB -->
==========
Each time I start IE the browser comes up with the message, "To help
protect your security, Internet Explorer has restricted this file from
showing active content that could access your computer. Click here for
options...."
Now, after right-clicking on that statement I can click on "Allow
blocked content" to see the page but I don't want to do this each time
I start up IE. My browser security settings are set to allow java
scripting so, I don't know what the problem can be. The home page that
contains the code resides on my computer.
Another thing: Each time IE displays that error it plays an alert tone
through my speakers. I don't want any sound to be heard at all! I have
my Windows XP settings set for No Sounds (under Control Panel / Sounds
/ Sound Scheme = No Sounds.)
Anyone have any thoughts on this?
Thank you for your time.
Tom, (e-mail address removed)