Social Popup Plugin
<p>I'm trying create something so that when the user gets to the end of the page they get a div popup.</p>

<p>For some reason it's working in Internet Explorer but in Chrome it doesnt. I'm thinking because the top() element:</p>

<pre><code>&lt;span id="myPara"&gt;&lt;/span&gt;
&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
    $(window).scroll(function() {
        if ($('#myPara').offset().top &lt; $(this).height() + $(this).scrollTop()) {
            $('#msgBox').show();
            $('#msgBox').animate({top:$(window).scrollTop()+"px" },{queue: false, duration: 350});
            } else {
            $('#msgBox').hide();
            }
        });
&lt;/script&gt;
</code></pre>

<p>can someone tell me how to fix it?</p>
