In Part 1, we made a sticky to top sidebar. In Part 2, we made a sticky to bottom sidebar. What if we combine them together, make a Yahoo homepage like scrolling style page. Isn’t that cool?
In Part 1, we made a sticky to top sidebar. In this post, we are going to create a sticky to bottom sidebar.
Thanks to bootstrap, sticky sidebar is everywhere now on the web. It is the sidebar that scrolls normally until it reaches the top of the screen, at which point it attaches itself to top of the viewport until you scroll back up the page.
A few common examples about how to wrap text around image using css. Demo
- Item #1
- Item #2
- Item #3
A light weight carousel / image slider without fancy animation except sliding right or left.
[[0, 1], [2, 3], [4, 5]]to
[0, 1, 2, 3, 4, 5]or
[4, 5, 2, 3, 0, 1]
I’ve been working on SPA (single-page application) with different frameworks, such as AngularJS and DurandalJS. Most of the time, each partial or viewModel needs multiple restful APIs/Endpoints to render the full UI. Writing nested ajax calls is ugly, painful to debug and most importantly
Find the position of the first occurrence of a substring in a string. Returns -1 if the substring is not found.
5 ways to add a file download link/button in HTML