I'm using your plugin on my website. I have faq module where the questions are displayed. When you click on the question, you get scrollable box with the answer. I'd like to apply scrollTop method to set top "0" each time user clicks on the question and he gets window with the answer. It works as it should when I switch between questions with long answers where scrollbar is visible. Unfortunatelly when I have short answer the scrollbar is not visible and than when I switch to the longer one scrollbar is not displayed anymore. I initialize plugin on click. Do you have any suggestion how it can be fixed?
Hi,
I'm using your plugin on my website. I have faq module where the questions are displayed. When you click on the question, you get scrollable box with the answer. I'd like to apply scrollTop method to set top "0" each time user clicks on the question and he gets window with the answer. It works as it should when I switch between questions with long answers where scrollbar is visible. Unfortunatelly when I have short answer the scrollbar is not visible and than when I switch to the longer one scrollbar is not displayed anymore. I initialize plugin on click. Do you have any suggestion how it can be fixed?
Thanks, K