Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2011
    Posts
    34
    Thanks
    7
    Thanked 0 Times in 0 Posts

    html 5 problem. cache.manifest and jquery

    Hello,

    I have this site (test.tamarawobben.nl)
    The problem is this :

    Code:
    GET https://apis.google.com/js/plusone.js  nl-NL.html:62
    Uncaught ReferenceError: TT is not defined nl-NL.html:878
    GET http://test.tamarawobben.nl/www.20thingsilearned.com/js/thirdparty/jquery.1.4.2.min.js  nl-NL.html:62
    GET http://www.google-analytics.com/ga.js
    So when the manifest is being read the intializing is begun before the jquery is being loaded.

    So my question is : how can I take care that first all the files are being read and then the initialing is done.

    Here the html part :
    Code:
    </footer>
    		
       <script type="text/javascript" src="https://apis.google.com/js/plusone.js" ></script>
    					
    			<script type="text/javascript" src="/www.20thingsilearned.com/js/thirdparty/jquery.1.4.2.min.js"></script>
          <script type="text/javascript">
      			TT.initialize();
      		</script>
    	
    		
    					
    		
    	</body>
    Roelof

  • #2
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    This is not an html problem whatsoever, this is a javascript question.

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #3
    New Coder
    Join Date
    Dec 2011
    Posts
    34
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Im do not totally agree with you.

    As far as I know manifest.cache is a part of html5.
    And for me it looks my problems come from a wrong order of a wrong cache.manifest instead of a javascript problem.

    Roelof
    Last edited by roelof; 07-05-2013 at 08:26 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •