2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Updated templates to look a bit better and include the limesurvey customonLoad function

This commit is contained in:
azammitdcarf
2010-07-29 02:20:45 +00:00
parent 384f2e5539
commit 77af800507
3 changed files with 8 additions and 20 deletions

View File

@@ -1,20 +1,8 @@
</td> </td>
</tr> </tr>
</table> </table>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready( if(typeof Custom_On_Load == 'function'){
function() Custom_On_Load();
{ }
$("input[type=checkbox]"+ </script>
", input[type=radio]").each(function(ndx)
{
label = $(document.createElement("LABEL"));
label.attr("htmlFor", this.id);
label.addClass("kbd-access");
label.append("["+ (ndx + 1) +"]")
$(this).before(label);
return (ndx < 9);
});
});
</script>
</body>

View File

@@ -1,6 +1,6 @@
<!-- START: question_start.pstpl --> <!-- START: question_start.pstpl -->
<span class="asterisk">{QUESTION_MANDATORY}</span>{QUESTION_TEXT}<br /><span class="questionhelp">{QUESTION_HELP}</span> <span class="asterisk">{QUESTION_MANDATORY}</span>{QUESTION_TEXT}<br/>
{QUESTION_MAN_MESSAGE} {QUESTION_MAN_MESSAGE}
{QUESTION_VALID_MESSAGE} {QUESTION_VALID_MESSAGE}

View File

@@ -223,7 +223,7 @@ td.answer {
} }
td.questionhelp { td.questionhelp {
font-size:10px; font-size:12px;
background-color:#eef6ff; background-color:#eef6ff;
padding-left:1em; padding-left:1em;
} }
@@ -910,4 +910,4 @@ div#wrapper {
.kbd-access { .kbd-access {
margin-right: 1em; margin-right: 1em;
} }