???? ???? ???? ?? ??? ? ? CSS? ??? ?????? ????? ? ?? ?? ??? ?? ? ? ????. ? ??? ??? ??? ?? ?? ?? ? ??? ?? ?? ??? ?? ???? ????,? ???? ??
? ???? ?? ????.- ??? ?? ?????. ??? ??? ???
position: sticky
? ????? ??? ??? ??? ??? ???? ?? ??? "??"? ?? ? ????.fixed
?? " -
Annarita Tranfici? ?? "??? ??? ?? ??"? ???? ??? ?? ? ? ????. position
???? ???? ??? ? ??? ?????. ??? ???? ?? ??? ?? ??? ???? ?? ??? ?? ????? ?? ? ?? ?????. top
fixed
?? ???? ? ???? ?? ?? ??? ?? ??? ?? ? ??? ????? ? ?????. ? ???? ?? ??? ? ?????. -
? ?????? ??? ?? ??? CSS ??? ?
position: sticky
? ?? ?? ? ????.
??? ??????? ?? ???? ???? ????? ??? ???? ? ?? ???? ??? ? ???? ????? ??? ???? ??? ?? ??? ????? ????. ?? (???? ??? ?? ? ??). ?? ????? ????? ?? ????? ???????. ??? ????? ??? ???? ?? JavaScript? ???? ???? ?? ??? ?? ?
? ?? ? ??? ?? ??? Internet Explorer? ???? ????. ? ????? ?? ???? ?? (??? ??!), ?? ??? ??? ??? ? ?? ?? ? ??? ?? ? ????.position
??? ?? ?????. ?????, ??? ???? ? ???? ?, ??? ???top
?top: 0
? ??????, ??? ??? ??? ????? ?????.position: fixed
? ?? ??? ?? ??? CSS?? ??? ?? ???? ???? ??? ?? ??? ?? JavaScript? ???? ???? ?? ? ???? ????.
? ? ?? ??? ??? ??? ??? ????. ?? ? ?? ?? var menu = document.querySelector('.menu') var menuPosition = menu.getBoundingClientRect().top; window.addEventListener('scroll', function() { if (window.pageYOffset >= menuPosition) { menu.style.position = 'fixed'; menu.style.top = '0px'; } else { menu.style.position = 'static'; menu.style.top = ''; } });??? ???! ? ??? ?? ??? ?? ? ????? ???? ?? ? ??? ???? ?? ? ?? ??? ??? ??? ???? ?????. ??? ??? ??
? ???? ???? ???? ??? ??? ?? ??? ?? ??? ?? ?? ?? ???? "??"? ???? ?? ????. ??, ?? ?).
??? ???? "?? ??"? ??? ??? ??? ??? ?? ?? ? ??? ???? ?? ??? ??? ???? ???? ? ? ??? ????. ?? ??? ?? ??? ?? ???? ?? ????? ? ???? ?? ????. ????? CSS ???? ???? ??? ??? ????????. JavaScript ??? ?? ??? ??? ????.
??? ???? ?? ?????. ?? ???? ?? ??? ?????. ? ??> <<> ?? ? ?? ?? <:> ??? ????? : ????
?? ??? ????, ??? JavaScript ?? ???? ???? ? ???? ???? ???? ?????? fixed
? ???? ?? ? ????.? ??> <<>? CSS ?
??? ?? ??? ???? ??? "????? ? ?? ?? ??? ? ? ?????" ??? ?? ? ??? ????. ? ?? ??? ??? ?? ?? ?? ? ??? ?? ?? ???
?? ???????.? ?? ??var menu = document.querySelector('.menu'); var menuPosition = menu.getBoundingClientRect(); var placeholder = document.createElement('div'); placeholder.style.width = menuPosition.width + 'px'; placeholder.style.height = menuPosition.height + 'px'; var isAdded = false; window.addEventListener('scroll', function() { if (window.pageYOffset >= menuPosition.top && !isAdded) { menu.classList.add('sticky'); menu.parentNode.insertBefore(placeholder, menu); isAdded = true; } else if (window.pageYOffset < menuPosition.top && isAdded) { menu.classList.remove('sticky'); menu.parentNode.removeChild(placeholder); isAdded = false; } });? ??? ?? ????. ?? ??,? ???? ?? ???? ?? ? ??? JavaScript?? ??? ? ????.
sticky
?? ??? ?? ??? ??? ?? ???? ??? ? ? ????. </p> <er> ????? ???? ? ????! ??? ?????. <pre class='brush:php;toolbar:false;'>.sticky { top: 0; position: fixed; } ???? ?? ? ?? ?? ? ??? ??? ?? ??? ?? ?? ????. ? ????? ?? ??? ??? ???? Firefox 26 - css.stisty.enabled? "true"? ???? ????? : config. Chrome 23 - Chrome : // ????? ?? ? ??? ??? ????? ?????.
Chrome 38 (?) - Chrome ?? ?? ?? ??? Blink?? ?? ???? ?? Chrome Canary (?? 38.x)??? ??? ???? ????. ??? ???? ?? ???? ?? ? ???? ??? ? ?? ?? ? ??? ???? ??? ??? ???? ?? ? ????.Safari 6.1 -
- ?? ?? ???? ?? ??? ?? ????? (? : Opera 23 - About : Flags?? ???? ? ??? ??? ????? ?????.
??? ????? - ???? ?? (?? ??) - on on on on on the rese… ?? ?? ??? ??????.
- ???? ??? ?? ?? ??? (jQuery ??)
? ??? ??? ??? ?? ?? ????? ???? Matthew Phillips? ???- ??- (Modernizr? ??) Philip Walton 's Polyfill.js ??????? - ? ?? ??? ?????. ??? ????? ???? ???? ????? ?? ???? ????? ? ?? ????.
Fabrice Weinberg? Codepen ?? (jQuery ??) Oleg Korsunsky 's Stickyfill (IE9) -webkit
position: -webkit-sticky
???? ??? - ?? ? ?? ??
- ??
? ??? ???? ???? ??? ???? ??? ModernIzr? ?? ???? ???? ?? ??? ??? ?? ????. ? ??? ????? ?? ?? ??? ?? ??? ??? ??????. CSS ?? ?? ??? (faq)
? ?? ??? ?? ??? ??????. ??? ???? ???? ?? ? ??? ??? ?? ?? ??? ?? ???? ?? ? ? ????.? ???? ?? ??????. ??? ?? CSS ??? ????. ?? ??, "??"??? ???? ??? ?? ??? ?? ??? ?? ? ? ??? "?? ?"??? ???? ?? ?? ??? ????? ???? ????? ???? ???? ????. . "??"??? ?? ??? ?? ??? ???? ??? ?? "??"? ????? ???? ?? ??? ?? ??? ????.CSS ?? ???? ?? CSS ??? ???? ?????? position: sticky
css? ?? ???? ?? ?? StickyFill???.
? CSS ??? ? ?? ???? ????? ? ? ?? ??? ???? ????. ???? ??? ?? ??? ??? ,
CSSposition: sticky
??overflow
? ???? ?????. ? ?? ??? ?? ??? ??? ??? ? ?? ????? ????? ????? ??? ? ????. ?? ?? ??????? CSShidden
? ??? ???? ???? ?? ??? ??? ??? ??? ??? ??? ??????.auto
?? ?????? CSS ??? ?? ??? ??? ??? ?????? scroll
CSSposition: sticky
? ?? ?????? ?? ????? ?? ?? ????? ???? ?? ? ????. ?? ?????? ???? ???? ?? PolyFill? ??? ? ????. Polyfill? ????? ????? ?? ? ??? ???? ???????. CSS?, ?? CSS ??? ?? CSS
?? CSS ??? ?? CSS ??? ??? ? ????? ? ??? ? ????. ?? ??, ? ?? ???? ??? ??? ?????
position: sticky
? ??? ?? ?? ? ? ??? ??? ?? ? ????.position: sticky
CSS? ??? ?????? ??? ?? ??? ??? ???????? ??? ??? ?? ???? ??? ??? ??? ??? ? ? ???? ??? ?? ?? ????? ?? ????? ??? ? ?? ?? ????. ?, ?? ???? css
?? ???? CSS ?? ???? ??? ? ????? ? ??? ? ????.
? ??? ??? ?? ???? ?????. ??? ?? ??? ?? ?? ??? ??? ?? ?? ?? ??? ?????.position: sticky
??? ?? ?? ?? ???????. ????? ??? ????? ??? ?? ????.z-index
CSS ?? ?? ??? ??? ??? ?????? box-shadow
??? CSS ?, ?? ???? CSS
?? ???? CSS ?? ???? ??? ? ????? ? ??? ? ????. ?? ??? ??
?? ??? ?? ?? ???????.
CSS ??? ???? ?? ??? ???? ???? ?? ???? ??? ???? , , ? ??? ?? ?????. ? ??? ?? ??? ?? ??? ?? ?? ???? ???? ?? ??????? ??? ?????.
? ??? ? ????. ??? ??? ??? ?? ???? ?? ??? ?? ?? ?? ?? ?? ?????.position: sticky
CSS ??? CSS ??? ?? ??? ? ????? bottom
?, CSS ??? ?? CSS
?? CodePen ??? ??? ? ? ?? ??? CodePen ??? ?? ?? ?? ??????. ? ?? ???? ?? ??? ???????. ?? ?? ???? ??? ? ?? ?? ???? ?? ??? ??? ?? ??? ? ???? ????? ??? ?? ??????.
? ??? CSS '?? : ???' - ?? ? ?? ?? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

ES ??? CommonJS? ?? ???? ?? ?? ? ?? ???????. 1. Commonjs? ????????? Node.js ?? ? ??? ?????. 2.ES ??? ???????? ????? ?? ???? ??? ?????. 3. ??, ES ??? ?? ??/????? ???? ??? ??? ?????? CommonJS? Quiew/Module.exports? ???? ???? ???? ?? ? ? ????. 4. Commonjs? Express? ?? ???? Node.js ? ?????? ?? ???? ?? ???? ?? ES ??? ?? ??? ?? ??? ?? ? Node.jsv14? ?????. 5. ?? ? ? ??? ?? ??? ??? ? ????.

JavaScript? ??? ?? ????? ??? ?? ??? ??? ?? ?? ?? ????? ?? ???? ???? ?????. ??? ?? ???? ?? ??? ?? ??? ???? ???? ?? ?? ???? ???? ?????. ?? ??, ??? ? ?? ???? ??? (? : ??? null? ??) ?? ??? ????? ??????. ??? ??? ???? ??? ??? ????. closure?? ?? ??? ?? ??; ? ??? ??? ?? ?? ???? ?? ???? ????. V8 ??? ?? ???, ?? ??, ??/?? ???? ?? ??? ?? ??? ??? ????? ?? ??? ?? ??? ????. ?? ?? ???? ??? ??? ??? ??? ???? ????? ?? ?? ???? ?? ???????.

Node.js?? HTTP ??? ???? ? ?? ???? ??? ????. 1. ?? ????? ????? ??? ??? ? ?? ????? ?? ?? ? https.get () ??? ?? ??? ??? ? ?? ????? ?? ??? ?????. 2.axios? ??? ???? ? ?? ??????. ??? ??? ??? ??? ??? ??? ???/???, ?? JSON ??, ???? ?? ?????. ??? ?? ??? ????? ?? ????. 3. ?? ??? ??? ??? ??? ???? ???? ??? ??? ???? ?????.

VAR, Let ? Const? ???? ??, ?? ? ?? ?????. 1.var? ?? ??????? ?? ???? ?? ? ??? ?????. 2. let? ?? ?? ????? ?? ?? ???? ?? ? ??? ???? ????. 3. ???? ?? ?? ???? ?? ??????? ? ?? ? ? ??? ?? ??? ?? ?? ??? ? ????. ?? const? ???? ??? ??? ? LET? ???? VAR? ???? ????.

JavaScript ??? ??? ?? ?? ? ?? ???? ????. ?? ???? ???, ??, ??, ?, ???? ?? ? ??? ?????. ?? ????? ?? ?? ? ? ??? ????? ?? ??? ??? ????. ??, ?? ? ??? ?? ?? ??? ??? ??? ???? ??? ??? ???? ??? ?? ??? ????. ?? ? ????? ??? ???? ? ??? ? ??? TypeofNull? ??? ?????? ??? ? ????. ? ? ?? ??? ???? ?????? ????? ???? ??? ???? ? ??? ? ? ????.

DOM Traversal? ? ??? ?? ??? ?????. ???? ???? ??? ?????. 1. ParentNode? ???? ?? ??? ?? ???? ?? ? ????. 2. ???? ?? ?? ??? ???? ??? ?? ? ?? ?? ?? ??? ??? ??????. 3. NextElementsibling? ?? ?? ??? ?? ?? ??? ???? ??? ??? ??? ?????. ???? ?? ??, ??? ?? ?? ?? ?? ?? ????? ??? ???? ?? Brother ??? ?? ?????. ??? ??? ??? ? ??? ??? ??? ???? ?? ? ? ????.
