Now, I'll write tutorial about how to apply this plugin.
First, you need to enclose jQuery and this plugin to your page :
And then the jQuery script<script src="jquery.1.4.4.min.js"></script> <script src="facebox.js"></script>
<script language="javascript"> $(document).ready(function() { $.facebox.settings.opacity = 0.5; $('a[rel*=facebox]').facebox(); $.facebox('This message will pop-up when the page loaded'); }); </script>
Put all this code in the HTML <head> tag.
Done. Have a try!
Visit the official site for more info.
Write by Arafa Daming