Great tutorial! I used it for my site and it is looking very nice. My only issue is that my external links to other pages or other sites are not working. Is there a way to fix that?
Thank you :)
By the way, this is the first time I am working with jQuery ;)
Thank you very much for posting this awesome tutorial. I'm not sure if your answering any questions but I'll give it a shot. When using the "easing" technique is it possible to use the tooltop jQuery script also? Seems when I using a tooltop function then use that to scroll down it doesn't work. Its almost like I can only use on or the other. Let me know if this is possible. Again, thanks
@iiamshad can you explain what the issue is a lil more? If your talkign about the jquery tooltip from jquery tools it might have issues because they don't follow the jquery standards. But idk yet.
@optikalefxx Thanks alot! New to jQuery... I was getting ready to start coding a solution for smooth scroll in javascript... However, one line is a bit easier to change...
@optikalefxx how do i place this jquery effect to apply only to a div class? like i have a menu on the left side and a content div on the right site i want to click on the menu and the menu just stays and it automatially scrolls the right side to the a tag ?:S
Hey! couple of months ago thnx to your explanations i started to use jquery scrollto it s wierd now it works well by all browser except chrome:S when i just click to link it doesnt move anywhere.. what should i do? thnx
@kalabiandarkness It doesn't "do" anything. $ by itself is an alias for jQuery. But infront of a variable it just is a visual que for me that that variable is actually a jquery object.
Its great!! thats excatly what i was lookin for..and it s workin fine by me except the speed:( as i click it just jumps..where m i wrong? can you help me pls? thx..
@optikalefxx it does scroll(jump) when i click to link.. but whether i add that or not: $("body,html").animate({ scrollTop : toPosition },2000,"easeOutExpo");
@optikalefxx doesnt change anything:( hey anywhere can i download all those codes? maybe i write wrong somewhere..its better dont take your time too..
I love the video. I ALMOST have it working on my page. It seems to only scroll to the top, and not to the other anchors. I have my anchors in separate divs that go down the page.
dont return false at the end..use prevent default to prevent default browser behaviors... you are killing any script that precedent's with the return false.
Sorry i was typing the comment on my ipad and accedently hit send. I mean if you have a link to another page, like /otherpage.php#section3 the script will try to find and scroll to section3 on the current page and return false, so you cant reach other pages if the link contains a hash...
Wow! Your videos are so good! You explain everything very well and this scrolling animation effect is something I sometimes see on websites and always wanted to know how this really works!
I have a suggestion for your next tutorial if you want:
How to do a loading bar with js/jQuery that really shows the loading process while a part of the page is being loaded.
Is it possible to do such a loading bar like the one here at the top of the page: designersunited.gr
@optikalefxx Aaaaah right. Yeah, cause I'm just getting into learning jQuery and wanted this effect and couldn't for the life of me get 'ScrollTo' to work for the page. That would explain it, I thought I was going mental. Well thanks for the help, cheers.
This video helped me out on a new business and marketing website i am about to launch and when i got the animated page scroll to work on my 'About us' section i was jumping around the room LOL - Cheers
Genius! thanks man!!!:))
demesamarcclenn 2 weeks ago
i love hash
nycpd75 1 month ago
how to activate slide without any event?! thanks, aleksandar.
S3rbi4n 1 month ago
Hi,
Great tutorial! I used it for my site and it is looking very nice. My only issue is that my external links to other pages or other sites are not working. Is there a way to fix that?
Thank you :)
By the way, this is the first time I am working with jQuery ;)
10goodday 2 months ago
Thank you very much for posting this awesome tutorial. I'm not sure if your answering any questions but I'll give it a shot. When using the "easing" technique is it possible to use the tooltop jQuery script also? Seems when I using a tooltop function then use that to scroll down it doesn't work. Its almost like I can only use on or the other. Let me know if this is possible. Again, thanks
iiamshad 6 months ago
@iiamshad can you explain what the issue is a lil more? If your talkign about the jquery tooltip from jquery tools it might have issues because they don't follow the jquery standards. But idk yet.
optikalefxx 6 months ago
Doesn't work with crhome. Any ideas why?
thomaskirk3 7 months ago
@thomaskirk3 yes, chrome updated and killed some stuff. change the toPosition to this line
var toPosition = $toElement[0].offsetTop;
optikalefxx 7 months ago
@optikalefxx Thanks alot! New to jQuery... I was getting ready to start coding a solution for smooth scroll in javascript... However, one line is a bit easier to change...
thomaskirk3 7 months ago
@optikalefxx how do i place this jquery effect to apply only to a div class? like i have a menu on the left side and a content div on the right site i want to click on the menu and the menu just stays and it automatially scrolls the right side to the a tag ?:S
nycpd75 1 month ago
Hey! couple of months ago thnx to your explanations i started to use jquery scrollto it s wierd now it works well by all browser except chrome:S when i just click to link it doesnt move anywhere.. what should i do? thnx
hal7mar 7 months ago
my links are div tag not a tag and so are my anchor point ie: contact button(div tag) links to div id="contact" but it does not work
i changed the all the a tags to div tags in the script but still nothing?
itsrron 8 months ago
@itsrron You really should change them back to A tags. Reason is if javascript is turned off the anchors still work.
At any rate, lets see the code and ill take a look
optikalefxx 8 months ago
@optikalefxx hey i need ur help !!!!
nycpd75 1 month ago
Very nice animation ;) I going to try it :P
TheAndroGeek 8 months ago
Thank you so much! :D
lifeb4u 9 months ago in playlist jquery
It's my first time to see those "$" signs. What does it do?
kalabiandarkness 10 months ago
@kalabiandarkness It doesn't "do" anything. $ by itself is an alias for jQuery. But infront of a variable it just is a visual que for me that that variable is actually a jquery object.
optikalefxx 10 months ago
Its great!! thats excatly what i was lookin for..and it s workin fine by me except the speed:( as i click it just jumps..where m i wrong? can you help me pls? thx..
hal7mar 11 months ago
@hal7mar does is scroll at all? or just jumps as if the animation isn't there at all?
optikalefxx 11 months ago
@optikalefxx it does scroll(jump) when i click to link.. but whether i add that or not: $("body,html").animate({ scrollTop : toPosition },2000,"easeOutExpo");
it just jumps...
hal7mar 11 months ago
@hal7mar Change easeoutexpo to linear
optikalefxx 11 months ago
@optikalefxx doesnt change anything:( hey anywhere can i download all those codes? maybe i write wrong somewhere..its better dont take your time too..
hal7mar 11 months ago
I love the video. I ALMOST have it working on my page. It seems to only scroll to the top, and not to the other anchors. I have my anchors in separate divs that go down the page.
megmuzz 11 months ago
@megmuzz does it work normal if you don't have the javascript? Make sure your naming your anchors and links correctly.
optikalefxx 11 months ago
dont return false at the end..use prevent default to prevent default browser behaviors... you are killing any script that precedent's with the return false.
vacholino 1 year ago
Sorry i was typing the comment on my ipad and accedently hit send. I mean if you have a link to another page, like /otherpage.php#section3 the script will try to find and scroll to section3 on the current page and return false, so you cant reach other pages if the link contains a hash...
arnoldiusss 1 year ago
Dont you need to check if the Hash is on the same page? Otherwise
arnoldiusss 1 year ago
@arnoldiusss What do you mean exactly?
optikalefxx 1 year ago
Great video, thanks!
would this work horizontally or diagonally?
Joshy789 1 year ago
Thank you for this, helped alot. :)
God bless!
iceteea 1 year ago
Wow! Your videos are so good! You explain everything very well and this scrolling animation effect is something I sometimes see on websites and always wanted to know how this really works!
I have a suggestion for your next tutorial if you want:
How to do a loading bar with js/jQuery that really shows the loading process while a part of the page is being loaded.
Is it possible to do such a loading bar like the one here at the top of the page: designersunited.gr
I know this one's a full flash pa
agerpic 1 year ago
Comment removed
deejayedwards 1 year ago
@deejayedwards For some reason it doesn't work for the page.
optikalefxx 1 year ago
@optikalefxx Aaaaah right. Yeah, cause I'm just getting into learning jQuery and wanted this effect and couldn't for the life of me get 'ScrollTo' to work for the page. That would explain it, I thought I was going mental. Well thanks for the help, cheers.
deejayedwards 1 year ago
I love this effect and so happy to have found this video! Again, you made it easy enough for a beginner to understand and follow, thank you...!!!
utsukusih 1 year ago
@utsukusih great! I'm glad it helped you out.
optikalefxx 1 year ago
This video helped me out on a new business and marketing website i am about to launch and when i got the animated page scroll to work on my 'About us' section i was jumping around the room LOL - Cheers
NeoReloaded00 1 year ago
@NeoReloaded00 thats awesome! glad it helped.
optikalefxx 1 year ago