|
Random
Feature
The random feature was created to offer an alternate
solution to the current random effect on the home page of www.SFU.ca.
Currently, a CGI script makes a random selection between five
different pages (index1.html, index2.html, etc.) and supplies
to the browser a static web page. The issue with the current system
is, if you bookmark one of the index pages, you will bypass the random feature of the script
which will prevent you from seeing any of the other news stories.
The solution
uses a JavaScript feature which gets the user's computer to
process the random selection which only
effects which image will be loaded as well as which headlines
that are loaded. In theory, each time you reload the
home page, you will see different headlines, if enough exist as well as
a different image.
|