Slideshow in same window

Page: 1

Author Post
Member
Registered: Apr 2009
Posts: 16
Hello together,

first of all a very very big THANK YOU to B.McGregor -
for developing and providing the very nice floatbox! :D

My question:
I'm working on my artist portfolio. The gallery-stuff with image content all works well. Even the hidden divs with additional information - just great!

But now:
I want to create an auto-slideshow on the main page.
It should start when the visitor enters the page -
without clicking on an image or text link.

Is it possible to embed the floatbox directly on a page, without image links?

First I thought about simply setting the background of the floatbox to invisible.
But there might be a better way???

Thanks for any ideas guys...

+ Greetings from Germany.
Administrator
Registered: Aug 2008
Posts: 3382
1. Floatbox items on a page without visible content:
Just don't put anything between the <a> and </a> of your floatbox anchors.

2. Start floatbox automatically on page load:
Put autoStart:true in the rev attribute of the anchor you want to start.

Putting these two together to autoStart a slideshow with no associated visible content on the page gives something like:
<a href="image1.jpg" rel="floatbox-show" rev="doSlideshow:true autoStart:true"></a>
<a href="image2.jpg" rel="floatbox-show"></a>
<a href="image3.jpg" rel="floatbox-show"></a>

If you want the slideshow to start once per session instead of each time the page loads, use autoStart:once.
Member
Registered: Apr 2009
Posts: 16
Well, ok thank you, that works ...

But what I tried to say was: Is it possible to start the slideshow without opening the lightbox "above" the main page content. I was thinking of some kind of "Floatbox stand alone player slideshow" WITHIN the other page content. In other words: Floatbox should be embedded in the content of the page and start on enter page.

Do I need an iframe do get this done ? :?
Administrator
Registered: Aug 2008
Posts: 3382
Ah yes, you need an iframe, and then use framebox.js instead of floatbox.js to keep the slideshow constrained to that iframe instead of the whole page.
Member
Registered: Apr 2009
Posts: 16
Thank you! Very nice - quick and easy to configure.
Floatbox is exceptional good work!

Have to take a look for IE 6-8 ...
but FF on OS X works.

If you ever need a screen test under Mac OS X (10.5) - Firefox and Safari -
send me a link and I'll make some screenshots ....

Page: 1