Posts Tagged ‘Tutorial’

A Better Way to Sticky Content with Javascript

August 31st, 2009 by Cole Thorsen

sticky-content

Content that scrolls with the browser window is not a new concept. We all know how to position things relative to the browser window with position: fixed; However what if we only wanted it to stick the browser window conditionally? Most of the time I see this in practice, the developer has used Javascript to reposition the container absolutely so it always appears within the constraints of the users current window position. The problem with this method is that it causes the stickied content to jitter as it slides down (or up) the page. This can be extremely irritating to the end user. Read the rest of this entry »

Get in touch…

Mailing Address

201-66 Bay St. S
Hamilton, Ontario L8P 4Z6

Phone Number

519.933.9505

Satellite Office

565 Proudfoot Lane
London, Ontario N6H 0A1

Have a general comment or suggestion? Find us on: Get Satisfaction

close