WEBVTT 00:00:07.260 --> 00:00:11.070 Now let's add more items to our carousels later. 00:00:11.160 --> 00:00:17.440 So for every item we add to the co-CEOs later we're going to need to add a carrousel indicator. 00:00:17.790 --> 00:00:21.500 So it's also I'm going to be adding five items. 00:00:21.630 --> 00:00:25.500 So we're going to need five more indicators. 00:00:25.780 --> 00:00:31.640 OK. 00:00:33.930 --> 00:00:40.680 So let's change the data slide to us beaute referring to the index of our items 00:00:43.780 --> 00:00:47.140 . 00:00:47.380 --> 00:00:51.250 And now these are all items. 00:00:51.590 --> 00:00:53.760 So I'm just going to duplicate this 00:00:57.060 --> 00:01:01.890 and change elements inside it. 00:01:01.980 --> 00:01:18.270 So the second the third item is going to be using the stars image and the text is going to be this one 00:01:18.320 --> 00:01:18.760 . 00:01:18.800 --> 00:01:19.710 Let's just copy it 00:01:19.740 --> 00:01:25.770 . 00:01:31.410 --> 00:01:33.660 OK. 00:01:33.690 --> 00:01:35.250 And then the next item 00:01:43.050 --> 00:01:52.470 is going to be OK so the picture is going to be projects and I'm going to use this 00:01:59.980 --> 00:02:00.550 text. 00:02:00.570 --> 00:02:00.930 OK 00:02:01.070 --> 00:02:08.120 . 00:02:15.940 --> 00:02:16.510 OK. 00:02:16.590 --> 00:02:17.850 And then the next one 00:02:26.240 --> 00:02:30.940 is going to be this one. 00:02:30.940 --> 00:02:32.040 This copy the text 00:02:37.130 --> 00:02:50.760 of the image is going to be when he goes to a peg and then the next one is this one is copy the text 00:03:03.530 --> 00:03:06.680 copying and 00:03:13.720 --> 00:03:15.970 the image is going to be scales 00:03:18.130 --> 00:03:20.380 . 00:03:21.810 --> 00:03:22.380 And then 00:03:31.180 --> 00:03:33.720 the last one is going to be this one. 00:03:33.720 --> 00:03:37.650 OK. 00:03:39.120 --> 00:03:41.520 This copy the text 00:03:54.280 --> 00:03:58.320 anti-New the image to time. 00:03:58.350 --> 00:03:59.300 Don't you think 00:04:04.440 --> 00:04:06.570 his mission is fine 00:04:07.740 --> 00:04:13.350 . 00:04:17.900 --> 00:04:18.650 OK. 00:04:18.810 --> 00:04:21.320 So let's save this and Chicot's. 00:04:21.980 --> 00:04:28.740 So if I refresh the page. 00:04:33.440 --> 00:04:33.910 OK 00:04:34.690 --> 00:04:42.050 . 00:04:42.440 --> 00:04:43.860 Perfect So everything is what I think. 00:04:43.990 --> 00:04:48.270 So of course all our pictures and all the headings. 00:04:48.310 --> 00:04:52.920 All right. 00:04:54.720 --> 00:05:00.150 Now he now writes a little bit of jay Querrey code to control the amount of time between two sleights 00:05:00.170 --> 00:05:00.590 . 00:05:00.930 --> 00:05:01.410 OK. 00:05:01.710 --> 00:05:16.060 So let's go at the end of the body elements and creates a new Scribus elements. 00:05:19.860 --> 00:05:20.440 OK. 00:05:20.610 --> 00:05:26.220 So we can then write our code inside the Bookman's ready function 00:05:29.760 --> 00:05:37.850 to make sure that the documents is loaded before we execute anything. 00:05:40.650 --> 00:05:47.610 OK so we are going to access the carousel using the carousel class 00:05:52.140 --> 00:05:56.360 and then we're going to use the carousel method. 00:05:57.930 --> 00:05:59.640 OK. 00:06:00.930 --> 00:06:08.340 And then inside the promises of the method you're going to place options inside curly brackets. 00:06:08.640 --> 00:06:15.750 So the option we are looking at here is the interval option and we can set it to an amount of time in 00:06:15.750 --> 00:06:16.590 milliseconds. 00:06:16.830 --> 00:06:30.140 So if we go to 10 seconds to 10 10000 milliseconds and let's save and refresh. 00:06:33.690 --> 00:06:38.880 They'll see that we're going to have to wait for 10 seconds before we move from one side to another 00:06:38.880 --> 00:06:40.190 . 00:06:40.200 --> 00:06:42.990 Here we go OK