Doorgaan naar de website
OCLC Support

Header logo external target

 Link See a live example.

 ViewView source code in CONTENTdm Cookbook Demo Site.

This customization was contributed by Karen Schwentner at Pennsylvania State University.

When you click on the logo image in the page header of a CONTENTdm site, the default behavior is to return to the CONTENTdm home page. A common use case is if you want your institution logo in the header to direct end users to your library home page.

Changing the logo click target is straightforward using this simple JavaScript customization. The script is designed to execute on every page of the CONTENTdm site.