Hi!
I hope someone reads tis after all this time...
I was having problem with videobox and lightbox so I went with Fancybox...
Now the galleries (I have one gallery of images and one of videos) are working but the video gallery doesn't open the videos but a blank page in the box.
Here I'm posting the code to see if someone could help me because I'm dwelling with this for three days now.
Jquery code:
Code:
<link rel="stylesheet" type="text/css" media="screen" href="jquery.fancybox.css" />
<script type="text/javascript" language="javascript" src="jquery.js"></script>
<script type="text/javascript" language="javascript" src="jquery.fancybox.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".various").fancybox({
maxWidth : 800,
maxHeight : 600,
fitToView : false,
width : '70%',
height : '70%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none'
});
});
</script>
<script type="text/javascript" language="javascript">
$(document).ready(function(){
$('.fancybox').fancybox();
});
</script>
and how i'm refering to it:
Code:
<a class="various fancybox.iframe" href="<src="http://www.youtube.com/embed/WQNQU_EQy6I?rel=0" title="I'm floating"><img src="photos/floatings.png"></a>
Thanks for the help!
Bookmarks