ScrollTo jumping to anchor

More
2 years 8 months ago #64144 by Cavespider
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.

More
2 years 8 months ago #64145 by ced1870
Replied by ced1870 on topic ScrollTo jumping to anchor
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

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

More
2 years 8 months ago #64164 by Cavespider
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.

More
2 years 8 months ago #64166 by ced1870
Replied by ced1870 on topic ScrollTo jumping to anchor
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

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

More
2 years 8 months ago #64167 by Cavespider
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.214 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 456 guests and no members online