Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Plugins by
How is this site stay in same view but url changes when each questions are clicked, can we achieve this for QA website?

Click on each questions and you see url is change but view is same with that question expanded with answer:


Is there any plugin for this to achieve?
Are you referring to infinite scroll https://github.com/yshiga/q2a-infinite-scroll ?
I meant when each question is clicke for example:
Q1: What is Layout in MVC?   
url changes to https://www.fullstack.cafe/interview-questions/aspnet-mvc/what-is-layout-in-mvc

again when question 2 is clicked ie:
Q2: What is ASP.NET MVC?  
again url changes to :

But view is same only answers are popping up with each click
It's a toggle button written in Javascript. I thought you are a programmer.
I am  not asking about show and hide I am asking about the entire url is changed when clicked on questions, pls try n see
Right click on the title, inspect elements, you will see the "Event", which links to the associated javascript. If you want to replicate, then study that Javascript file.
Anyway, I would like to opt out of this conversation.
Thanks for your reply appreciate it

Please log in or register to answer this question.