CS Server-Side Includes for the New Dept Web Pages

You can use the following "server-side includes" on your own web pages to make them match the look of the department pages.

IMPORTANT: copy the HTML from this browser window instead of the "View Source" window. Our web server processes the include's -- directly inserting the file into the page. Hence, the source sent to a browser will not contain the include tags, but will instead contain the contents of the included files.

ALSO IMPORTANT: if you use any of these you'll have to set the execute bit on your html files:

      chmod a+rx <html file>

Colors and Stuff

Include the following line in the <head> section of your page to set default colors:

<link rel=stylesheet type="text/css" href="/csheader/cs.css">

General Header

Include the following line VERBATIM to get the header shown below (notice this is very close to an HTML comment, and in fact, if you put a space between "--" and "#" it will become a comment ...).

<!--#include virtual="/csheader/all.html" -->

University of Wisconsin Computer Sciences Header Map (repeated with 
textual links if page includes departmental footer) Useful Resources Research at UW-Madison CS Dept UW-Madison CS Undergraduate Program UW-Madison CS Graduate Program UW-Madison CS People Useful Information Current Seminars in the CS Department Search Our Site UW-Madison CS Computer Systems Laboratory UW-Madison Computer Sciences Department Home Page UW-Madison Home Page

Information Header

The next few examples differ from the general header by highlighting one subsection.

<!--#include virtual="/csheader/information.html" -->

University of Wisconsin Computer Sciences Header Map (repeated with 
textual links if page includes departmental footer) Useful Resources Research at UW-Madison CS Dept UW-Madison CS Undergraduate Program UW-Madison CS Graduate Program UW-Madison CS People Useful Information Current Seminars in the CS Department Search Our Site UW-Madison CS Computer Systems Laboratory UW-Madison Computer Sciences Department Home Page UW-Madison Home Page

People Header

<!--#include virtual="/csheader/people.html" -->

University of Wisconsin Computer Sciences Header Map (repeated with 
textual links if page includes departmental footer) Useful Resources Research at UW-Madison CS Dept UW-Madison CS Undergraduate Program UW-Madison CS Graduate Program UW-Madison CS People Useful Information Current Seminars in the CS Department Search Our Site UW-Madison CS Computer Systems Laboratory UW-Madison Computer Sciences Department Home Page UW-Madison Home Page

Grads Header

<!--#include virtual="/csheader/grads.html" -->

University of Wisconsin Computer Sciences Header Map (repeated with 
textual links if page includes departmental footer) Useful Resources Research at UW-Madison CS Dept UW-Madison CS Undergraduate Program UW-Madison CS Graduate Program UW-Madison CS People Useful Information Current Seminars in the CS Department Search Our Site UW-Madison CS Computer Systems Laboratory UW-Madison Computer Sciences Department Home Page UW-Madison Home Page

Ugrads Header

<!--#include virtual="/csheader/ugrads.html" -->

University of Wisconsin Computer Sciences Header Map (repeated with 
textual links if page includes departmental footer) Useful Resources Research at UW-Madison CS Dept UW-Madison CS Undergraduate Program UW-Madison CS Graduate Program UW-Madison CS People Useful Information Current Seminars in the CS Department Search Our Site UW-Madison CS Computer Systems Laboratory UW-Madison Computer Sciences Department Home Page UW-Madison Home Page

Research Header

<!--#include virtual="/csheader/research.html" -->

University of Wisconsin Computer Sciences Header Map (repeated with 
textual links if page includes departmental footer) Useful Resources Research at UW-Madison CS Dept UW-Madison CS Undergraduate Program UW-Madison CS Graduate Program UW-Madison CS People Useful Information Current Seminars in the CS Department Search Our Site UW-Madison CS Computer Systems Laboratory UW-Madison Computer Sciences Department Home Page UW-Madison Home Page

Resources Header

<!--#include virtual="/csheader/resources.html" -->

University of Wisconsin Computer Sciences Header Map (repeated with 
textual links if page includes departmental footer) Useful Resources Research at UW-Madison CS Dept UW-Madison CS Undergraduate Program UW-Madison CS Graduate Program UW-Madison CS People Useful Information Current Seminars in the CS Department Search Our Site UW-Madison CS Computer Systems Laboratory UW-Madison Computer Sciences Department Home Page UW-Madison Home Page

Footer

You can also add a footer to pages.

<!--#include virtual="/csheader/footer.html" -->

Computer Sciences Department
College of Letters and Science
University of Wisconsin - Madison


INFORMATION ~ PEOPLE ~ GRADS ~ UNDERGRADS ~ RESEARCH ~ RESOURCES

5355a Computer Sciences and Statistics ~ 1210 West Dayton Street, Madison, WI 53706
cs@cs.wisc.edu ~ voice: 608-262-1204 ~ fax: 608-262-9777

Short Footer

On a short page, there is no need to repeat the menu of subsections.

<!--#include virtual="/csheader/short_footer.html" -->

Computer Sciences Department
University of Wisconsin - Madison



5355a Computer Sciences and Statistics ~ 1210 West Dayton Street, Madison, WI 53706
cs@cs.wisc.edu ~ voice: 608-262-1204 ~ fax: 608-262-9777

Random UW Picture

You can have a randomly chosen image appear each time a page is loaded.

<!--#exec cgi="/cgi-bin/randpic.pl" -->

[an error occurred while processing this directive]

If you want to always use the same page, do something like the following.

<image src="/images/pic_composite.jpg" alt="Images of UW-Madison"-->

Images of UW-Madison

You can visit http://www.cs.wisc.edu/images/ to see all of the currently available images.

On a related note, if you wish to use the new (as of 2002) UW-Madison logo, read these instructions.