Fayette County Schools Webmaster Resources banner

How To Install the Emergency Notification Message

1. Rename home page to default.asp (OR index.asp, if you're already using index.htm).
This has to be done as a rename, in order for FrontPage to update the information.

2. Open default.asp (or index.asp) and choose Code view.

3. Put the following code at very top before html tags, or at bottom after html tags:


<%Function getHTML(sourceFile)
Response.Buffer = True
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", sourceFile, False
xml.Send
Response.Write xml.responseText
Set xml = Nothing
End Function%>

4. Put the following code where you want it located on the web page:

<font size="2" face="Verdana"><%= getHTML("http://www.fcps.net/news/emergency.htm") %></font>

5. Put the following code in the head (or add to your style sheet):

<style>.alert {
color: #FF0000;
}</style>
 

Web / Internet Services is a division of the Department of Educational and Administrative Technology

Contact:
Maggie Whittington, Instructional Website Resource Specialist

Learning with Technology

District training schedule