Forcing a XOT LO to open full screen

Plus d'informations
il y a 7 ans 1 semaine #5783 par a511197
Forcing a XOT LO to open full screen a été créé par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 1 semaine #5784 par ronm
Réponse de ronm sur le sujet 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/

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 1 semaine #5786 par a511197
Réponse de a511197 sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 1 semaine #5789 par ronm
Réponse de ronm sur le sujet 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/
Les utilisateur(s) suivant ont remercié: a511197

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 1 semaine #5791 par a511197
Réponse de a511197 sur le sujet Forcing a XOT LO to open full screen
Will give that a go, thanks Ron

If you can use Lego, you can use Xerte

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmalimcn
Temps de génération de la page : 0.127 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo