I've just change your fancybox code in order to implement a new functionality : A slideshow (button) command with interval option. It´s a very simpe modification and with this option, you can open an fancybox with automatic slideshow - new option: {'interval:'1000} The 'modified jquery.fancybox' zip file contain a "ready to test" html code... (! I've change directories names !)
This start a slide show with all 'rel=example_group' images with a 3s interval (if interval = 0 ==> no slideshow) Option "cyclic" is automaticaly set on 'true';
You can set the CSS 'diplay' option to 'none' if you wat to hide all images (except the first one). <a rel="example_group" href="./example/9_b.jpg" title="Lorem ipsum dolor sit amet"><img alt="" src="./example/9_s.jpg" /></a> <a rel="example_group" href="./example/10_b.jpg" title="Lorem ipsum dolor sit amet" style="display:none" ><img alt="" src="./example/10_s.jpg" /></a> <a rel="example_group" href="./example/11_b.jpg" title="" style="display:none" ><img alt="" src="./example/11_s.jpg" /></a> <a rel="example_group" href="./example/12_b.jpg" title="Lorem ipsum dolor sit amet" style="display:none" ><img class="last" alt="" src="./example/12_s.jpg" /></a>
*IMAGES*
No image modification, only 2 more icons. - fancy_play.png - fancy_pause.png
> I've just change your fancybox code in order to implement a
> new functionality : A slideshow (button) command with interval option.
> It´s a very simpe modification and with this option, you can open an
> fancybox with automatic slideshow - new option: {'interval:'1000}
> The 'modified jquery.fancybox' zip file contain a "ready to test" html
> code... (! I've change directories names !)
> This start a slide show with all 'rel=example_group' images with a 3s
> interval (if interval = 0 ==> no slideshow)
> Option "cyclic" is automaticaly set on 'true';
> You can set the CSS 'diplay' option to 'none' if you wat to hide all images
> (except the first one).
> <a rel="example_group" href="./example/9_b.jpg" title="Lorem ipsum dolor sit
> amet"><img alt="" src="./example/9_s.jpg" /></a>
> <a rel="example_group" href="./example/10_b.jpg" title="Lorem ipsum dolor
> sit amet" style="display:none" ><img alt="" src="./example/10_s.jpg" /></a>
> <a rel="example_group" href="./example/11_b.jpg" title=""
> style="display:none" ><img alt="" src="./example/11_s.jpg" /></a>
> <a rel="example_group" href="./example/12_b.jpg" title="Lorem ipsum dolor
> sit amet" style="display:none" ><img class="last" alt=""
> src="./example/12_s.jpg" /></a>
> *IMAGES*
> No image modification, only 2 more icons.
> - fancy_play.png
> - fancy_pause.png
> On May 13, 11:40 am, Eric TABBONE <eaonobra...@gmail.com> wrote:
> > Hie!
> > I've just change your fancybox code in order to implement a
> > new functionality : A slideshow (button) command with interval option.
> > It´s a very simpe modification and with this option, you can open an
> > fancybox with automatic slideshow - new option: {'interval:'1000}
> > The 'modified jquery.fancybox' zip file contain a "ready to test" html
> > code... (! I've change directories names !)
> > This start a slide show with all 'rel=example_group' images with a 3s
> > interval (if interval = 0 ==> no slideshow)
> > Option "cyclic" is automaticaly set on 'true';
> > You can set the CSS 'diplay' option to 'none' if you wat to hide all images
> > (except the first one).
> > <a rel="example_group" href="./example/9_b.jpg" title="Lorem ipsum dolor sit
> > amet"><img alt="" src="./example/9_s.jpg" /></a>
> > <a rel="example_group" href="./example/10_b.jpg" title="Lorem ipsum dolor
> > sit amet" style="display:none" ><img alt="" src="./example/10_s.jpg" /></a>
> > <a rel="example_group" href="./example/11_b.jpg" title=""
> > style="display:none" ><img alt="" src="./example/11_s.jpg" /></a>
> > <a rel="example_group" href="./example/12_b.jpg" title="Lorem ipsum dolor
> > sit amet" style="display:none" ><img class="last" alt=""
> > src="./example/12_s.jpg" /></a>
> > *IMAGES*
> > No image modification, only 2 more icons.
> > - fancy_play.png
> > - fancy_pause.png
> On May 13, 3:48 pm, JFK <jfk.d...@gmail.com> wrote:
> > it would be nice if you post a working example
> > On May 13, 11:40 am, Eric TABBONE <eaonobra...@gmail.com> wrote:
> > > Hie!
> > > I've just change your fancybox code in order to implement a
> > > new functionality : A slideshow (button) command with interval option.
> > > It´s a very simpe modification and with this option, you can open an
> > > fancybox with automatic slideshow - new option: {'interval:'1000}
> > > The 'modified jquery.fancybox' zip file contain a "ready to test" html
> > > code... (! I've change directories names !)
> > > This start a slide show with all 'rel=example_group' images with a 3s
> > > interval (if interval = 0 ==> no slideshow)
> > > Option "cyclic" is automaticaly set on 'true';
> > > You can set the CSS 'diplay' option to 'none' if you wat to hide all images
> > > (except the first one).
> > > <a rel="example_group" href="./example/9_b.jpg" title="Lorem ipsum dolor sit
> > > amet"><img alt="" src="./example/9_s.jpg" /></a>
> > > <a rel="example_group" href="./example/10_b.jpg" title="Lorem ipsum dolor
> > > sit amet" style="display:none" ><img alt="" src="./example/10_s.jpg" /></a>
> > > <a rel="example_group" href="./example/11_b.jpg" title=""
> > > style="display:none" ><img alt="" src="./example/11_s.jpg" /></a>
> > > <a rel="example_group" href="./example/12_b.jpg" title="Lorem ipsum dolor
> > > sit amet" style="display:none" ><img class="last" alt=""
> > > src="./example/12_s.jpg" /></a>
> > > *IMAGES*
> > > No image modification, only 2 more icons.
> > > - fancy_play.png
> > > - fancy_pause.png
> On May 13, 3:48 pm, JFK <jfk.d...@gmail.com> wrote:
> > it would be nice if you post a working example
> > On May 13, 11:40 am, Eric TABBONE <eaonobra...@gmail.com> wrote:
> > > Hie!
> > > I've just change your fancybox code in order to implement a
> > > new functionality : A slideshow (button) command with interval option.
> > > It´s a very simpe modification and with this option, you can open an
> > > fancybox with automatic slideshow - new option: {'interval:'1000}
> > > The 'modified jquery.fancybox' zip file contain a "ready to test" html
> > > code... (! I've change directories names !)
> > > This start a slide show with all 'rel=example_group' images with a 3s
> > > interval (if interval = 0 ==> no slideshow)
> > > Option "cyclic" is automaticaly set on 'true';
> > > You can set the CSS 'diplay' option to 'none' if you wat to hide all images
> > > (except the first one).
> > > <a rel="example_group" href="./example/9_b.jpg" title="Lorem ipsum dolor sit
> > > amet"><img alt="" src="./example/9_s.jpg" /></a>
> > > <a rel="example_group" href="./example/10_b.jpg" title="Lorem ipsum dolor
> > > sit amet" style="display:none" ><img alt="" src="./example/10_s.jpg" /></a>
> > > <a rel="example_group" href="./example/11_b.jpg" title=""
> > > style="display:none" ><img alt="" src="./example/11_s.jpg" /></a>
> > > <a rel="example_group" href="./example/12_b.jpg" title="Lorem ipsum dolor
> > > sit amet" style="display:none" ><img class="last" alt=""
> > > src="./example/12_s.jpg" /></a>
> > > *IMAGES*
> > > No image modification, only 2 more icons.
> > > - fancy_play.png
> > > - fancy_pause.png
Like this, when you stop the slideshow and close the fancybox, when you open it again, it will restart the slideshow. The "cleanInterval" is needed if you have multi fancybox slideshow or if you re-open a slideshow.
If you want the slideshow icon on a modal window, you must change the _start function by deleting the "electedOpts.interval = 0;" line
> On May 13, 3:48 pm, JFK <jfk.d...@gmail.com> wrote: > > it would be nice if you post a working example
> > On May 13, 11:40 am, Eric TABBONE <eaonobra...@gmail.com> wrote:
> > > Hie!
> > > I've just change your fancybox code in order to implement a > > > new functionality : A slideshow (button) command with interval option. > > > It´s a very simpe modification and with this option, you can open an > > > fancybox with automatic slideshow - new option: {'interval:'1000} > > > The 'modified jquery.fancybox' zip file contain a "ready to test" html > > > code... (! I've change directories names !)
> > > This start a slide show with all 'rel=example_group' images with a 3s > > > interval (if interval = 0 ==> no slideshow) > > > Option "cyclic" is automaticaly set on 'true';
> > > You can set the CSS 'diplay' option to 'none' if you wat to hide all > images > > > (except the first one). > > > <a rel="example_group" href="./example/9_b.jpg" title="Lorem ipsum > dolor sit > > > amet"><img alt="" src="./example/9_s.jpg" /></a> > > > <a rel="example_group" href="./example/10_b.jpg" title="Lorem ipsum > dolor > > > sit amet" style="display:none" ><img alt="" src="./example/10_s.jpg" > /></a> > > > <a rel="example_group" href="./example/11_b.jpg" title="" > > > style="display:none" ><img alt="" src="./example/11_s.jpg" /></a> > > > <a rel="example_group" href="./example/12_b.jpg" title="Lorem ipsum > dolor > > > sit amet" style="display:none" ><img class="last" alt="" > > > src="./example/12_s.jpg" /></a>
> > > *IMAGES*
> > > No image modification, only 2 more icons. > > > - fancy_play.png > > > - fancy_pause.png
> -- > You received this message because you are subscribed to the Google Groups > "fancybox" group. > To post to this group, send email to fancybox@googlegroups.com. > To unsubscribe from this group, send email to > fancybox+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/fancybox?hl=en.