문제

I'm looking for a plugin that does the following:

  • Presents the multiple options
  • Based on that answer it "scrolls" within a div to the next question
  • Upon answering that question it scrolls to an answer

Think of it kind of like a question flowchart but then done in jQuery.

Does anyone know if such a thing exists yet?

Thanks!

Dennis

도움이 되었습니까?

해결책

the jquery scrollto plugin (http://demos.flesler.com/jquery/scrollTo/) would be a good start i think. you'll have to do the question-scrolling logic yourself though.

다른 팁

Had some time so I threw an example together on jsfiddle using the scrollTo plugin that @Andy mentioned. Give it a whirl, I think it'll do what you're looking for.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top