background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "#7 ActiveBox - Верстка сайта с нуля для начинающих | jQuery"

input logo icon
Video tags
|

Video tags

brainscloud
дмитрий валак
верстка с нуля
работа с jquery
jquery основы
jquery практика
верстка сайта с нуля
верстка сайта
уроки верстки
верстка для начинающих
верстка сайта html
как сделать верстку
создание верстки
уроки по верстке
html верстка с нуля
html верстка для начинающих
как верстать сайты
верстка
верстка практика
верстка сайта с нуля html
верстка сайта с нуля html css
верстка сайта с нуля для начинающих
верстка из psd
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:02
Dmitry Valak is with you and we continue to
00:00:03
work with you on the layout of the active box sites, we have already
00:00:06
done, in principle, all the layout itself, you and I will make an
00:00:08
accessible version, a mobile
00:00:09
version, and now we will work with you
00:00:12
with scripts, we need to do what in
00:00:15
first of all, we need to make a header,
00:00:17
we will make it sticky, that is, if we
00:00:20
happen, for example, the first block will split
00:00:23
it, the header will stick to the top
00:00:26
so that we can see and can
00:00:29
navigate through our site,
00:00:31
this is the second thing we will do for you to
00:00:33
move around our site when you click on
00:00:36
these menu items, that is, we click
00:00:37
on the futures item, a foreigner go
00:00:40
to the futures block, we click on the
00:00:42
works block and we have a page scrolling to the
00:00:45
works block and so on, in general, this is what we
00:00:48
will do now, well, let’s
00:00:51
decide what we are doing we will work with you
00:00:52
we will work with you I was
00:00:54
thinking that after all we will
00:00:56
use with you jake believe
00:00:57
no matter what anyone says jack is a good
00:00:59
tool
00:01:00
if you are doing any kind of landing, it
00:01:03
allows you, in principle, to
00:01:04
save time and as for Lenny I
00:01:08
think it’s normal to use cvari
00:01:09
because, again, everything is much simpler
00:01:11
to write if, of course, you’re working
00:01:14
on a large project, to declare is of course
00:01:16
no longer an option, so yes, but for
00:01:19
small projects it’s basically
00:01:20
fine, there’s nothing wrong with that, so
00:01:24
don’t listen to those who say that
00:01:26
jack variesa it’s not very much that each
00:01:30
tool has its own approach, so to speak,
00:01:32
especially if you are making a website that in
00:01:34
the future you will build, so to speak, on
00:01:37
some cms, then feel free to use grief
00:01:41
because on popular cms
00:01:43
jack gates and does as if in stock,
00:01:45
so there, in any case, you will be the same Kvari,
00:01:48
so work right away with it, the same
00:01:50
wordpress product cms, I’m sure different prices,
00:01:53
but if they’re like there, I don’t know, drupal
00:01:55
juno got into it, most likely, too, everything is on jig
00:01:57
Vari, so he’ll live there for a long time
00:02:00
because that thousands of plugins are written,
00:02:02
masks are paid with Jack Vari,
00:02:04
so yes, if anyone wants to learn more about
00:02:06
life in a couple, then watch my
00:02:09
videos on the channel, there is a separate video
00:02:11
about
00:02:12
Muji Woe in 2019, well, let’s go
00:02:15
to the Jack Foley website, Jack at dot com,
00:02:18
this page opens we click
00:02:21
here download jay corey and you and I
00:02:24
will connect the jack at least using sedin we
00:02:26
will not download it not to our folder
00:02:28
locally in the project we will
00:02:30
connect it through
00:02:31
sit, that is, third-party servers why
00:02:34
we will do it this way simply
00:02:36
because, well, in principle, the loading speed
00:02:39
will be, well, possibly faster because
00:02:42
Sedin will use
00:02:45
the server closest to your site visitor, so the
00:02:49
Jack Vary library will be downloaded from there,
00:02:50
perhaps
00:02:53
if you stored it on your hosting, then
00:02:55
for example, I don’t know hosting there; in
00:02:57
Moscow, the person coming in there doesn’t know
00:03:00
Vladivostok and a long distance from the
00:03:03
server to your client, and here he
00:03:06
would take it through the nearest server sitting there,
00:03:08
perhaps Google and the service are closer there
00:03:10
and the loading will happen much faster than the
00:03:13
library itself, plus very often many
00:03:17
developers use a connection via Sedin on their sites
00:03:20
because there is the advantages of this are when a person
00:03:24
goes to one site and there is a download of
00:03:28
Jack Cooking after 1 g the wig is cached and
00:03:31
then if a person comes to your site
00:03:34
he has already agreed in the cache because
00:03:36
he dived there through a certain
00:03:38
level and Gregory is already taken from the cache
00:03:42
that in principle, it gives instant
00:03:44
loading in the decor,
00:03:46
so we will use the
00:03:48
feeding connection so let's
00:03:50
take it here, below there are sections of
00:03:52
google judges microsoft incident with
00:03:55
and jess deliver jing any of them, in principle,
00:03:58
take probably google among us there
00:04:00
and popular but i from often
00:04:02
use Devin Jamison is also
00:04:03
popular, let's click on it and
00:04:06
go to such a site and here we
00:04:08
have a selection of different libraries we are
00:04:12
interested in the regular jack white library
00:04:14
compressed jack vary manager
00:04:17
version 341 copy this line
00:04:21
go to our document and somewhere like
00:04:24
this
00:04:25
you write the text script in the squid tag, we
00:04:28
write the src attribute and indicate the path to
00:04:31
this file, that is, we indicate here the
00:04:34
path of the CD and this file, that is, we are
00:04:37
loading Jack Vore, we do
00:04:39
this in such from because when you go to the
00:04:42
page it should load immediately
00:04:44
the library, then all the house elements, our entire layout,
00:04:49
and already at the very bottom, you and I will already be
00:04:51
working with Jack Vere, that is, we will connect
00:04:53
here our Jess Fas, which we will
00:04:56
work to interact with already
00:04:57
loaded systems or
00:05:00
house elements, let’s
00:05:02
make ours folders a new file called
00:05:05
Jess, for example, here we will
00:05:08
write the code for Jack Vera and let's
00:05:12
connect our angels file here at the very bottom,
00:05:15
so we can also leave a
00:05:19
javascript comment here, that is, we will
00:05:21
work with Jess here, connect different
00:05:23
files, but in principle we will have only
00:05:25
one connected, our Angeles, in it we
00:05:27
will work for now in this one file,
00:05:30
okay, in principle, you and I have done everything, we have
00:05:33
connected
00:05:34
Jake Vera and you and I have connected our
00:05:38
file which we will write the code let's
00:05:40
open it and let's start write,
00:05:43
speaking for our site, and the first
00:05:46
thing we need to do is we need to write
00:05:48
this construction, dollar sign,
00:05:49
brackets, function brackets, and after the
00:05:53
brackets, curly braces and here we put
00:05:57
a period, this is the construction we
00:05:59
make at the beginning of the document, this entry
00:06:02
allows you to wait for the entire
00:06:04
document to load and only then performing
00:06:07
some actions with the home elements of
00:06:09
your site is considered the correct
00:06:11
approach, and here already inside this code
00:06:13
we write with you jack say the code for
00:06:16
our elements something like this, let's
00:06:19
check that everything works for us and,
00:06:20
for example, write with you have such a phrase
00:06:22
console log console forehead and here we will write,
00:06:26
for example, it works there,
00:06:30
it works, to check our work, at
00:06:33
the end we put a period, we will now display in
00:06:35
the console the message it works, let's
00:06:38
check it, go to our website, update
00:06:41
it, open the developer panel,
00:06:44
and here is the developer tool and
00:06:46
there is a section console we see here
00:06:49
the phrase works I'll start everything
00:06:51
working fine if you
00:06:53
don't have the panel data then it is here 3
00:06:56
dots here there is a console
00:06:59
drawer you can have then who click
00:07:02
from the show console drawer we will be shown
00:07:05
such a small console that we can
00:07:07
use you can see the mistakes Jack Vera that
00:07:09
we made and so on so well,
00:07:11
let's get to work, let's
00:07:13
first of all make our header
00:07:15
fixed, since how to do this we
00:07:19
need to get access to our header, we
00:07:21
have ours, so Fedor, we
00:07:25
did it before a separate header for us in a toga
00:07:27
header, let's give it the ID of
00:07:30
these kernels and with the help of this we
00:07:34
will gain access to our header,
00:07:36
let's make a
00:07:40
variable here in which we will save the selector to
00:07:42
our header, so we will create a change with you
00:07:45
in which just the same is placed our
00:07:46
selector we write years what does it mean to declare
00:07:49
a variable then we write with you
00:07:51
the name of the variable for example Fedor
00:07:53
set equal
00:07:54
and here we write the selector of our element
00:07:56
jquery selector write as follows
00:07:58
we put a dollar sign brackets
00:08:00
quotes and here we write that we want to
00:08:03
select an element with an ID header we put
00:08:06
a hash as in cs Icy
00:08:07
and write a header, if we chose by
00:08:10
class, then we would put it up with you.
00:08:12
instead of a lattice, but since
00:08:14
there is an ID on your element, we use
00:08:17
a lattice, I usually, if it is possible,
00:08:19
use it to work with g quarire
00:08:21
Jason here and to style the class, but
00:08:25
sometimes you also have to add classes
00:08:27
to work jack cook Jason in principle
00:08:30
and usually do not do other classes to
00:08:33
work with jess, that is, for example, if I were
00:08:36
now working through a class, then
00:08:37
most likely I would not use
00:08:40
game classes because the header class is used
00:08:41
for styling,
00:08:42
I would add another class, for example, there is
00:08:45
jess header and would already use
00:08:49
this class for work with Jess, that is,
00:08:52
I will have a separate class for working with
00:08:53
jeans, I can see from the name that this is a
00:08:55
class for working with Jones, and this is a class
00:08:58
for working in Sessom, so it’s much more convenient
00:09:01
and you will thereby make
00:09:04
your PC safer because you won’t
00:09:05
have connections in the USSR itself, that is, there
00:09:09
will be no such triangle, you will have
00:09:11
everything as if located separately,
00:09:13
because it very often happens if the
00:09:14
project is large and the jack were
00:09:17
there, tied to the class that is
00:09:19
stamped for stylization, and if suddenly this
00:09:21
element is gone, then you're getting
00:09:23
errors there, let's say Jaycee, if for example a
00:09:27
class was renamed,
00:09:28
its name was changed, the style was changed, for some
00:09:30
reason your James broke, you don't
00:09:32
understand why, but all because James
00:09:35
was assigned to the class that is responsible for
00:09:37
styling
00:09:38
and you suddenly renamed it, well,
00:09:40
anything can happen, so it's safe
00:09:42
use separate classes to work
00:09:44
with we will use
00:09:48
ID header for now, we have made a selection of
00:09:52
core elements, that is, we now have a
00:09:54
variable fret, here we have a variable fedor, the
00:09:57
header selector is stored,
00:09:59
now we can work with it, we can
00:10:01
give it a class, we can give it
00:10:04
let's do different things, let's give
00:10:06
a class to our header element, we will write
00:10:09
that we are working with the header element and we
00:10:11
want to assign a class to it, and for example fixed
00:10:14
at close we write such a method from the
00:10:17
class and here we write the name of the class
00:10:19
that we want to give to our leader
00:10:22
for example fix that is, everything is very simple
00:10:23
here, the syntax is very
00:10:25
simple, it’s very clear in principle, that
00:10:28
is, we want to add a class, this means
00:10:31
from the class, which class is fixed, we indicate in the
00:10:34
parameter ok, let’s check if we are on
00:10:37
one page, we will see that we
00:10:39
now have a class in the header fixed is great, the
00:10:42
nose class is there, but we need to issue it
00:10:45
under a certain condition, that is, when
00:10:48
on our split our page is
00:10:50
larger than the
00:10:51
size of the height of our intro block, so
00:10:55
let us work with this, we
00:10:58
also have an intro element and give
00:11:00
it to it too id im trang
00:11:02
we will work through this id with our
00:11:06
intro block we will also make another
00:11:08
variable with the name intro and here we
00:11:11
will select the block
00:11:13
im then we need to know the height of our
00:11:15
intro block and when we open this
00:11:18
height
00:11:19
we will give you a fix class for the
00:11:22
header like let's find out i'm sad our
00:11:25
intro block has a method for this - hate and int x
00:11:29
and let's see how they differ
00:11:32
and let's make another
00:11:34
inter variable for example h, that is, this
00:11:36
will be the height of our intro block and here
00:11:39
we are we access the intro selector
00:11:42
through a variable because we
00:11:44
saved this selectors into a variable
00:11:46
and here we call the hate
00:11:49
brackets method and let us display
00:11:52
this value in the console console to
00:11:56
see what we have stored in this
00:11:57
variable let’s see if we
00:12:00
refresh the page we will see 650 pixels
00:12:03
so let's see our intro is more
00:12:07
than 650 by 750 why is this all because the
00:12:10
hide method takes the height of the element not
00:12:13
counting the padding we have a duel
00:12:15
on top 100 pixels so we have
00:12:17
bisping shown if we want to
00:12:19
take the height of the element with the duel there well
00:12:21
then we need to use the in our
00:12:23
faith in our high method then you and I
00:12:25
will get the height of the element including from p
00:12:28
money we see that now it’s 750 and everything
00:12:31
is correct, that is, we have the value of the
00:12:33
height of our intro element in a
00:12:37
variable and now we can work with it
00:12:38
and compare the height of our
00:12:41
element with the scroll size how much on
00:12:45
shot your page until when we
00:12:47
hide the page we can also get
00:12:49
this value strictly ours how do we
00:12:51
do this it’s very simple
00:12:54
again, let’s make for example a
00:12:56
variable
00:12:57
for example a variable scroll position
00:13:01
revealed the position and here we we need to get the
00:13:03
position from the top of our document,
00:13:06
we will use this
00:13:09
construction, we will refer to
00:13:11
our window and we will refer to the
00:13:15
scroll to top method,
00:13:17
that is, how much we just start from the top of the
00:13:19
page
00:13:20
and let us output this value to the console
00:13:24
if we update now,
00:13:26
we will see 0 with you, that is, we
00:13:29
are now at the very top of the page, it
00:13:31
turns out that 0 is stored here if we
00:13:34
scroll down one page and now
00:13:36
we will see with you 137, that is,
00:13:39
our scroll position from the top is stored here
00:13:42
that is, we take the scroll top of
00:13:46
the stripes in our hands, we already have two
00:13:49
variables, the height of our intro and we
00:13:52
have the position of our scroll, great, we have it
00:13:54
ready now, let us keep an eye on the
00:13:59
scroll, that is, we
00:14:02
want
00:14:03
everything to be visible when scrolling time the
00:14:05
position of our scroll was compared with the height and if the
00:14:09
scroll position is greater than the height of the
00:14:11
inter element, we want to issue a fix class for
00:14:13
our header in order to monitor some
00:14:17
events, we are writing such a thing, we
00:14:20
want to monitor the scroll event
00:14:22
for our page for our windows, we write
00:14:26
that we are working with a window and we want to
00:14:28
monitor the scroll, we will enter .
00:14:31
he opens the brackets and here we indicate the
00:14:34
events he scroll,
00:14:36
that is, when you scroll, we want to
00:14:38
do something with you, put a dot and ,
00:14:40
write a function,
00:14:42
open the brackets, here are also curly
00:14:45
braces, and here we are already inside this
00:14:47
construction writing the action that we
00:14:49
want to perform when scrolling the page
00:14:52
and let us update
00:14:54
the value of the variable because the changes are
00:14:57
currently stored precisely in the position of the
00:14:59
page when loading and we want to
00:15:01
update this position every time because
00:15:03
our crawl will change when scrolling
00:15:05
correctly, our position changes, we
00:15:07
need to update it, so let’s do it
00:15:09
here let's write such a thing, we will
00:15:12
again refer to our
00:15:15
window and we can access it
00:15:16
now using the des construction, that
00:15:20
is, we want to update the country with our
00:15:22
scroll variable pos to the current
00:15:26
scroll position, we write dice, that
00:15:29
is, thereby we refer to our
00:15:31
window because we are inside
00:15:33
this event and all calls through dice
00:15:35
will refer to this particular window and
00:15:37
we want, again, the area scroll top
00:15:40
position and let's now show
00:15:43
you the scroll pose in our event it
00:15:48
scrolls for windows let's look at
00:15:51
one minute page let's start scroll we
00:15:53
see the scroll post is changing, that is, the
00:15:55
scroll position we have this value
00:15:59
now we can compare it with the
00:16:01
height of our intro element so let's
00:16:06
see here we will write
00:16:08
the conditions with you, that is, iv as in
00:16:12
programming we love
00:16:13
programming languages ​​conditions are written through
00:16:15
construction and in LS, that is, we
00:16:17
write here in brackets and inside we write
00:16:20
the conditions that we will compare with you,
00:16:21
we compare if the
00:16:25
scroll position is greater than the height of our intro
00:16:29
block, then we will do one action with you,
00:16:32
otherwise we will do
00:16:34
another action with you, let's console.log
00:16:37
will be deleted for now, if our position in the scroll is
00:16:41
greater than the height of the intro block, we will
00:16:43
issue a fixed class for our
00:16:47
header element, otherwise we will remove the
00:16:50
fixed class, that is, we will write here instead of
00:16:52
from class to class,
00:16:55
so let’s see Let's update
00:16:58
the page now Fedor doesn't have the
00:17:01
fix class from because we removed it, now we
00:17:03
scroll the page with the crawl modestly
00:17:05
and as soon as we scroll the
00:17:08
intro block we see that we have a
00:17:11
fix class from the couch because the
00:17:14
scroll height is greater than the height of the
00:17:17
intro block if we built up, then we have a
00:17:20
header class from the fix from the ear to the one that is removed because the
00:17:23
scroll position is already less than the
00:17:25
height of our intro block, it’s clear, yes, that
00:17:29
is, it all works for us, now we just
00:17:31
need to add the style for our
00:17:32
header for the fix class, go to css,
00:17:36
find work with our header so we
00:17:41
find work with our header so
00:17:43
we want to work with you a header
00:17:46
from cool fixes and if the header has a
00:17:49
fixed class we change the position of
00:17:51
absolutely positions fixed from let's
00:17:55
see what we got I
00:17:57
update the page with the crawl we
00:17:59
get here we see our hat,
00:18:02
yes it appeared, disappeared, appeared,
00:18:05
disappeared, appeared perfectly, and that is,
00:18:08
now let's add a little
00:18:10
background, Fedora will have
00:18:13
a background
00:18:14
the same as the intro, we have winter clouds, there is a
00:18:18
background, yes, this color is so
00:18:21
dark blue, we will use it use
00:18:22
for our header, that is, we write
00:18:25
backgroundcolor
00:18:26
and we will use this color so that
00:18:29
our navigation elements are also visible,
00:18:31
so let’s see, we have a
00:18:36
background horse that’s great, also for
00:18:40
example, we want to reduce the duel with you
00:18:42
because, in principle, when
00:18:44
the header is already fixed and we don’t want as
00:18:46
if we had such large peelings,
00:18:47
we again can work with you in the
00:18:51
following way, that is, we write if
00:18:53
we are in the header ce class a
00:18:56
fixed, we work with you with the header inner
00:18:59
element and we want to reduce the fighting
00:19:03
games from above and from below, do 15,
00:19:06
either we write this way or we write just
00:19:08
rewrite what we need with this
00:19:10
bot and we’ll go to the top because it’s like this and
00:19:14
now if we look at this, it’s like there’s
00:19:17
less of a fight, and in our header
00:19:20
we’ll also remove it, so we’ll remove it with
00:19:24
you
00:19:25
header and nora border then we will make 0
00:19:29
border by the bot and at the header, let's
00:19:33
fix the idea by making the height automatic,
00:19:36
that is, we will have a height of the
00:19:38
let's look at my page at the
00:19:41
header, here we slide the
00:19:43
intro element, we have a header on top, we
00:19:46
see it is now smaller there is no border and
00:19:49
it is like this, now we have
00:19:52
the page on top
00:19:53
as soon as we go up with the troll and
00:19:57
get to the intro block, our header
00:19:59
disappears and is already placed in this position,
00:20:03
great, in principle, we are done with this,
00:20:05
but there is a small moment here
00:20:07
if we update page here, we
00:20:10
don’t see the header right now, although we
00:20:12
would like to see it right away because
00:20:17
our check only works on
00:20:18
scroll events, that is, we start
00:20:20
to hide and we see that
00:20:23
this check is triggered, what should we do in this
00:20:26
situation? just
00:20:27
another event for our page, that is,
00:20:30
when our window loads, you and I will
00:20:33
also do this check, that
00:20:35
is, we will add here another event
00:20:36
oh lord when loading and you and I, let's
00:20:40
see, we refresh the page, we see
00:20:42
immediately the header appears in this
00:20:43
position then there is, when our window loads,
00:20:46
we have the same action,
00:20:49
everything is checked, the scroll position, the
00:20:52
height of the element is compared,
00:20:54
and so on, if we are here,
00:20:56
we refresh the page, we don’t see our
00:20:58
headers on top because we are still
00:21:00
in the inter block, that is, now everything
00:21:03
works fine we can also, in
00:21:08
principle, if we look at the mobile
00:21:12
version, then you and I will see the same thing: in
00:21:15
principle, the header works for us, but
00:21:18
there is one thing, but we see that when we
00:21:21
switched from the mobile version to the
00:21:22
accessible version, it’s like
00:21:25
when we look at us when we
00:21:28
are on the mobile version of the site,
00:21:29
our
00:21:31
intro size is much smaller, that’s right,
00:21:33
here we have a completely different height, so we still have the
00:21:37
intro variable saved, so we switch with you to the
00:21:40
accessible version, we still have you
00:21:42
indra or the value of the intro height is stored
00:21:46
as on mobile version and when we
00:21:48
build a page on the available version,
00:21:49
we get that
00:21:52
the header appears ahead of time, we will also do this
00:21:56
check on the
00:21:58
Norris resize events from the window, that is,
00:22:01
we will make three events: he scrolls,
00:22:03
he lauts the resize, that is, when we will be
00:22:06
with you rice from the window, we will also have
00:22:08
this check going on, so let us
00:22:10
check it, and by the way, yes, it
00:22:12
turns out that we need to do this check like this, so
00:22:15
let us
00:22:19
bring the intro variable here, that is,
00:22:23
we will create exactly here, that
00:22:26
is, what will happen when we have
00:22:28
events don’t even create we will, we will just be
00:22:31
with you, I’ll also just
00:22:32
overwrite, in principle, probably something like this, that
00:22:37
is, we will overwrite the
00:22:38
value of the weaving variable on the site, this is
00:22:42
important to us, so let’s look at the
00:22:44
block now like this the header appears in the right
00:22:46
place, that is, the right moment ok, as
00:22:49
soon as we change the position with you, that is, the
00:22:51
rice and winter window, as we see, the
00:22:54
header also appears at the right time, that
00:22:57
is, now everything works as it should, the
00:22:59
same if we, for example, are on on the
00:23:02
mobile device we turn it over,
00:23:04
again the size of the block core
00:23:05
changes and our header will appear at the
00:23:07
right moment if we did
00:23:12
not do this event here we would have
00:23:15
countries with strange behavior, that is, we would
00:23:17
not have a resize we would have like this
00:23:19
the header appears here we turn the
00:23:22
mobile device over with the header appears in
00:23:26
principle here
00:23:28
as if I didn’t notice the difference, perhaps
00:23:32
the size of the header, that is, the size of the inter block here
00:23:34
turned out to be the same, but although in principle,
00:23:38
yes, in principle, yes, the value of
00:23:43
the intro changes as much as you scroll, so yes
00:23:46
if we are on the mobile version
00:23:49
here and scroll, then we have already
00:23:51
overwritten the intro value because
00:23:53
we have already woken up the page
00:23:55
if we are, for example,
00:23:57
somewhere here, we will
00:24:00
turn it over, now in principle it
00:24:03
will work a little incorrectly, well, in general, yes,
00:24:06
in general, there are some nuances here
00:24:09
done differently again, well, let's
00:24:11
leave the resize with us, it will be more
00:24:13
reliable because on the 3rd site, in
00:24:14
any case, we will perform
00:24:16
these actions with you, check the height of the
00:24:19
intro block if it has changed, the
00:24:22
value in the intro block changes as much, and so on, that is,
00:24:24
we can with you look and
00:24:25
display this value here in the console.log
00:24:28
during intro events, let's just
00:24:32
spin our device,
00:24:34
we see that the height of the block is changing,
00:24:36
so we need to do it right
00:24:39
here, that is, we can even change the intro variable
00:24:42
at this event
00:24:46
In principle, it’s
00:24:47
easy to make an empty variable and declare it because, in
00:24:49
principle, we don’t
00:24:51
need the height of the element here yet, so we need to recognize it
00:24:54
already during events and check it, use it
00:24:56
in checking like this, but it turns out something like this,
00:24:59
that is, we have a block and gentra is ready, that
00:25:02
is not a blog entry on a blog
00:25:04
header, it now works as it should, that
00:25:07
is, in principle, we have analyzed many situations,
00:25:10
everything seems to work as
00:25:13
it should, that is, we have a block that
00:25:15
appears when loading, we have a steering wheel
00:25:18
appears, we have a changing
00:25:19
screen size, then we have Also, the checks are all
00:25:22
working correctly, we take into account
00:25:25
many nuances about this, in principle, yes, in
00:25:27
principle, everything is fine with this, well, this is how I
00:25:31
got my lesson, if you
00:25:33
liked the video, don’t forget to
00:25:34
like and subscribe to the channel
00:25:36
because I looked at the statistics, a lot
00:25:38
of people are watching I haven’t subscribed, this is
00:25:40
very bad because
00:25:42
approximately sixty percent of the viewers are watching,
00:25:43
changing without subscribing to the channel, this is
00:25:45
very sad, such a Turk, you and I have
00:25:48
such an introductory video, arson, we believe in the
00:25:51
next video, we will
00:25:53
work with other elements, we
00:25:55
met in this video how in
00:25:57
principle it works the same with in a project how
00:26:00
to create variables make selectors
00:26:02
select different elements of
00:26:04
your html document how it works with
00:26:07
events and makes conditions well something like this I
00:26:10
hope you liked the video and
00:26:14
thank you all for your attention and bye

Description:

В этом видео поработаем jQuery и сделаем фиксированную шапку при прокрутке сайта, когда скролл страницы достигнет необходимую нам позицию. // Ссылки ================= Основы HTML и CSS для начинающих: https://brainscloud.ru/landing/html-css Материалы урока: https://files.brainscloud.ru/file/activebox-urok-7 *Профессиональная, быстрая и комфортная верстка сайтов: https://frontend.brainscloud.ru/ (Купон youtube -1000руб.)* // О проекте ================= Меня зовут Дмитрий Валак. Я занимаюсь разработкой сайтов уже много лет, специализируюсь больше на front-end разработке и верстке сайтов, но и программирование тоже изучаю. Здесь буду делиться с вами информацией на разные темы по веб-разработке - HTML, CSS, Javascript, JQuery, Vue, PHP, MySQL, React, Gulp и тд. На сайте проекта https://brainscloud.ru вы найдете много полезных закрытых материалов, а так же сможете поработать со мной лично, при наличии такого желания. // Соц. сети ================= Мой ВК - https://vk.com/odimaz Группа BC - https://vk.com/brainscloud Мой Instagram: https://www.instagram.com/dmitryvalak/ #верстка #версткасайта #созданиесайта #html #css

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "#7 ActiveBox - Верстка сайта с нуля для начинающих | jQuery" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "#7 ActiveBox - Верстка сайта с нуля для начинающих | jQuery" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "#7 ActiveBox - Верстка сайта с нуля для начинающих | jQuery" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "#7 ActiveBox - Верстка сайта с нуля для начинающих | jQuery" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "#7 ActiveBox - Верстка сайта с нуля для начинающих | jQuery"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "#7 ActiveBox - Верстка сайта с нуля для начинающих | jQuery"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.