Hi,
I would like to know if there is a way to prevent twitters widget.js from parsing the entire document on page load. The reason is because I only want to load the widgets at certain points on the page when they are required.
<script id="twitter" charset="utf-8">
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>
At the moment it automatically loads all widgets on the page when i include this script. How can I prevent this?
Thanks