Page 1 of 1
Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:06 am
by dbnz
Стандартный поиск по сайту. Как сделать чтобы при листании пагинации страничка поднималась в верх к шапке сайта.
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:10 am
by zinc
Please post in English. Use Google translate if you have to but post in English so more people can help you.
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:15 am
by Pablo
Standard site search. How to make the page go up to the top of the site when paging through pagination
What exactly did you do?
What are your settings?
Can you please be more specific?
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:20 am
by dbnz
https://catalog-soft.ru/index.html?q=1111
If you skip pagination at the bottom, then the page remains at the bottom
It is necessary that when you click on pagination, the page rises to the top
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:23 am
by Pablo
The pagination menu dynamically reloads the content, so it does not affect the state of the scrollbar.
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:27 am
by dbnz
Are there any ways to set up or change the code of acceptance of what? When pressed, scrolling to the top occurred simultaneously
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:29 am
by Pablo
I do not think there is an easy way to implement this, because how will the menu know where to scroll to?
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:41 am
by dbnz
In the pogination there is an arrow in front (") when you click on it, the page flips and at the same time it rises to the top
in the link is added (#)
Is it possible to do takde with the rest of the pogination?
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 7:47 am
by dbnz
for(d=0;d<r;d++)g="<a>"+(d+1)+"</a>",$("<li></li>").html(g).bind("click",
It seems to me here somewhere you can add (#) I found this code in the file wb.sitesearch.min.js
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 8:01 am
by Pablo
I'm sorry, I cannot help you with custom coding.
But you have a suggestion then you can post it in the 'Suggestions' section of this forum.
If more users find this useful then I will consider it for future development.
Re: Стандартный поиск по сайту
Posted: Tue Feb 16, 2021 8:11 am
by dbnz
ОК