<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect3 id="zend.view.helpers.initial.inlinescript">
    <title>InlineScript Helper</title>

    <para>
        The <acronym>HTML</acronym> <emphasis>&lt;script&gt;</emphasis> element is used to either
        provide inline client-side scripting elements or link to a remote resource
        containing client-side scripting code. The <classname>InlineScript</classname>
        helper allows you to manage both. It is derived from <link
            linkend="zend.view.helpers.initial.headscript">HeadScript</link>,
        and any method of that helper is available; however, use the
        <methodname>inlineScript()</methodname> method in place of
        <methodname>headScript()</methodname>.
    </para>

    <note>
        <title>Use InlineScript for HTML Body Scripts</title>

        <para>
            <classname>InlineScript</classname>, should be used when you wish to include
            scripts inline in the <acronym>HTML</acronym> <emphasis>body</emphasis>. Placing scripts
            at the end of your document is a good practice for speeding up delivery of
            your page, particularly when using 3rd party analytics scripts.
        </para>

        <para>
            Some JS libraries need to be included in the <acronym>HTML</acronym>
            <emphasis>head</emphasis>; use <link
                linkend="zend.view.helpers.initial.headscript">HeadScript</link> for those scripts.
        </para>
    </note>
</sect3>
<!--
vim:se ts=4 sw=4 et:
-->
