SSU Web Standards - Scripts

This site is still in development. Some content is not yet posted, some may be changed at a later date.

jQuery Library

Many of the scripts in SSU's templates use jQuery, a JavaScript library.

SSU has the current and a few past releases of jQuery. Below are the versions available and the HTML code used to link to these scripts.

  • jQuery 1.7.1 min
    <script src="/js/jquery-1.7.1.js" type="text/javascript"></script>
  • jQuery 1.5.2 min
    <script src="/js/jquery-1.5.2.js" type="text/javascript"></script>
  • jQuery 1.3.2 min
    <script src="/js/jquery-1.3.2.js" type="text/javascript"></script>

Global scripts

These scripts using jQuery are already on the campus web server and available for use with the SSU templates. Follow links for documentation.

  • Tables Stripes
    <script src="/js/jquery-tablestripes.js" type="text/javascript"></script>
  • Fancy Box
    <script src="/js/jquery-fancybox.js" type="text/javascript"></script>
  • Galleria & Galleria Classic Theme
    <script src="/js/jquery-galleria.js" type="text/javascript"></script>
    <script src="/js/jquery-galleria-theme.js" type="text/javascript"></script>
  • Mousewheel (provides additional functionality to Fancy Box)
    <script src="/js/jquery-mousewheel.js" type="text/javascript"></script>
  • Nivo Slider
    <script src="/js/nivo-slider.js" type="text/javascript"></script>
  • Thumbs
    <script src="/js/jquery-thumbs.js" type="text/javascript"></script>

Google Analytics

The University uses Google Analytics to track website use. The SSU templates include a link to the University's Google Analytics account for www.sonoma.edu. This script is the last line before the closing </head> tag.

<script src="/js/jquery-1.7.1.js" type="text/javascript"></script>

Department web editors must not remove the Google Analytics script from the template pages.

Departments may have access to Google Analytics data, and they may have access to their own dedicated Google Analytics reports. Contact webmaster@sonoma.edu to request this.

Department Scripts

Department web editors may add their own scripts to department sites, with the following caveats.

Contact webmaster@sonoma.edu if you have questions about these requirements.