background preloader

Web Dev Tools

Facebook Twitter

Divine Elemente. Download plugin for photoshop.

Android

Equation en LaTeX. JqMobi. AppMobi.com- Create Mobile and Web Apps with HTML5 and JavaScript | Paperfold CSS | Demo Studio | Mozilla Developer Network. Graphism & Design. HTML5. jQuery: Smooth Scrolling Internal Anchor Links | Sycha Web Design & Development. November 13th, 2010Charlie Evans Here’s a neat little jQuery trick to fancy up your internal anchor links, by making them scroll smoothly to their target as opposed to jumping instantly. Internal anchor links are very common place, e.g. “back to top” links, or FAQ pages which list all the questions at the top. Making them visually scroll to their target not only looks a bit fancy, it also gives some visual feedback to the user as to their new position on the page. This is what it looks like in action, click the following link:Scroll to comments This technique is very simple. Set up your link as you normally would, e.g. href=”#comments” (where comments is the id of your target) Add a class=”scroll” attribute to the link element, so it now looks something like this: Finally add the following jQuery code wherever is most appropriate And that’s all there is to it.

JS / Jquery