Hi, I use Shadowbox for images and videos, i ve no troubles, but i dont understand how to do a gallery, if you can help me please. I how you :
HTML
<script type="text/javascript" src="shadowbox/jquery.js"></script>
<script type="text/javascript" src="shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
skipSetup: false,
animSequence: 'wh',
animate: true,
fadeDuration: 0.5,
initialHeight: 800,
initialWidth :800,
overlayOpacity: 0.0,
showOverlay:true,
overlayColor:"#565656",
troubleElements: ["select", "object", "embed", "canvas"],
autoplayMovies: true
});
</script>
<script type="text/javascript">
function openShadowbox(content, player, title, height, width){
Shadowbox.open({
content: content,
player: player,
title: title,
height: height,
width: width
});
}
</script>
and XML
onclick="js(openShadowbox(http://www.test.com/gallery/media/test.jpg, flv, gallery,600, 800));"
I saw the shadowbox documentation but i dont understand [] for the gallery. Must i do unique folder for my gallery ? How can i Call this folder in my xml...
please please thx ;)