I was asked recently if I could copy a teaching resource from a सीडी-रॉम onto a laptop computer. This particular program is mostly एचटीएमएल with some embedded videos. वहां थे 2 problems with running it from a local shortcut.
1. Internet Explorer security warnings
2. The full-screen window is launched by a parent browser window which then sits on top of the full screen window and has to be closed when the full screen window is exited
Both of these are only annoyances rather than critical failures, but a complete solution involves fixing these kind of things. Finding a solution was a little tricky, but once the solution presented itself it was very simple.
To address the security warnings requires changing an option in the ‘Internet Options’ control panel. Under the advanced tab scroll down to the “security” options and tick the option “allow active content to run in files on My Computer*”
window.open("container.html", "popup", "fullscreen=1, left=0, top=0, menubar=no, resizable=no, status=no, scrollbars=no");
Credit to phdcc for the code
इस उपयोगी पाया? कृपया हमें सूचित करते नीचे एक टिप्पणी छोड़ने के द्वारा. आप सदस्यता के लिए चाहते हैं, तो ऊपर दाईं ओर मेनू पर लिंक का उपयोग करें सदस्यता लें. आप नीचे दिए गए सामाजिक लिंक का उपयोग करके अपने दोस्तों के साथ इस साझा कर सकते हैं. चियर्स.