Open new window on center of screen with this javascript?
My experience with javascript is extraordinarily limited. I would like to have the new window open up in the center of the screen. <script type="text/javascript"> function fbs_click() { var twtTitle = document.title; var twtUrl = location.href; var maxLength = 140 - (twtUrl.length + 1); if (twtTitle.length > maxLength) { twtTitle = twtTitle.substr(0, (maxLength - 3)) + '...'; } var twtLink = 'http://twitter.com/home?status=' + encodeURIComponent(twtTitle + ' ' + twtUrl); window.open(twtLink,'','width=300,height=300'); } </script> If somebody can please update my code to accomplish a popup