How to scroll to a specific page element with jquery

Since the single-page-scroll-to-section designs have begun to be increasingly popular, and because I did such a design a few days ago, i ran into problems with finding a good way to scroll to a page element from the top.

So after doing a lot of digging and research, i wrote my own, which btw: works like a charm in all browsers.

Here’s the gist link to it: “Scroll to page element” script

Advertisements

Nice deal on CSS books over at MightyDeal !

I was going through my email and, since I’ve bought stuff from the in the past, i also subbed to the newsletter of the guys @ MightyDeals.com

And mighty they are ! I got some very very sweet deals on vector icons and plugins. Not all of their stuff is 100% worth dishing out cash for, but some of it is really sweet !

Today, its all about the divs baby ! They got a nice 3-book package at 37 bucks.

Thats 12 bucks a pop ! Not saying you should buy them, but you should definately have a better look over here: http://www.mightydeals.com/deal/sitepoint-ultimate-css-resource.html?ref=awnews