Log in

View Full Version : About the Step Carousel script



Gaugericus
08-07-2009, 02:40 PM
1) Script Title: Step Carousel

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm

3) Describe problem:
I am new with Java Scripts.Sorry about that...
I want to use the Carousel Viewer v1.6.1 script but without the nav arrows. Just a non stop slide show.
Does anyone know how to make the slide show runs continously and start again from the beginning after the last picture?
Thank you for your help.

G.

shaimaik
08-07-2009, 03:07 PM
Script is adjusted to start again automatic so no worries there, you just need to find where you will host your .js file (that was my issue :) )

About nav arrows you just delete that part of script example :
{enable: true, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]

Gaugericus
08-07-2009, 03:40 PM
Thank you shaimaik

I have already fixed all that. My problem is that after the last picture and before the slide show start again from the first one there is a little white space then we can see all the pictures for a 10th of a second. I would like the first picture to appear smoothly right after the last one without anything else. Is it possible ?

Is there a fonction to add in the script something like rewind or so ?

ddadmin
08-07-2009, 09:14 PM
There's no easy way at the moment to modify Carousel Viewer so the panels are shown in a continuous manner (from the last one back to the 1st one). For that, you can look at Image Crawler (http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm).

Gaugericus
08-08-2009, 04:36 PM
The script works fine but,

I am wondering if would be possible to change the way the script rotate to the first panel after the last one. Wouldn't be possible to be more direct whithout the (&*$!%@#) after the last panel ??

See here : http://gaugericus.free.fr

Thank you very much.

ddadmin
08-08-2009, 07:25 PM
Please see my last response.

Gaugericus
08-09-2009, 03:29 PM
Is there a means to associate the scripts Step Carousel Viewer v1.6.1 and Image Crawler?

Can they work together?

Gaugericus
08-10-2009, 02:04 PM
My question was to be stupid, is'nt it?
Thank you for the non-answer.

ddadmin
08-10-2009, 08:46 PM
It's definitely not stupid. It's just that I've already answered it:


There's no easy way at the moment to modify Carousel Viewer so the panels are shown in a continuous manner (from the last one back to the 1st one).

What you then asked is essentially the same thing as your original question:


Is there a means to associate the scripts Step Carousel Viewer v1.6.1 and Image Crawler?

Gaugericus
08-11-2009, 09:10 AM
Thank you very much !

I opted for the Step Carousel Script for certain pages and the Crawler Script for another one and finally all the codes are validated :-)

Thank you again for your help !

A new fan of the scripts of Dynamic Drive !

ROBERN
09-19-2009, 01:54 PM
I have a doubt on stepcarousel
The parameter for the reference to leftnav/rightnav is to be provided with full url

like:

leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]

Is there any way to link to the image without providing the complete url ?

like: ./image/317e0s5.gif

ddadmin
09-20-2009, 08:15 AM
Robern, in the future please start a new thread when asking your own question. Regarding it, sure, though if you specify a relative path to the images inside the .js file, the base URL added to the beginning of the path changes depending on the path of each page containing the Step Carousel script.

For example:

1) If page1's URL is http://mysite.com/dir1/page1.htm, the path to the image becomes http://mysite.com/dir1/image/317e0s5.gif

2) If page3's URL is http://mysite.com/stuff/page2.htm, the path to the image becomes http://mysite.com/stuff/image/317e0s5.gif

In other words, unless all your pages that use Step Carousel Viewer are in the same folder, specifying a relative path to the image is not practical, since you'd have to ensure the image is present in each of these directories.