Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to hamburger
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Klemens Gordon
April 05, 2016
Technology
0
69
How to hamburger
Slides for hamburger walkthrough in karriere.at frontend chapter
Klemens Gordon
April 05, 2016
Tweet
Share
More Decks by Klemens Gordon
See All by Klemens Gordon
Yo Building Progressive Framework-less Vanilla Web-applications
k9ordon
0
170
A loosely coupled front-end
k9ordon
2
630
Webpack FTW
k9ordon
1
680
Javascript Event Emitter
k9ordon
0
81
responsive view - viennajs 2013-08
k9ordon
0
71
Other Decks in Technology
See All in Technology
今日から始められるテスト自動化 〜 基礎知識から生成AI活用まで 〜
magicpod
1
120
テストプロセスにおけるAI活用 :人間とAIの共存
hacomono
PRO
0
140
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
tarappo
4
340
visionOS 開発向けの MCP / Skills をつくり続けることで XR の探究と学習を最大化
karad
1
1.2k
ABEMAのバグバウンティの取り組み
kurochan
1
390
Laravelで学ぶOAuthとOpenID Connectの基礎と実装
kyoshidaxx
4
1.8k
生成AIで速度と品質を両立する、QAエンジニア・開発者連携のAI協調型テストプロセス
shota_kusaba
0
460
Goのerror型がシンプルであることの恩恵について理解する
yamatai1212
1
290
コンテキスト・ハーネスエンジニアリングの現在
hirosatogamo
PRO
6
740
TypeScript 7.0の現在地と備え方
uhyo
7
2k
The Rise of Browser Automation: AI-Powered Web Interaction in 2026
marcthompson_seo
0
300
AWS Systems Managerのハイブリッドアクティベーションを使用したガバメントクラウド環境の統合管理
toru_kubota
0
140
Featured
See All Featured
HDC tutorial
michielstock
1
580
Raft: Consensus for Rubyists
vanstee
141
7.4k
Everyday Curiosity
cassininazir
0
170
Crafting Experiences
bethany
1
92
Tell your own story through comics
letsgokoyo
1
870
Making Projects Easy
brettharned
120
6.6k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
770
Transcript
HOW TO HAMBURGER
Browser window Content Hamburger
User klicks
Menu is open close
requirements - hamburger is sticky - when menu is open
content preserves its scroll position + Content and menu are in body (for native scrolling behaviour) + fadeIn/fadeOut aka animations
Lvl 1 Menu is display none Content is display block
Hamburger is fixed STATE: MENUE_CLOSE
Lvl 1 Menu is display none Content is display block
Hamburger is clicked STATE: MENUE_CLOSE
Lvl 1 Menu is display block Content is display none
close is fixed Hamburger is hidden STATE: MENUE_OPEN
Lvl 1 close is clicked STATE: MENUE_OPEN
Lvl 2 Menu is display none Content is display block
Hamburger is fixed STATE: MENUE_CLOSE
Lvl 2 Menu is display none Content is display block
Hamburger is clicked var contentScrollPosition = content.scrollTop; STATE: MENUE_CLOSE
Lvl 2 Menu is display none Content is display none
close is fixed Hamburger is hidden STATE: MENUE_OPEN
Lvl 2 close is clicked STATE: MENUE_OPEN window.scrollTo(0, contentScrollPosition)
Lvl 3 Menu is display none Content is display block
Hamburger is fixed STATE: MENUE_CLOSE
Lvl 3 Menu is fixed for animation Content is display
block Hamburger is clicked var contentScrollPosition = content.scrollTop; STATE: MENUE_WILL_OPEN
Lvl 2 Menu is display block Content is display none
close is fixed Hamburger is hidden STATE: MENUE_OPEN
Lvl 3 close is clicked STATE: MENUE_WILL_CLOSE window.scrollTo(0, contentScrollPosition) Menu
is fixed for animation Content is display block
PEACE OUT YOLO