decorative banner

Benefits of using external


    JavaScript libraries

    Apart from streamlining the code in your pages, this library offers two advantages:

    • It remedies a problem associated with the structure of dynamic GoLive components: GoLive invariably places common code for DHTML items and actions in the head section of a page. While this structure works well with "straight" pages, problems could occur in earlier versions when a dynamic component contained DHTML items and scripted actions. As the browser loads only the body section of a dynamic component, it ignores any script code contained in the head section. This problem can be solved by using the external JavaScript library, making JavaScript code in dynamic components work as expected.
    • The browser caches the JavaScript library file and less code is written into every page, making the pages load faster.