Jump to content
Search Community

Ray

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Ray

  1. Trying to get TimelineLite to work but receive the following error: ReferenceError: TimelineLite is not defined.  Here's my script:

     

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title></title>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

            <script type="text/javascript" src="../assets_shared/scripts/jQuery/jquery-1.7.2.js"></script>
            <script type="text/javascript" src="../assets_shared/scripts/jQuery/jquery.fancybox-1.3.4.js"></script>
            <script type="text/javascript" src="../assets_shared/scripts/gsap/TimelineLite.min.js"></script>

            <script type='text/javascript'>
            <!--
                // Set all navigation switches to false on page entry
                parent.resetNavSwitch();

                // Set Navigation switch(es) for this page
                parent.bIsMAIPage = true;
                parent.nInteractions = 6;
                parent.sReqClick = 'a,b,c,d,e,f';

    //alert("TimelineLite.version = " + TimelineLite.version);
                var tl = new TimelineLite();

     

    The error triggers on the last line.  I'm using:

     

    /*!
     * VERSION: 1.11.0
     * DATE: 2013-10-21
     * UPDATES AND DOCS AT: http://www.greensock.com
     *
     * @license Copyright © 2008-2013, GreenSock. All rights reserved.
     * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
     * Club GreenSock members, the software agreement that was issued with your membership.
     *
     * @author: Jack Doyle, jack@greensock.com
     */

     

    downloaded this morning.  No 404 errors   Firebug response header shows:

     

    Accept-Ranges bytes Content-Encoding gzip Content-Length 4224 Content-Type application/x-javascript Date Fri, 06 Dec 2013 19:11:18 GMT Etag "0ccd7ee38e6ce1:0" Last-Modified Wed, 20 Nov 2013 21:39:04 GMT Server Microsoft-IIS/7.5 Vary Accept-Encoding X-Powered-By ASP.NET

     

    Any reasons why I'm getting this error?

     

    Thanks, Ray

×
×
  • Create New...