Geeks With Blogs
Developers Friendly

I would like to provide a sample example of how to use JQuery fancy-box, to provide a rich look and feel to website.



In below example you have to update path to point JQuery link.

<title>Fancy-Box Sample</title>
<script src="../../javascript/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="../../javascript/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
<script type="text/javascript" src=""></script>
<script src="../../javascript/jquery.fancybox-1.3.4.js" type="text/javascript"></script>

<script language="javascript" type="text/javascript">
$(document).ready(function () {
            type: 'iframe',
            maxWidth: 800,
            maxHeight: 600,
            fitToView: false,
            width: '85%',
            height: '85%',
            autoSize: false,
            closeClick: false,
            openEffect: 'none',
            closeEffect: 'none'
    <div><a class="frame" href="">Facebook</a></div>
    <div><a class="frame" href="">Youtube</a></div>



Posted on Sunday, June 9, 2013 12:25 AM jQuery | Back to top

Comments on this post: jQuery Fancy-Box Sample

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Manjunath K | Powered by: