Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Opening the manual in a "clean" window

Featured Replies

When clicking the "User Manual" button normaly you get a window with al the toolbars etc... I didn't like it so I decided to do something about it:

add this to the top of your wpi.htm

function openManual(MyURL)
{
window.open(MyURL,"mypopup"," status=no,toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes");
}

(between the script-tags)

and change the following section in wpi.htm

	 <!-- The user manual. -->
         <div id="ManButton"><a href="./UserManual/manual.html" target="_blank" onMouseDown"document.ManualButton.src='./themes/Glossy/manual.gif';" onMouseOver="document.ManualButton.src='./themes/Glossy/manualOver.gif'; stm(getText(ttmanual),Style[0]);" onMouseOut="document.ManualButton.src='./themes/Glossy/manual.gif'; htm()">
         </b></font> <img src="./themes/Glossy/manual.gif" align="absbottom" class="mainbtn" border="0" name="ManualButton">
   <font class="side"><b><script>document.write(getText(lblmanual));</script>
 </div>
</td>

to

	 <!-- The user manual. -->
         <div id="ManButton"><a href="./UserManual/manual.html" target="mypopup" onMouseDown"document.ManualButton.src='./themes/Glossy/manual.gif';" onMouseOver="document.ManualButton.src='./themes/Glossy/manualOver.gif'; stm(getText(ttmanual),Style[0]);" onMouseOut="document.ManualButton.src='./themes/Glossy/manual.gif'; htm()" onClick="openManual('./UserManual/manual.html')">
         </b></font> <img src="./themes/Glossy/manual.gif" align="absbottom" class="mainbtn" border="0" name="ManualButton">
   <font class="side"><b><script>document.write(getText(lblmanual));</script>
 </div>
</td>

Now we have a clean window without those ugly bars ;)

Edited by Ghost82

@Ghost82

im trying to test your script out and im having some trouble a good few errors keep attacking me .

could you attach your wpi.htm file so i can see this further

ok ive tested it and i see a few problems with your method ghost

your using a chromeless windows approach and the problem with that is that it automatically opens in full screen, and you cant preset the size limit

second you have no control functions to close the screen other then a alt+F4 method.

but thank you for showing me your wpi.htm file ill see if i can alter its size limit, position and control features

Edited by Lost Soul

  • Author

Ow, sh*t... I forgot, I had made a few modifications to the file because I wanted to really integrate the manual but I haven't figured out how to position the manual inside the actual WPI screen... hope you can help with that.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.