Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > positioning FAQ to top of page View modes: 
User avatar
Member
Member
new-guy - 8/31/2011 7:14:42 PM
   
positioning FAQ to top of page
I notice on your FAQ at http://devnet.kentico.com/FAQs/General.aspx#FAQ46
that when user clicks on a question, it positions to top of page. This is very easy for user to follow & understand.

When we implemented webpart: cms.questionlistansweronclick
clicking on a question does NOT position the question to the top of the page.

How do we achieve the same functionality as your FAQ?

User avatar
Member
Member
kentico_michal - 9/1/2011 5:16:28 AM
   
RE:positioning FAQ to top of page
Hello,

This is achieved by the anchor link that allows you to redirect to specific places within the page:

http://devnet.kentico.com/FAQs.aspx#FAQ351

I would like to point you to following articles to get more information:
Anchors and links, Links

Best regards,
Michal Legen

User avatar
Member
Member
i-like-kentico - 9/1/2011 10:17:40 AM
   
RE:positioning FAQ to top of page
Thanks Michal.

Is it possible to close all an open FAQ automatically when another one is opened?

User avatar
Member
Member
kentico_michal - 9/2/2011 1:15:28 AM
   
RE:positioning FAQ to top of page
Hello,

You will need to use javascript to achieve this functionality. There are a lot articles on the internet that give you more information.

Best regards,
Michal Legen