<script type=”text/javascript” language=”javascript” src=”https://www.socialnetgate.com/jquery/jquery.js”></script&gt;
<script src=”https://www.socialnetgate.com/jquery/jquery-ui.min.js&#8221; type=”text/javascript”></script>

<script type=”text/javascript” src=”https://www.socialnetgate.com/fancybox/jquery.fancybox-1.3.1.pack.js”></script&gt;
<script type=”text/javascript” src=”https://www.socialnetgate.com/fancybox/jquery.easing-1.3.pack.js”></script&gt;
<script type=”text/javascript” src=”https://www.socialnetgate.com/fancybox/jquery.mousewheel-3.0.2.pack.js”></script&gt;
<link rel=”stylesheet” href=”https://www.socialnetgate.com/fancybox/jquery.fancybox-1.3.1.css&#8221; type=”text/css” media=”screen” />
<script type=”text/javascript” language=”javascript”>

$(document).ready(function() {

$(‘<div style=”display:none;”><a id=”offer” href=”https://www.socialnetgate.com/sng_dynamic_socialwidget.php?wid=67&#8243; style=”cursor:pointer;”>Like</a></div>’).appendTo(‘body’);
    
    $(“#offer”).fancybox({
                ‘width’                : ‘70%’,
                ‘height’            : ‘90%’,
                ‘autoScale’            : false,
                ‘transitionIn’        : ‘none’,
                ‘transitionOut’        : ‘none’,
                ‘type’                : ‘iframe’
    });
var chkurl = ‘https://www.socialnetgate.com/sng_dynamic_socialwidget_status.php?act=status&wid=67&#8217;;
$.ajax({
  dataType: ‘jsonp’,
  jsonp: ‘jsonp_callback’,
  url: chkurl,
  success: function (data) {
if(data[0]==’Active’){
                    $(“#offer”).trigger(‘click’);

                    }
  },
});

        

});

</script>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: