Is it possible for me to identify a specific part of the screen with jquery and javascript? For example when passing by height y does it perform for me a function? I imagine something like this:
var minha_altura = $(window).height();
var altura = 400;
if(minha_altura > 400)
{
//faz algo
}
Is the concept correct and does it really work?