Sorry for this question but I'm inspecting a 'Go to top' element on a website to understand how it works.
I could not find the distance to scroll down to make it visible and how it works when I click it.
I was expecting something like but didn't see anything like it which made me more curious.
Attaching the firebug description for the element here. Please let me know if any more details are required.
Your help is greatly appreciated.
Obviously something is taking the scroll-to-top class and implementing the functionality. What libraries are included on the page?
Remember, most of these advanced functionalities are not going to be implemented in HTML, which being focused on structure has limited behavioral functionality. Behaviors are the purview of JavaScript and CSS3.
Thanks Bear for your response.
I didn't find any libraries but there are many scripts included and few of them had ScrollToTop class mentioned in them.
Sorry, but I do not have time to inspect each library included by the site to find that particulate piece of functionality. You'll need to look at the code for each library and see which hooks onto the scroll-to-top class and instruments it to perform the functionality you are asking about.