Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 1st Dec 2015, 03:46 PM   #1
Warrior Member
 
Join Date: 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Help with defer parsing script.
Share on: 
fb share twitter share gplus share more share

What do I replace with "defer.js" in the script below?
I have test page if you want to look at http://www.envisionlandscaping.com/t...k_fencing.html
Thank you



<script type="text/javascript">
function downloadJSAtOnload() {
var element = document.createElement("script");
element.src = "defer.js";
document.body.appendChild(element);
}

if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>
thienvo is offline  
Closed Thread


Bookmarks

Tags
defer, parsing, script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:40 PM.