SKIPPING

classic Classic list List threaded Threaded
12 messages Options
AS
Reply | Threaded
Open this post in threaded view
|

SKIPPING

AS
There are no instructions regarding how to implement the skipping / continuous gallery feature.  There's a list of code terms (continuous, counter limit, etc) but no one bothered mentioning how / where to use them.

I have a gallery of 40 thumbnails, each linking to its corresponding image using the standard method.  What's next?
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

manfer
If you want all your galleries to have those characteristics then you can add the following script in head of your html document:
<script type="text/javascript">
Shadowbox.init({
  counterType: "skip",
  counterLimit: 5,
  continuous: true
});
</script>
AS
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

AS
Doing that, makes the shadowbox useless, and causes the browser to link directly to the image.
AS
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

AS
aka, that doesn't work.
AS
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

AS
Is there something I need to do to the individual links?
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

manfer
I don't know what you exactly are doing and how that code is breaking shadowbox for you. Here is a complete example that works inside the shadowbox folder:


<pre>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="shadowbox.css">
  <script type="text/javascript" src="shadowbox.js"></script>  <script type="text/javascript"> Shadowbox.init({ counterType: "skip", counterLimit: 3, continuous: true }); </script></head>
<body bgcolor="#000">
<a href="previous.png" class="Gallery" rel="shadowbox[1]; width=200; height=200"><img src="previous.png" /></a>
<a href="pause.png" class="Gallery" rel="shadowbox[1]; width=200; height=200"><img src="pause.png" /></a>
<a href="next.png" class="Gallery" rel="shadowbox[1]; width=200; height=200"><img src="next.png" /></a>
<a href="close.png" class="Gallery" rel="shadowbox[1]; width=200; height=200"><img src="close.png" /></a>
</body>
</html>
</pre>
AS
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

AS
Are you able to upload a live example?
AS
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

AS
Please upload a live example
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

manfer
Here is an online gallery with source code:
http://www.manfersite.tk/shadowboxtest/shadowboxTest.html
AS
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

AS
Hey thanks man, can you leave it online for tonight?
AS
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

AS
THANK YOU!!!

what I was missing, was [gallery].  Wish that had been included in the instructions - as it was a real pain in the ass finding out something so simple.
Reply | Threaded
Open this post in threaded view
|

Re: SKIPPING

I'm too lazy to read...
did you even read the usage instructions: http://shadowbox-js.com/usage.html before coming on the forums and demanding that people upload examples for you?  Fair enough, not all the Shadowbox documentation is perfect but setting up a gallery is pretty well documented.  While you're at it you might want to take a look at the posting guidelines for the forum: http://shadowbox-js.1309102.n2.nabble.com/Posting-Guidelines-td1650574.html and bear them in mind next time you've got a problem.  It's ignorant people like yourself that can't be bothered to read the instructions and can't even be bothered to post a decent description of their issue that are the pain in the ass.