home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD>
- <TITLE>
- How to make Button Bars
- </TITLE>
- </HEAD>
- <BODY>
-
- <!--#include virtual="/gifs/icons.pcd.inc" -->
- <!-- Included here : -->
- <!-- Include file -->
- <!-- Icon bar for CS dept, PCD group -->
- <!-- A HREF="http://www.stanford.edu/" --><IMG SRC="../gifs/stanford/seal56" ALT="Stanford"><!-- /A -->
-
- <!-- A HREF="http://www-cs.stanford.edu/" --><IMG SRC="../gifs/logo/csd" ALT="CS dept"><!-- /A -->
-
- <!-- A HREF="http://www-pcd.stanford.edu/" --><IMG SRC="../gifs/logo/pcd" ALT="PCD grp"><!-- /A -->
- <!-- End of included -->
- <HR>
- <H1>Standard Button bars
- </H1>
- This is inspired by bjelli's work at
- [<A HREF="http://www.cosy.sbg.ac.at/">COSY</A>] in Austria.
- <P>
- Button bars are a simple navigation tool. They contain pointers to
- useful places, usually pointers back to root nodes of the hierarchy.
- Button bars tend to be useful because they are consistent navigation tools
- within the document. They should remain consistent over a
- broad range of documents, thus helping the user build a mental map.
- <P>
- The two sample icon bars are set up for Stanford CS departement, but
- the gist should be clear enough for you to make your own button bar
- files.
- <P><HR><P>
- <H2>Server-side includes</H2>
- The button bars outlined here depend on server side includes.
- The details on how this are at
- [<A HREF="http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html">HooHoo</A>]
- at NCSA. [You must have the NCSA server or similar which allows server
- side includes]
-
- <H2>The Comment to Include a File</H2>
- To include the file we put a comment in the file that is replaced by
- the contents of the file itself.
- <PRE> <!--#include virtual="/gifs/icons.pcd.inc" -->
- </PRE>
- Of course, the file name would probably be different, and note that the
- included file <em>must</em> be on the same server as the document.
- It's not a good idea to try and include button bars stored on other
- servers. For one thing, it takes too long to load.
- <P>
- Since the <CODE><!--#include ... ></CODE> is a mouthful for users
- to remember to type, it is a good idea to <!-- A HREF="include" -->include<!-- /A -->
- this as part of the standard
- [<A HREF="http://www-pcd.stanford.edu/mogens/intro">template</A>]
- file given to users.
-
-
- <H2>The Included File</H2>
- This is the file that is included. Changing the button bar involves changing
- this file only - the source files remain as they are.
- The site administrator is responsible for maintaining this file.
- <P>
- The <!-- A HREF="../icons.pcd.inc" -->PCD include file<!-- /A --> and
- the <!-- A HREF="./icons.csd.inc" -->CS dept. include file<!-- /A --> can be downloaded.
- <PRE>
- <!-- Include file -->
- <!-- Icon bar for CS dept, PCD group -->
- <A HREF="http://www.stanford.edu/">
- <IMG SRC="../gifs/stanford/seal56" ALT="Stanford"></A>
-
- <A HREF="http://www-cs.stanford.edu/">
- <IMG SRC="../gifs/logo/csd" ALT="CS dept"></A>
-
- <A HREF="http://www-pcd.stanford.edu/">
- <IMG SRC="../gifs/logo/pcd" ALT="PCD grp"></A>
-
- </PRE>
-
-
- <HR>
-
- <!--#include virtual="/gifs/icons.pcd.inc" -->
- <!-- Included here : -->
- <!-- Include file -->
- <!-- Icon bar for CS dept, PCD group -->
- <!-- A HREF="http://www.stanford.edu/" --><IMG SRC="../gifs/stanford/seal56" ALT="Stanford"><!-- /A -->
-
- <!-- A HREF="http://www-cs.stanford.edu/" --><IMG SRC="../gifs/logo/csd" ALT="CS dept"><!-- /A -->
-
- <!-- A HREF="http://www-pcd.stanford.edu/" --><IMG SRC="../gifs/logo/pcd" ALT="PCD grp"><!-- /A -->
- <!-- End of included -->
-
- <HR>
- <ADDRESS>
- Christian Mogensen / mogensen@cs.stanford.edu
- </ADDRESS>
- </BODY>
-