Which code is for auto share dialog box without pop up on Facebook?

Witotheartift

New Member
here is example of my fan gate script for fan page on facebook... So, when someone come to my fan page and when he like page after 7 seconds shows the dialog box for share like a pop up... Question for u is which code is for shows share dialog box without pop up? Thanks a lot and sorry for bad english :/ \[code\]<script type="text/javascript">onload=function() {izbacisharepopup();}</script><script type="text/javascript">function hadis(){popup('http://www.facebook.com/sharer/sharer.php?u=http://www.facebook.com/epicentar.ba/app_314270325300072')}function izbacisharepopup() {setTimeout(hadis, 7000);}</script><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script><img src="http://stackoverflow.com/questions/10536071/logo1.jpg" width="810" height="520" alt="Welcome" /><br /><div class="content"><a name="fb_share" type="button" share_url="http://www.facebook.com/epicentar.ba">Podijeli Stranicu</a> </div><script type="text/javascript"><!--function popup(url) { var width = 650; var height = 550; var left = (screen.width - width)/2; var top = (screen.height - height)/2; var params = 'width='+width+', height='+height; params += ', top='+top+', left='+left; params += ', directories=no'; params += ', location=no'; params += ', menubar=no'; params += ', resizable=no'; params += ', scrollbars=no'; params += ', status=no'; params += ', toolbar=no'; newwin=window.open(url,'windowname5', params); if (window.focus) {newwin.focus()} return false; } // --> </script>\[/code\]
 
Back
Top