Topics Map > Settings Tab

KB User's Guide - Settings Tab - Site Javascript

NoteInformation symbol

You must have full administrative permissions in your space to perform these steps. This means access to the Documents, Settings, and Users tabs.

While a common Javascript applies across all KB subsites, the Javascript screen allows each KB site to apply/remove Javascript to their internal and/or external sites.
  1.  The JavaScript link can be found in the left navigation bar of the "Settings" tab.

  2. Once you click the JavaScript link, you will be led to the Javascript screen where you will see three expandable panels, each with text entry fields:

    • Javascript for Internal Site
    • Javascript for External Site
    • Javascript for KB Admin Site

  3. Click your cursor into one of the JavaScript text fields.

    Please know that when you are creating or modifying your script, opening and closing script tags (<script>...</script>) do not need to be included as the KB system automatically inserts these tags when the Javascript is loaded.

    • You may enter Javascript into Javascript for Internal Site and/or Javascript for External Site. Scripts can be applied to one site or both internal and external.

      This way, your KB Group does not have to worry about including JavaScript in every document where it will be used. Nor will the UW KB Team have to necessarily incorporate JavaScript globally, when it may only be desired on one KB site.

    • By entering Javascript into the Javascript for the KB Admin Tools field, you allow your subsite to replicate any JavaScript functionality when previewing documents.

    • Click on the Update button at the bottom of the page to save your changes. 


    Keywordsjs scripts tags load loading loaded header footer   Doc ID5341
    OwnerLeah S.GroupKB User's Guide
    Created2007-01-29 19:00:00Updated2023-06-01 16:19:16
    SitesKB User's Guide
    Feedback  0   0