Need Help with simple popup
Hey guys, I'm new to the site, and very unfamiliar with JS. I'm pretty familiar with PHP and HTML...but js is just out of my realm.
I'm trying to create a site where I have a facebook plugin script running. I don't want it to be static to the page, I'd rather have it be a popup box upon entering - Similar to what daylong.com does. The popup only occurs if you come from facebook, and not when you type the addy in manually but I'm not that concerned about that for my site. I simply want the box to float or popup on page load, then have a small X on the top right corner to close it out.
The code I would I need in the popup box looks like this:
I'm not sure how much coding would be required. If it's too much to ask for someone to do a quick code example, could you at least point me in the direction I need to go to learn it for myself?
<div class="fb-like-box" data-href="http://www.facebook.com/theshizwefind" data-width="400" data-height="250" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false"></div>
Thanks in advance,