ScrollTo jumping to anchor

ScrollTo jumping to anchor was created by Cavespider

Posted 1 year 11 months ago #64144
The scrollTo function is working on links on dev.s-tax.co.uk/index.php . 'Read more' button on banner. It merely jumps to the anchor position.
I am getting this console error.

index.php:102 Uncaught TypeError: jQuery(...).scrolltock is not a function
at HTMLAnchorElement.<anonymous> (index.php:102:20)
at HTMLAnchorElement.dispatch (jquery.min.js:2:43090)
at HTMLAnchorElement.v.handle (jquery.min.js:2:41074)

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic ScrollTo jumping to anchor

Posted 1 year 11 months ago #64145
Hi
by my side it works, please try with another browser/computer and tell me if you got the same problem
you may need to clear your browser cache
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Cavespider on topic ScrollTo jumping to anchor

Posted 1 year 11 months ago #64164
Thanks for your reply.

It works because I manually added Java script to do the job, wanted it working for the client.

This is what I used:

$(".sliding-link").click(function(e) {
e.preventDefault();
var aid = $(this).attr("href");
$('html,body').animate({scrollTop: $(aid).offset().top},'slow');
});

It would be nice to get your plugin working properly.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic ScrollTo jumping to anchor

Posted 1 year 11 months ago #64166
ok, for info by default my plugin is working :)
if you want me to debug, you must setup a demo where I can check the problem, because if you show me something that works I can not do anything

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Cavespider on topic ScrollTo jumping to anchor

Posted 1 year 11 months ago #64167
Absolutely, I get that.

I'll get that sorted and reply here.

Thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.691 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 421 guests and no members online