CSCI 4230
 Internet Application Development
 Spring 2001
 Homework #6

Due date: April 11, 2001.

(1)    Write an ASP program, DynamicLinks.asp, to accept a HTTP Get parameter filename.  It opens the file which is stored in the same directory to prepare for the display.  The data file uses two lines to describe a link:

description
url

For example, the content of your first test data file:

h6dat1.txt

Free email account from yahoo
http://www.yahoo.com
Dr. Yue's home page
http://sce.uhcl.edu/yue
Get your free Perl for windows
http://www.activestate.com
Get your daily Linux news
http://www.LinuxToday.com

    The links are presented using a line.  Only one link is presented at a time.  Use a timer to cycle through the link in a four second interval.  Your page should work for both IE 5.5 and Netscape 4.x.

For example, for the URL:

http://dcm.uhcl.edu/youraccount/DynamicLinks.asp?filename=h6dat1.txt

Your program initial page display is:

Note that the url is a link.  Another four seconds later, it becomes:

Another four seconds later:

Another four seconds later:

Yet another four seconds later, it loops back to the first link:

For the file h6dat2.txt:

Free email account from hotmail
http://www.hotmail.com
Dr. Davari's home page
http://sce.uhcl.edu/davari
Get your daily news here
http://www.cnn.com

For the URL:

http://dcm.uhcl.edu/youraccount/DynamicLinks.asp?filename=h6dat2.txt

Your progarm initial page display should now be:

After four seconds:

After another four seconds:

You should write your program to produce pages with styles as close to the display above as possible.

Your program does not need to handle error in file names and file contents.