Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Question index, no scrollbar

  • WilliPuhdlich
  • WilliPuhdlich's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 3 months ago #210884 by WilliPuhdlich
Question index, no scrollbar was created by WilliPuhdlich
Hi.
We are running Version 3.25.4+201215 of Limesurvey.
Currently, we would like to allow navigation back/forth through the survey, while using the question index (top right) to help navigation across groups.
If you have a lot of groups, the navigation-window for the question index gets so high that it disappears with most of the contents down the bottom of the browser's window. You my not access the further groups below it since there is no scrollbar for the question index window. Is this a bug or may I change this with help of the theme? Can anybody help out?
See attached picture of the navigation window (question index). If there are more groups, the problem occurs.
Regards
Peter

Thanks for helping!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210885 by tpartner
Replied by tpartner on topic Question index, no scrollbar
What survey theme are you using?

can you attach a sample survey (.lss file) demonstrating the issue?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • WilliPuhdlich
  • WilliPuhdlich's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #210886 by WilliPuhdlich
Replied by WilliPuhdlich on topic Question index, no scrollbar
I am using fruity (an extended version, though).

The lss-Example has to be done... hold on.

Thanks for helping!
The topic has been locked.
  • WilliPuhdlich
  • WilliPuhdlich's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago - 3 years 2 months ago #210897 by WilliPuhdlich
Replied by WilliPuhdlich on topic Question index, no scrollbar
 

File Attachment:

File Name: 50 Kapitel...piel.lss
File Size:665 KB
This LSS is an example with 51 chapters/groups which results in a question-index-window that exceeds the dimensions of the browser window.

Thanks for helping!
Last edit: 3 years 2 months ago by WilliPuhdlich.
The topic has been locked.
  • WilliPuhdlich
  • WilliPuhdlich's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #210898 by WilliPuhdlich
Replied by WilliPuhdlich on topic Question index, no scrollbar
Here you can see what it looks like (there are 51 chapters).

Thanks for helping!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210903 by DenisChenu
Replied by DenisChenu on topic Question index, no scrollbar
Not perfect …
Code:
.ls-index-menu .dropdown-menu{
max-height: 60vh;
overflow: auto;
}
the 60vh is 60% of height of the screen

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner, WilliPuhdlich
The topic has been locked.
  • WilliPuhdlich
  • WilliPuhdlich's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #210979 by WilliPuhdlich
Replied by WilliPuhdlich on topic Question index, no scrollbar
Thanks for the reply - where do you want me to add this code?

Thanks for helping!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210981 by DenisChenu
Replied by DenisChenu on topic Question index, no scrollbar

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: WilliPuhdlich
The topic has been locked.
  • WilliPuhdlich
  • WilliPuhdlich's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #210984 by WilliPuhdlich
Replied by WilliPuhdlich on topic Question index, no scrollbar
This is doing the job! Thanks a lot!

DenisChenu" post=210903Not perfect …

Code:
.ls-index-menu .dropdown-menu{
max-height: 60vh;
overflow: auto;
}
the 60vh is 60% of height of the screen
 


Thanks for helping!
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #211000 by DenisChenu
Replied by DenisChenu on topic Question index, no scrollbar
Looking at the sample : i think have a autocomplete system here can be very cool ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • WilliPuhdlich
  • WilliPuhdlich's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #211124 by WilliPuhdlich
Replied by WilliPuhdlich on topic Question index, no scrollbar

DenisChenu wrote: Looking at the sample : i think have a autocomplete system here can be very cool ;)
 

Maybe you are right. Honestly, it takes more than 2 months to dig through all the manual pages. What I did is to check the forum for answers.
Sorry!

Thanks for helping!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #211128 by tpartner
Replied by tpartner on topic Question index, no scrollbar
Denis was not criticizing, he was suggesting that maybe an autocomplete function may be useful for such a long index.

- jqueryui.com/autocomplete/
- github.com/TarekRaafat/autoComplete.js

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: WilliPuhdlich
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose