Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Page Timers Longer than 20 Minutes 4 years 2 months ago #6968

  • Calom
  • Calom's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hi,
I would like to have a page timer that lasts longer than 20 minutes...
I am using the documentation function to make a checklist for medical examinations - in the exam we have 40 minutes to complete the whole thing so I wanted to have a page timer to remind students how long they have left.
If anyone has been able to solve this problem before, any help would be much appreciated!
Thanks!

Please Log in or Create an account to join the conversation.

Page Timers Longer than 20 Minutes 4 years 1 month ago #6991

  • Fay
  • Fay's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 229
  • Thank you received: 92
Hello
It looks like there is a maximum value set for the timer in the editor. I'll look into increasing this but in the meantime you can add the 'Script' optional property to the page and paste this code into it:
$('#x_pageTimer').remove();
x_currentPageXML.setAttribute('timer', 2400);
x_addCountdownTimer();

This overrides the value you have set in the editor. I'll admit that I haven't waited until the end of 40 mins to check the message appears at the end of the timer but it looks like it should all work correctly

Fay

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: alimcnronm
Time to create page: 0.216 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search