View Full Version : corbis.com has a slideshow, how did they do it?

06-03-2003, 06:57 PM
corbis (http://www.corbis.com) has a conveyor belt style sideshow that they use on their site, and I have yet to figure out how they did it to fit 100% of the page.

Dynamic Drives conveyor belt system is similiar, yet requires a pixel width in it's variable such as:
var sliderwidth="800px"

Should I:
1) use that script and just make the size extremely large?
2) attempt to use a percentage for the width, if so, will that cause some script problems?

I am not sure If I'm in the right forum here, move me if needed -- thanks everyone!!:thumbsup:

06-03-2003, 07:50 PM
it's a frame


I've done something like this before. Basically - you just animate the DIV, and when an image dissappears from the left, you remove it and add it to the right.

06-03-2003, 08:29 PM
Excellent!! Much simpler indeed -- now I will tweek see how it works. Shouldn't be too hard to have a similiar show frameless...

Thanks again beetle :thumbsup:

06-04-2003, 11:12 AM
On the other hand, generally speaking, you can use the screen.availHeight and screen.availWidth methods to build "liquid" web design, for sizing any element on the page, frames, iframes, tables, whichever..., according to the user's resolution.

screen.availHeight - the height of the screen in pixels minus any GUI stuff such as the windows taskbar
screen.availWidth - the width of the screen in pixels minus any GUI stuff such as the windows taskbar

06-04-2003, 05:39 PM
Would that cause the animation to reloop everytime a screen was resized?

06-05-2003, 10:08 AM
I suppose so, as both functions, the size one and the slide one should be called on onload.

But is it so bad, after all?


06-06-2003, 01:17 AM
Not necessarily -- I was just hoping to avoid more javascript :D