Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
646 views
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:

https://www.fullstack.cafe/interview-questions/aspnet-mvc

Is there any plugin for this to achieve?
by
Are you referring to infinite scroll https://github.com/yshiga/q2a-infinite-scroll ?
by
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 :
https://www.fullstack.cafe/interview-questions/aspnet-mvc/what-is-aspnet-mvc

But view is same only answers are popping up with each click
by
It's a toggle button written in Javascript. I thought you are a programmer.
by
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
by
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.
by
Anyway, I would like to opt out of this conversation.
by
Thanks for your reply appreciate it

Please log in or register to answer this question.

...