0Internet Explorer 9 LogoWie man HTML-basierten Programmen Vollbild starten

I was asked recently if I could copy a teach­ing resource from a CD-ROM onto a laptop com­puter. This par­tic­u­lar pro­gram is mostly HTML with some embed­ded videos. Es gab 2 prob­lems with run­ning it from a loc­al short­cut.
1. Inter­net Explorer secur­ity warn­ings
2. The full-screen win­dow is launched by a par­ent browser win­dow which then sits on top of the full screen win­dow and has to be closed when the full screen win­dow is exited
Both of these are only annoy­ances rather than crit­ic­al fail­ures, but a com­plete solu­tion involves fix­ing these kind of things. Find­ing a solu­tion was a little tricky, but once the solu­tion presen­ted itself it was very simple.


Allow Active Content to run in files on My Computer dialog box internet settings

To address the secur­ity warn­ings requires chan­ging an option in the ‘Inter­net Options’ con­trol pan­el. Under the advanced tab scroll down to the “secur­ity” options and tick the option “allow act­ive con­tent to run in files on My Com­puter*”

To address the pop-up issues requires a small adjust­ment of the JavaS­cript code that launches the full-screen win­dow. The fol­low­ing code will launch a new full-screen win­dow and close the par­ent win­dow without any prompts…

Cred­it to phd­cc for the code

Haben Sie ein paar Gedanken des eigenen? Lassen Sie sich unten durch die Kommentierung! Wenn Sie bitte abonnieren möchten den Link oben rechts auf dem Menü abonnieren verwenden. Sie können auch unten unter Verwendung der sozialen Bindungen diese mit Ihren Freunden teilen. Prost.

Hinterlasse eine Antwort