Check out the LimeSurvey source code on GitHub!

Urgent issue with dropdown options

More
6 years 1 month ago #55342 by tpartner
We sorted this out. Removing the footer element of the admin pages prevented the insertion of Carstens nice new JavaScript that controls menu-bar and sub-question/answer behaviour.

Rather than removing the footer element in the source code it can be hidden by adding something like the following to the end of /admin/styles/default/adminstyle.css:
.footer {
                height:3px;
                margin:0 0 40px 0;
                padding: 0;
}
 
.footer div {
                display: none;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 1 month ago #55357 by Mazi

tpartner wrote: We sorted this out. Removing the footer element of the admin pages prevented the insertion of Carstens nice new JavaScript that controls menu-bar and sub-question/answer behaviour.

Did I get this right that there is some JS connected to the footer element at the admin backend?
So when removing the footer the whole JS breaks and causes the problems described earlier?

If so, we should really change the way the JS is integrated because there are probably quite a lot installations with a modified/removed footer!?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 1 month ago #55367 by tpartner

...we should really change the way the JS is integrated...


No, the JavaScript is inserted after the footer element and was removed with the footer element. Quite often the best place for JavaScript is at the end of the <body> element. I don't think any changes are required.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 1 month ago #55398 by Mazi
Thanks for your feedback!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form