[Jump to Content]
This site will look much better in a browser that supports web standards, but is accessible to any browser or Internet device. Why does this site look bad in Netscape 4?
Information Technology Academic Technologies Computer Services Media Services
University of Washington Tacoma homepage
IT Help
Computer Services brings together skills, knowledge, hardware & software, and commitment to provide a customer centered support service. Remote File Access (RFA) MS Campus Agreement Wireless Local Area Network
Remote File Access (RFA) MS Campus Agreement Wireless Local Area Network
[Content]

Displaying Icons

A variety of graphical symbols (icons) are used to help you identify specialized links on the UWT Web site. In general, links without icons are standard links to other Web pages located on the UWT Web server. The icons below represent exceptions to this general rule, such as downloadable files that open with other software applications, or links to third-party sites outside of UWT control.

Custom Tag: cf_icon

To display a PDF icon in a .cfm page, type this script inline:

<cf_icon type="pdf">

The resulting HTML output is an image tag:

<img src="/graphics/icon12_pdf.gif" 
 alt="Adobe PDF file" 
 width="12" 
 height="12" 
 border="0" 
 />

Extra Attributes

If you need additional formatting in the tag, such as a class or style, use the "extra" attribute. It will add any combination of attributes and values to the resulting image tag. Be sure to use single quotes around attribute values and double pound signs if using hex color codes.

Scripting example:

<cf_icon type="pdf" extra="class='foobar' align='right'">

Resulting HTML output:

<img src="/graphics/icon12_pdf.gif"
 alt="Adobe PDF file"
 width="12" 
 height="12" 
 border="0" 
 class='foobar' 
 align='right'  
 />
Icon Description Type Script
department directory profile Directory: link to department profile dept_profile <cf_icon type="dept_profile">
department Web site Directory: link to department Web site dept_web <cf_icon type="dept_web">
external UW Web site external UW site uw <cf_icon type="uw">
external Web site Non-UW Web site; includes personal sites web <cf_icon type="web">
Internet Explorer file Internet Explorer HTML file ie <cf_icon type="ie">
Adobe PDF file Adobe PDF file pdf <cf_icon type="pdf">
Microsoft Word document Microsoft Word document doc <cf_icon type="doc">
Microsoft Word template Microsoft Word template dot <cf_icon type="dot">
Microsoft Excel spreadsheet Microsoft Excel spreadsheet xls <cf_icon type="xls">
Microsoft PowerPoint presentation Microsoft PowerPoint presentation ppt <cf_icon type="ppt">
zip file zip file zip <cf_icon type="zip">
Windows Media movie Windows Media movie wmv <cf_icon type="wmv">
Windows Media play button Windows Media play button wmvPlay <cf_icon type="wmvPlay">
Quicktime movie Quicktime movie mov <cf_icon type="mov">
Quicktime play button Quicktime play button movPlay <cf_icon type="movPlay">
Shockwave Flash movie Shockwave Flash swf <cf_icon type="swf">
iTunes Podcast file podcast podcast <cf_icon type="podcast">
audio file audio file audio <cf_icon type="audio">
binary file binary file bin <cf_icon type="bin">
text file text file txt <cf_icon type="txt">
folder or index of files folder or index of files folder <cf_icon type="folder">
e-mail link e-mail link email <cf_icon type="email">
secure socket layer (SSL) connection secure socket layer (SSL) connection ssl <cf_icon type="ssl">
help file help file help <cf_icon type="help">
clear 16px spacer clear16 <cf_icon type="clear16">
clear 12px spacer [blank] <cf_icon type="">
clear 12px spacer [NULL] <cf_icon>