ScrollTo jumping to anchor
- Cavespider
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
2 years 8 months ago #64144
by Cavespider
ScrollTo jumping to anchor was created 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)
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.
2 years 8 months ago #64145
by ced1870
Joomlack Webmaster and Developer
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
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.
- Cavespider
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
2 years 8 months ago #64164
by Cavespider
Replied by Cavespider on topic ScrollTo jumping to anchor
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.
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.
2 years 8 months ago #64166
by ced1870
Joomlack Webmaster and Developer
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
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.
- Cavespider
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
2 years 8 months ago #64167
by Cavespider
Replied by Cavespider on topic ScrollTo jumping to anchor
Absolutely, I get that.
I'll get that sorted and reply here.
Thank you
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