jQuery fancybox iframe syntax

<head>

<script type=”text/javascript” src=”js/jquery.js”></script>
<script type=”text/javascript” src=”js/jquery.fancybox.1.2.1.js”></script>
<link type=”text/css” href=”css/fancybox.css” rel=”stylesheet” media=”screen” />

<script>

$(document).ready(function() {
$(“a#iframe”).fancybox({
‘speedIn’ : 600,
‘speedOut’ : 200,
‘padding’ : 20,
‘overlayOpacity’: 0.7,
‘overlayColor’ : ‘#FFF’,
‘titleShow’ : false,
});
});

</script>

</head>

<body>

<a id=”iframe” href=”The_Power_of_Meditation_Tracks.html”>View Tracks &raquo;</a><br />

</body>

Comments are closed.