- Posts: 166
- Thank you received: 26
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Move the question index
- davebostockgmail
- Topic Author
- Offline
- Elite Member
Less
More
5 years 9 months ago #170919
by davebostockgmail
Move the question index was created by davebostockgmail
Currently using 2.6.4 and the Responsive Mobile Template ... but happy to change templates.
What I am looking to do is move the question index alongside the question and rescale the question box to take up more of the screen ... screen shot attached.
I know enough jquery / css to do this I just need to know the element names that need to be addressed.
Many thanks for your help on this
Dave
What I am looking to do is move the question index alongside the question and rescale the question box to take up more of the screen ... screen shot attached.
I know enough jquery / css to do this I just need to know the element names that need to be addressed.
Many thanks for your help on this
Dave
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
5 years 9 months ago #170923
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Move the question index
Use browser web developer tools to explore the source HTML.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- davebostockgmail
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 166
- Thank you received: 26
5 years 9 months ago #170924
by davebostockgmail
Replied by davebostockgmail on topic Move the question index
I did that to get the screenshot I posted ... but in doing so it made the elements non- functioning ...
It did not allow text entry into the text area and the index buttons were not "Clickable"
But thanks for the reply.
It did not allow text entry into the text area and the index buttons were not "Clickable"
But thanks for the reply.
The topic has been locked.
- LouisGac
- Visitor
5 years 9 months ago #170930
by LouisGac
Replied by LouisGac on topic Move the question index
In the twig files:
github.com/LimeSurvey/LimeSurvey/blob/ma...der/nav_bar.twig#L46
github.com/LimeSurvey/LimeSurvey/blob/ma...der/nav_bar.twig#L46
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
5 years 9 months ago - 5 years 9 months ago #170943
by DenisChenu
Else to be shown as button inside survey, surely more easy with github.com/LimeSurvey/LimeSurvey/blob/ma..._complement.twig#L20
github.com/LimeSurvey/LimeSurvey/blob/ma...n_index_buttons.twig
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.
Replied by DenisChenu on topic Move the question index
In 2.6.4 ?LouisGac wrote: In the twig files:
github.com/LimeSurvey/LimeSurvey/blob/ma...der/nav_bar.twig#L46
Else to be shown as button inside survey, surely more easy with github.com/LimeSurvey/LimeSurvey/blob/ma..._complement.twig#L20
github.com/LimeSurvey/LimeSurvey/blob/ma...n_index_buttons.twig
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.
Last edit: 5 years 9 months ago by DenisChenu.
The topic has been locked.
- davebostockgmail
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 166
- Thank you received: 26
5 years 9 months ago #170947
by davebostockgmail
Replied by davebostockgmail on topic Move the question index
I have managed to get it to a state that works ... they wanted a tabbed style survey with question groups being optional ... so to do this I added the following at the bottom of endpage.ptsl
$('#index').insertAfter($(".surveyname"));
$('#index').css('float',"left");
$('#index').css('margin-bottom',"5%");
Then styled the <li> elements with a float ... the result is in the screen shot attached ... a little more work to do on the formatting of the list to remove the automatic numbering but this should meet their needs ....
Thank you all for your replies
$('#index').insertAfter($(".surveyname"));
$('#index').css('float',"left");
$('#index').css('margin-bottom',"5%");
Then styled the <li> elements with a float ... the result is in the screen shot attached ... a little more work to do on the formatting of the list to remove the automatic numbering but this should meet their needs ....
Thank you all for your replies
Attachments:
The topic has been locked.