Actions

Translations

Theme editor/135/sl: Difference between revisions

From LimeSurvey Manual

No edit summary
m (FuzzyBot moved page Translations:The template editor/135/sl to Translations:Template editor/135/sl without leaving a redirect: Part of translatable page "The template editor".)
(No difference)

Revision as of 15:10, 11 September 2017

Message definition (Theme editor)
Some users may need to run Javascript on the survey pages, but calling '''checkconditions()''' in the BODY element made it impossible to do so. This call has been replaced with a small JavaScript function in the HEAD that sniffs for the existence of '''checkconditions()''' and '''template_onload()''' before calling them. In this way, a template author can create his or her own '''template_onload()''' function in the HEAD that replaces the default one.

Nekateri uporabniki bodo morda želeli poganjati Javascript na straneh ankete, vendar klicanje checkconditions() v BODY elementu to onemogoča.  To lahko nadomestite z manjšimi JavaScript funkcijami v glavi (HEAD), ki preiščejo obstoj checkconditions() in template_onload() preden kliče posamezno funkcijo.  Na ta način lahko avtor predlogeustvari svojo lastno funkcijo template_onload() v glavi (HEAD), ki zamenjajo privzete.