Forcing a XOT LO to open full screen

  • a511197
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 1 week ago #5783 by a511197
Forcing a XOT LO to open full screen was created by a511197
Hi all,

I'd like a XOT LO to open full screen automatically when a user clicks on the url. Can this be done?

I'm aware of the Display Mode "Fill Window" option but that doesn't automatically open the LO in full screen when a user clicks on the link for the LO. I'm sure there must be some script that would do this without the end user needing to click on the maximise button. At this stage I only want to apply this to a single XOT LO and not to the XOT project template at server level. I've read a previous post from 2018 which indicated it could be done at server level but that's not what I'm looking for.

Appreciate any insight from all those script wizards out there,
Alison

If you can use Lego, you can use Xerte

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

More
7 years 1 week ago #5784 by ronm
Replied by ronm on topic Forcing a XOT LO to open full screen
Hi Alison
what exactly do you mean by automatically open in full screen - Do you mean the equivalent of pressing F11 where there is no browser address bar etc a bit like when you view a PowerPoint show?

Where are you putting the link that users will click? If in a vle then VLE's will often have options to open in different ways?

HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

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

  • a511197
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 1 week ago #5786 by a511197
Replied by a511197 on topic Forcing a XOT LO to open full screen
Hi Ron,
This is the behaviour I'm looking to replicate:
xerte.cardiff.ac.uk/play_4219?utm_source...&utm_medium=referral
This specific resource I'm building will be in a mailing list, so url link that I want to launch full screen.
many thanks,
Alison

If you can use Lego, you can use Xerte

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

More
7 years 1 week ago #5789 by ronm
Replied by ronm on topic Forcing a XOT LO to open full screen
Hi Alison
ok that's a very different question and isn't actually full screen it's just plain old fill window but custom css has been added to the LO to make the background image fill the whole container and the header and footer to be transparent. We do a similar thing with some of the future teacher talk LOs where the first title page has a full image background and then subsequent pages have a mix of pages with the normal header and footer and no background image e.g. learningapps.co.uk/futureteacher/play_124#resume=1 and learningapps.co.uk/futureteacher/play_145#resume=1

In the example from Cardiff (By Neil Pollock) there's custom code and css on every page changing the background image and creating the more info link but fundamentally these are all just the xerte object set to fill window with custom code and css to change the background image and header/footer styles etc.

A simple way to achieve this on a title page is to add the following custom css to your title page:
Code:
#x_background { background:url(FileLocation + 'media/yourimage.jpg '); background-repeat: no-repeat; background-size: cover; } #x_headerBlock { background: transparent; } #x_footerBlock { background: transparent; } #x_footerBg { background-image: none; } #x_pageNo { background: transparent; }
Upload the background image you want to the media folder of the project then change yourimage.jpg in the css to the name of the uploaded file but keep the rest e.g. FileLocation as it is.
This will work for a title page or plan text page etc but obviously not for the whole range of page types where a backhround image would be covered by other elements.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
The following user(s) said Thank You: a511197

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

  • a511197
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 1 week ago #5791 by a511197
Replied by a511197 on topic Forcing a XOT LO to open full screen
Will give that a go, thanks Ron

If you can use Lego, you can use Xerte

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

Moderators: ronmalimcn
Time to create page: 0.141 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo