August 2, 200521 yr 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.htmfunction 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 August 2, 200521 yr by Ghost82
August 2, 200521 yr i changed the code ages ago when i designed the guide to make it a cleaned resized window by adding on to blinktds ideal, but it was never taken into effect http://www.msfn.org/board/index.php?showtopic=50645 Edited August 2, 200521 yr by Lost Soul
August 2, 200521 yr I couldn't get your code to work with the lang section.If you want to give me hand modifying the manual that would be lovely.
August 2, 200521 yr @Ghost82im 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
August 2, 200521 yr @Lost Soul: here's the file. Hope it helps!<{POST_SNAPBACK}>thank you ill test this out and post back soon
August 2, 200521 yr ok ive tested it and i see a few problems with your method ghostyour using a chromeless windows approach and the problem with that is that it automatically opens in full screen, and you cant preset the size limitsecond 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 August 2, 200521 yr by Lost Soul
August 2, 200521 yr 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