ScrollTo jumping to anchor
- Cavespider
- Offline Topic Author
- New Member
- Posts: 4
- Thanks: 0
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)
by Cavespider
Please Log in or Create an account to join the conversation.
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
by ced1870
Please Log in or Create an account to join the conversation.
- Cavespider
- Offline Topic Author
- New Member
- Posts: 4
- Thanks: 0
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.
by Cavespider
Please Log in or Create an account to join the conversation.
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
by ced1870
Please Log in or Create an account to join the conversation.
- Cavespider
- Offline Topic Author
- New Member
- Posts: 4
- Thanks: 0
Absolutely, I get that.
I'll get that sorted and reply here.
Thank you
I'll get that sorted and reply here.
Thank you
by Cavespider
Please Log in or Create an account to join the conversation.
Time to create page: 0.755 seconds