Previous Lesson
Add Course Description
function popupCenter(pageURL, w,h) {var left = (screen.width/2)-(w/2);var top = (screen.height/2)-(h/2);var targetWin = window.open (pageURL, ‘_blank’,’toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=’+w+’, height=’+h+’, top=’+top+’, left=’+left);}function pinIt(){var e = document.createElement(“script”);e.setAttribute(‘type’,’text/javascript’);e.setAttribute(‘charset’,’UTF-8′);e.setAttribute(‘src’,’https://assets.pinterest.com/js/pinmarklet.js?r=’+Math.random()*99999999);
document.body.appendChild(e);}