UNIT A Web Work 3

 

Here is two private websites that I found. Each features java scripts. Number one features a script that places a welcome, the day, the date and a comment about the browsers version! It also has the usual HTML tags such as: This site can be found at: http://members.aol.com/miked17698/sites/index1.html

 

 

Private website #1

 

<BODY BGCOLOR="#F8FFF8" LINK="#FF0000"
ALINK="#0000FF" background="whtmrbl.jpg">
<center><p>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide from old browsers

// get date object
var today = new Date();
var days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');

// write the date
document.write('Welcome to you this fine day of<br>');
document.write('<font face="comic sans MS, arial"><font color="red" size=+2>' + days [today.getDay()] + ', ');
document.write(today.toLocaleString() + '</font></font>');

// write a welcome string acknowledging the browser version
document.write('<p>I hope you enjoy your visit to my site with your version of ');
document.write(navigator.appName + ' ' + parseFloat(navigator.appVersion));

// write a warning for old web browsers
if ( parseInt( navigator.appVersion) < 4 ) {
document.write('<font face="comic sans MS, arial"><font color="red"> Hmmm.. that\'s a pretty old version of ');
document.write(navigator.appName + '! Maybe it is time to consider an upgrade?</font></font>');
}

// done hiding -->
</SCRIPT></center>

 

<BLOCKQUOTE><H1><CENTER><TABLE BORDER=0 CELLPADDING=0 WIDTH=578
HEIGHT=311>
<TR>
<TD WIDTH=303 HEIGHT=146>
<CENTER><B><FONT SIZE="+4"
FACE="comic sans MS, helvetica, arial, sans serif"
COLOR="#FF0F07">Welcome!</FONT></B></CENTER><P>
<CENTER><FONT SIZE="+2"
FACE="comic sans MS, helvetica, arial, sans serif"
COLOR="#FF120A">To the online home of...</FONT>
</CENTER></P>

Private website #2:

This 2nd site has embedded audio, block quotes, a link to Diablo Magazine and images inserted!

 

<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#551A8B" ALINK="#0000FF" BACKGROUND="whtmrbl.jpg">
<blockquote><blockquote><FONT FACE="Comic Sans MS"><B>VOTED BEST PLACE FOR SINGLES TO MEET A MATE:</b>
Many readers picked the singles group of Lafayette-Orinda Presbyterian
Church (925-283-8890) as the place to meet a partner of similar interests
and ideals. The 23-year-old organization is not a matchmaking service
but a social outlet for more than 4,500 single adults in the East Bay. A
variety of activities such as volleyball games, hikes, restaurant meetings,
and movie nights are planned for each day of the week.</font>
<A HREF="http://www.diablomag.com/archives/DM9907/bestactivities.html">Diablo Magazine July 1999</A> </blockquote></blockquote><BR>
<BR>
<CENTER> <IMG SRC="valley1.gif" alt=valley pic HEIGHT=160 WIDTH=300><BR> </CENTER>
<EMBED AUTOSTART="true" HIDDEN="true" SRC="lordilift.mid">
<P>
<BR>
<BR>
<IMG SRC="shiplogo.gif" alt=logo HEIGHT=84 WIDTH=78 ALIGN=left><BR>
<BLOCKQUOTE><H3><FONT SIZE="+2" FACE="Comic Sans MS"
COLOR="#FF120A">Welcome</FONT></H3>