>!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"<
>html<
>head<
>meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"<
>title/title<
>base TARGET="_top"<
>/head<

This code shows the head portion of an HTML document.


>SCRIPT LANGUAGE="JavaScript"<

// Netscape fix resize bug Ns4
function WM_netscapeCssFix() {
if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth ||
document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
document.location = document.location;
}
}
function WM_netscapeCssFixCheckIn() {
if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
if (typeof document.WM == 'undefined'){
document.WM = new Object;
}
if (typeof document.WM.WM_scaleFont == 'undefined') {
document.WM.WM_netscapeCssFix = new Object;
document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
}
window.onresize = WM_netscapeCssFix;
}
}
WM_netscapeCssFixCheckIn();
// catch all errors...
function stopError() {return true;}
window.onerror=stopError;

>/SCRIPT<

This javascript coded corrects a problem with NS4.* and DHTML.


>script LANGUAGE="JavaScript"< // Original: Eric King (eric_andrew_king@hotmail.com)
// Web Site: http://redrival.com/eak/
// This script creates a small browser window
// This script and many more are available free online at
// The JavaScript Source!! http://javascript.internet.com
// To enable the small windows, place the following code in the HEAD of the document
// Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End
>/script<

// To Create a link that calls the window...
>IMG SRC="icons/tree_g.gif" HEIGHT=16 WIDTH=20 ALIGN=TOP<
>A HREF="http://chauvinistpig.com/discus/messages/board-topics.html" Target="Main" onMouseOver="window.status='Go to the top page which lists all topics'; return true"<
Topics>/a<

This javascript enables small pop-up windows..


Franklin Central High School Dot Com
>BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#99FF99" ALINK="#FFCC99" VLINK="#FFCC99"
>FONT FACE="Verdana,Arial,Helvetica" SIZE="2"<

This code demonstrates the use of the BODY TAG and the FONT FACE tag.


Franklin Central High School

>div ID="AbPosImage" STYLE="position: absolute; z-index: 2; left: 100px; top: 50px"<
>img name="wowlogo" SRC="http://franklincentralhighschool.com/images/fchs.jpg" border=0 alt="Franklin Central High School"<

This code shows the use of the DIV tag when placing images on a screen.

>/DIV<


>DIV ID="AbPosText" STYLE="position: absolute; left: 150px; top:3px; height: 1in; width: 5in; z-index:20"<

This shows the coded for a DIV Tags use in placement of text.

>/DIV<


FCHS ATHLETIC SCHEDULE

>DIV ID="AbPosText" STYLE="position: absolute; left: 20px; top:580px; height: 1in; width: 5in; z-index:20"<
>A HREF="http://www.ftcsc.k12.in.us/schools/fchsath0304.html" TARGET="sports"< FCHS ATHLETIC SCHEDULE>/A<
>/DIV<

This shows the coded for creating a hypertext link.



>A HREF ="http://chauvinistpig.com/discus"<>IMG SRC="http://franklincentralhighschool.com/images/fchs.jpg" BORDER=0<>/A<

This code shows how to make an image link.