0:00
come on
0:06
[Music]
0:10
so in this video we're going to be
0:11
looking at timers progress bars and
0:14
counters so let's start off by looking
0:16
at these timer bars and progress bars
0:19
as we see here we have two different
0:21
styles of timer bars we have the ability
0:23
to actually have a bar that goes along
0:26
the entire edge of our slider as well as
0:29
this animated ring
0:32
and then our progress bars are basically
0:34
styled similar to our timer bars but the
0:38
size of that is basically progresses
0:40
along with the progression of your
0:42
slider so we actually get the progress
0:45
that we are within our overall slider
0:48
timeline
0:51
so adding these are super simple they're
0:53
all within the child menu of moving box
0:57
so you can go and add our counters or
0:58
progress bars so let's have a look at
1:01
the timer bar here we have the ability
1:03
to customize the color so the back color
1:05
as well as the background color as well
1:07
as the foreground color the size of that
1:09
timer bar so how tall or wide is it and
1:12
then your location uh you can have it on
1:15
the left or right side
1:17
um if you want it to actually fill the
1:18
entire side so if we want to kind of
1:20
picture what that looks like let's go
1:21
ahead and do right
1:24
here we see if we set the position to be
1:26
right the progress bar is actually on
1:28
the right side and we can actually also
1:30
say where to start from so instead of
1:33
starting from the bottom we can actually
1:34
start from the center
1:36
you'll notice when we start from the
1:37
center of this slide it actually kind of
1:40
grows up so it's very interesting the
1:43
ring timer has very similar
1:45
configurations where we have a color as
1:47
well as the size of the circle as well
1:49
as the thickness of the stroke uh and
1:52
then we kind of place this anywhere we
1:54
want within the Four Corners so do we
1:56
want to the top top bottom left right
1:59
with these buttons
2:02
now the progress bar pretty much it has
2:05
the same exact settings as the timer bar
2:07
just the underlying functionality is
2:10
different
2:11
now remember if you haven't watched the
2:14
Styles video that we have on moving box
2:16
you can actually use the Swatch colors
2:19
to actually customize the colors of the
2:22
progress bars timers as well as captions
2:26
now the last thing in this video we're
2:27
going to cover is the counter stack and
2:29
essentially what this does is it gives
2:31
you like a counter so slide one of four
2:34
or so on and so forth on your particular
2:37
slides so if we preview this you'll see
2:40
that I have one of four and in the
2:43
settings for this stack is really simple
2:44
we have the color as well as the text
2:46
size and then the position that you'd
2:48
want to position this
2:50
now you're not stuck with the verbiage
2:53
one of four
2:56
because if we double click this you'll
2:58
see that this is just some HTML so if
3:01
you just want to have a stack so if you
3:03
want to you know customize the look The
3:05
basically the language here if you're
3:07
you know of is not your language
3:09
um you can customize this to be Spanish
3:11
or German or Italian or whatever
3:13
language you see fit now however you
3:16
will also notice that these just have a
3:18
bunch of classes
3:20
so if you you don't necessarily need to
3:23
use this stack you can actually use
3:25
whatever stack you want as long as you
3:28
put in the MB slide index class that
3:32
whatever you put that class on will
3:34
actually get updated with the current
3:36
index
3:38
count
3:39
and then if you have MB slide count
3:41
class
3:42
whatever that will has will
3:45
automatically be uh converted to be the
3:47
actual slide count
3:49
let's see this in action
3:51
so here we have an example where I just
3:53
added two header Stacks in here and all
3:55
I did is added the classes that I talked
3:57
about earlier we have MB slide index and
4:00
MB slide count
4:02
I added in some words in here
4:05
um just to show you that these date this
4:08
data will actually get replaced with the
4:10
current data dynamically for moving box
4:12
and there you have it we have the uh
4:15
slide index as well as the slide count
4:17
now if I go ahead and change slides
4:19
you'll see that the actual index number
4:22
changed now the total count is never
4:24
going to change because our number of
4:26
slides aren't Dynamic right but as we
4:29
change the slides you'll see that these
4:31
actual index count will dynamically be
4:34
displayed
4:36
but what I would recommend is instead of
4:38
starting with some random number
4:39
actually put in you know the actual
4:41
starting value of the first slide so one
4:44
of four or something of that nature
4:47
now if you are curious of other
4:49
um class classes available to you within
4:52
moving box there is a moving box class
4:54
reference that you can leverage for all
4:57
kinds of cool stuff
4:59
um from swatches to your own CSS to
5:01
other great things
5:09
[Music]