Profile image for mrk studios mrkstudios
jQuery animated scroll
Language
JavaScript
Tags
jquery scrolling
Favorited By
Profile image for Patrick Westerfeld Profile image for Alessandro Grassi Profile image for Gabriel Feippe Profile image for Joshua Canfield Profile image for Ben Bytes Profile image for adfasf asdfasdfadsf Profile image for Joseph Price Profile image for Alex Jose Silva Profile image for shai alon Profile image for Mohamed Alaa Profile image for akhil gupta Profile image for Mauro Artizzu Profile image for Tae Kim Profile image for Noemi Totos

jQuery animated scroll

1 // ANIMATED SCROLL 2 3 $(".scroll").click(function(event) 4 { 5 //prevent the default action for the click event 6 event.preventDefault(); 7 8 //get the full url - like mysitecom/index.htm#home 9 var full_url = this.href; 10 11 //split the url by # and get the anchor target name - home in mysitecom/index.htm#home 12 var parts = full_url.split("#"); 13 var trgt = parts[1]; 14 15 //get the top offset of the target anchor 16 var target_offset = $("#"+trgt).offset(); 17 var target_top = target_offset.top; 18 19 //goto that anchor by setting the body scroll top to anchor top 20 $('html, body').animate({scrollTop:target_top}, 500); 21 });

Comments

Profile image for Alessandro Grassi axxe16 2011-10-20

Utile grazie!

Profile image for Landon Sanders landonsanders 2013-01-17

Awesome!

Profile image for Noemi Totos noemitotos 2015-12-02

Great!

Profile image for Profesor Habib Love Spell 2017-05-18

Love Spells - Free Magic Spells - Spells Of Magic- Bring back your EX Wife/girlfriend-Revenge Spell
www.supervoodomagic.com | SMS (281) 671-4022 | For Powerful spells that work
Love spells are a very tough topic, and they can be very powerful as well. If you looking to bring back your lover then you are at the right place.
Profesor Habib has helped a lot of people get back their loved one and you can be rest assured he is the right one to do what ever spell you need.
No matter what the problems may have been, you can rejuvenate the love without affecting free will with love spells that bring back a lost lover. ... The spells to return a lover or bring back an ex can be cast by yourself or by a real professional spell caster. ... These powerful spells ..
Love spells are just one of the many kinds of spells but it is by far the most requested whether it is a love spell for attracting a worthy lover, attracting love itself
or bring back your ex-lover, i can do all that for you.
www.supervoodomagic.com | SMS (281) 671-4022 | For Powerful spells that work | Voodoo Spells | Voodoo Love spells

lemon spell to get ex back | Lemon Love Spell | This particular love spell is designed to bring back your ex, and is pretty easy to do.

Contact :
www.supervoodomagic.com
Text or call (281) 671-4022 |

Contact :
www.supervoodomagic.com
Text or call (281) 671-4022 |

Contact :
www.supervoodomagic.com
Text or call (281) 671-4022 |

Contact :
www.supervoodomagic.com
Text or call (281) 671-4022 |
Tags
spells for beginners | spells | Real Love spells Love magic spells that work and breakup spells | Free Love Spells, Love Magick, and Amulets used in Love Magic Spells | Bring Back Your Ex Lover Fast |
spells meaning | spells that work instantly | magic spell bookeasy spells | magic spell words| spells that work instantly with proof | free love spells that work fast |cast a love spell |www. carder007.cards | www.Carder007.Live | www.Carder0077.biz |
love spells chants| love spells | wicca free | easy love spells | love spell perfume | simple love spells | love spell victoria secret |

Contact :
www.supervoodomagic.com
Text or call (281) 671-4022 |