- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How can I add page loading spinner while starting or resuming survey
- schouhan
- Topic Author
- Offline
- New Member
Less
More
4 years 2 months ago #193176
by schouhan
How can I add page loading spinner while starting or resuming survey was created by schouhan
Hi All,
I want to add a page loading spinner while launching a new survey or resuming partially submitted surveys. How can I achieve this in limesurvey? Please help me on implementing this.
I'm using lime-survey-3.21 version.
Please anyone respond soon.
I want to add a page loading spinner while launching a new survey or resuming partially submitted surveys. How can I achieve this in limesurvey? Please help me on implementing this.
I'm using lime-survey-3.21 version.
Please anyone respond soon.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 2 months ago #193178
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How can I add page loading spinner while starting or resuming survey
Hi,
you may have a look at Denis' "skelvanilla" theme (available in LimeStore).
There is a spinner implemented.
Joffm
you may have a look at Denis' "skelvanilla" theme (available in LimeStore).
There is a spinner implemented.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 2 months ago #193203
by DenisChenu
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 How can I add page loading spinner while starting or resuming survey
Better to get it on
extensions.sondages.pro/themes-and-templ...bility/download.html
Else : it's css + js
JS : gitlab.com/SondagesPro/SurveyThemes/skel...s/skelvanilla.js#L93
CSS : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.css#L28-54
Else : it's css + js
JS : gitlab.com/SondagesPro/SurveyThemes/skel...s/skelvanilla.js#L93
CSS : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.css#L28-54
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.
- oledole
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 0
3 years 11 months ago #198311
by oledole
Replied by oledole on topic How can I add page loading spinner while starting or resuming survey
Hei, sorry for reviving this old thread, but I came across this when looking for a loader similar to what is in your theme. I wanted to use this for my own theme. However, just taking the css/js part you've linked doesn't work. Do one need to use some of the twig template too?
The topic has been locked.
- oledole
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 0
3 years 8 months ago #203966
by oledole
Replied by oledole on topic How can I add page loading spinner while starting or resuming survey
Asking again here since its been some months without development.
I think this is something a lot of people wants (seems thread have quite a few views), but I think a lot of people have own theme and must manage to make this work in their own theme. Is there a possibility to provide a more detailed description of how to manage this? As I said, using the same code that was linked above didn't seem to work for me, so I'm assuming something else must be done too that I've overlooked.
I think this is something a lot of people wants (seems thread have quite a few views), but I think a lot of people have own theme and must manage to make this work in their own theme. Is there a possibility to provide a more detailed description of how to manage this? As I said, using the same code that was linked above didn't seem to work for me, so I'm assuming something else must be done too that I've overlooked.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
3 years 7 months ago #204401
by DenisChenu
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 How can I add page loading spinner while starting or resuming survey
The principle
The html have 2 separate content
1. The main content : gitlab.com/SondagesPro/SurveyThemes/skel...t_global.twig#L30-56
2. The loader : gitlab.com/SondagesPro/SurveyThemes/skel...yout_global.twig#L58
If js is activated : (body have class js by limesurvey-core system)
Then we hide main content during loading : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.css#L33-35
We show loader during loading : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.css#L55-57
When all javascript is done : we update the body class name : from body-loading to body-loaded : gitlab.com/SondagesPro/SurveyThemes/skel...kelvanilla.js#L95-97
And we attach events on the action button (and specific link) : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.js#L98-111
Before i use unload, but this broke with some link …
The html have 2 separate content
1. The main content : gitlab.com/SondagesPro/SurveyThemes/skel...t_global.twig#L30-56
2. The loader : gitlab.com/SondagesPro/SurveyThemes/skel...yout_global.twig#L58
If js is activated : (body have class js by limesurvey-core system)
Then we hide main content during loading : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.css#L33-35
We show loader during loading : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.css#L55-57
When all javascript is done : we update the body class name : from body-loading to body-loaded : gitlab.com/SondagesPro/SurveyThemes/skel...kelvanilla.js#L95-97
And we attach events on the action button (and specific link) : gitlab.com/SondagesPro/SurveyThemes/skel...elvanilla.js#L98-111
Before i use unload, but this broke with some link …
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.