Scholars Copyright Integration

From Creative Commons
Revision as of 15:01, 22 March 2007 by Nathan Yergler (talk | contribs)
Jump to: navigation, search

This document describes integrating the Scholars Copyright Addendum Generator into your website. For general information on the Scholars Copyright project, see the project page at Science Commons.

Basic Integration

The generator can be integrated with your site using a link or an <iframe> tag. For example:

  <iframe src="" />

The value supplied for partner_id should be a short, descriptive name for your site. For example, Big Example University might supply partner_id=example_u.

Styling the Generator

In addition to the partner_id, you may also supply an optional stylesheet URL. For example:

  <iframe src="" />

Valid style classes/ids include:

  • .logo This class is used to style the header; you can insert your own header image by providing it as the background.
  • #content The content div surrounds the entire selector; you can use this to set sizing, etc.
  • body Style the body tag to set the background color, etc.

Note that if no stylesheet is specified, only the basic styling will be applied.