kswedberg / jquery-smooth-scroll

Automatically make same-page links scroll smoothly
MIT License
1.97k stars 427 forks source link

smoothscroll missing the destination,gets closer at multiple clicks #81

Closed sgtpwnd closed 8 years ago

sgtpwnd commented 8 years ago

Hello and thank you for the plugin, First off I had this working perfectly before and im not sure why all the sudden im getting a different result, here is my html alternatively you can look at it at, metrodetroitmusic.com The last thing I added before this happened was add a jsonp call instead of a json call

Detroit Music App

Metro Music Detroit

listen.upload.attend.

Playlists

music search

```
```

Attend

#detroitmusic

```
``` ```
sgtpwnd commented 8 years ago

the weird thing is every time you click it it gets closer, after like the 5th click its where it should be, Ive tried divs with no height so it could only be returning one area and not the middle of it but that didnt work

sgtpwnd commented 8 years ago

oh i fiqured it out, i put a zoom on the page in css, that was what is responsible

kswedberg commented 8 years ago

Glad you got it worked out!