• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help analysing a functionlity  RSS feed

 
pramod talekar
Ranch Hand
Posts: 367
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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.

Myntra-screen.PNG
[Thumbnail for Myntra-screen.PNG]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
pramod talekar
Ranch Hand
Posts: 367
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Could you please have a look on URL and guide me.

Thanks so much !
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
pramod talekar
Ranch Hand
Posts: 367
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Bear !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!