after 4 days it just doesn't work.

5 messages Options
Embed this post
Permalink
Max71

after 4 days it just doesn't work.

Reply Threaded More More options
Print post
Permalink
Hi there, as the tilte suggest, I've desperately tried for 4 days to run this excellent app but the result is: no result.
I've read almost all the answers and I think I made all the steps I had to made but there's something i surely miss. when clicking on an image, the image opens in another window and SB doesn't start.
This is my html code:


<link rel="stylesheet" type="text/css" href="css/vampiryatattoo.css"/>
<!--lightbox-->
<script type="text/javascript" src="shadowbox-build-3.0b/adapters/shadowbox-base.js"></script>
<script type="text/javascript" src="shadowbox-build-3.0b/shadowbox.js"></script>
<script type="text/javascript">

Shadowbox.loadSkin('classic', 'src/skin');
Shadowbox.loadLanguage('en', 'src/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'src/player');

window.onload = function(){

    Shadowbox.init();

    /**
     * Note: The following function call is not necessary in your own project.
     * It is only used here to set up the demonstrations on this page.
     */
    initDemos();

};

</script>


</head>

<body>

<div id="immagini">
a rel="shadowbox[Cinzia]" href="immagini/fotocinzia/001.jpg" class="option"
        img src="immagini/cinziapiccole/001.gif" class="imgcol">
        </div>      

I omitted the <>
Is there someone that could help me? this thing is driving me insane!
Sorry for my bad english, thanks a lot to everyone.
cheers from Italy.
Wizzud

Re: after 4 days it just doesn't work.

Reply Threaded More More options
Print post
Permalink
Reduce your script to just...
<script type="text/javascript">
Shadowbox.init({players:['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp']}); // <= loads ALL players
</script>
Combine literacy with curiosity and a whole world of information opens up to you
matzvi

Re: after 4 days it just doesn't work.

Reply Threaded More More options
Print post
Permalink
Thank you for your answer. I did what you suggested but it's still not working...to be precise the only change I've noticed, is the SB counter on the preview page in firefox but no images.
Anyway, I'll try to work on this little progress to arrange things.
Wizzud

Re: after 4 days it just doesn't work.

Reply Threaded More More options
Print post
Permalink
I should also have said take out the shadowbox-base.js include as well.
What does your page code now look like?
Combine literacy with curiosity and a whole world of information opens up to you
matzvi

Re: after 4 days it just doesn't work.

Reply Threaded More More options
Print post
Permalink
Eureka! Now it works....almost :)
SB opens the photos but I cannot see the "next/previous/close" icons; I mean that if I put the mouse on the proper position the work but I can't see the icons.
here's the code:

<script type="text/javascript" src="shadowbox-build-3.0b/shadowbox.js"></script>
<script type="text/javascript">

Shadowbox.init({players:['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp']});
</script>
.......
a rel="shadowbox[Cinzia]" href="immagini/fotocinzia/001.jpg" class="option"
        img src="immagini/cinziapiccole/001.gif" class="imgcol"