Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
The place for more technical questions for those who want to create new pagetypes or bespoke functionality.
  • Page:
  • 1

TOPIC: adjustments page Modify Exercise

adjustments page Modify Exercise 8 months 1 week ago #5589

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 114
  • Thank you received: 1
Hi all

We are developing some Xerte recipes: pre-build Xerte LO's that can easily be used to build your own microlearning modules.

In this modules we use the Modify Excercise page (see module https://xerte.deltion.nl/play.php?template_id=893 , 6th page) We use this page to store answers of students in our Learning Record Store.
We use a RGBO based theme.

Question 1: is it with some script possible to get rid of the model answer part of this template and give the answerfield itself more space?
Question 2: Is it possible add a script to make the text in the two remaining fields as big as the rest of the module text?

Thanks!
Holy cow!

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

adjustments page Modify Exercise 8 months 1 week ago #5594

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 528
  • Thank you received: 128
Hi
I might me misunderstanding what you want to achieve but you could tray something like the following:
.x_modify_page #modelTxt {
    display: none !important;
}

.x_modify_page textarea {
	font-family:arial;
}

.x_modify_page #answerTxt {
    height: 30vmin;
    font-size: unset;
}

HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk
xerteacademy.com
learningapps.co.uk

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

adjustments page Modify Exercise 8 months 1 week ago #5595

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 114
  • Thank you received: 1
Holy cow!

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

adjustments page Modify Exercise 7 months 2 weeks ago #5622

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 114
  • Thank you received: 1
Ron

One more question:
The textarea's in this template have a special name (#answerTxt, #modelTxt). Can you tell me what is the name of the first field here?

Thanks

JaapJan
Holy cow!

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

adjustments page Modify Exercise 7 months 2 weeks ago #5623

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 528
  • Thank you received: 128
JaapJan
It looks like it's #initText e.g.
#initText{background:yellow;}
HTH
Ron

BTW are you interested/available to share how you are using Xerte and xAPI at the Apereo webinar next week? www.apereo.org/content/february-2019-webinar-what-new-xerte
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk
xerteacademy.com
learningapps.co.uk

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

  • Page:
  • 1
Moderators: jjs
Time to create page: 0.082 seconds
Copyright © 2019 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search