showing iframe on a click of a anchor tag or an image
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="colorbox/jquery.colorbox.js"></script>
<link rel="stylesheet" href="colorbox.css"/>
<script>
$(function ()
{
$(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
})
</script>
<a class='example6' href="http://google.com">Outside Webpage (Iframe)</a>
<script src="colorbox/jquery.colorbox.js"></script>
<link rel="stylesheet" href="colorbox.css"/>
<script>
$(function ()
{
$(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
})
</script>
<a class='example6' href="http://google.com">Outside Webpage (Iframe)</a>
Comments
Post a Comment