Ghost82 Posted August 2, 2005 Posted August 2, 2005 (edited) 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, 2005 by Ghost82
Lost Soul Posted August 2, 2005 Posted August 2, 2005 (edited) 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, 2005 by Lost Soul
Kelsenellenelvian Posted August 2, 2005 Posted August 2, 2005 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.
Lost Soul Posted August 2, 2005 Posted August 2, 2005 @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
Ghost82 Posted August 2, 2005 Author Posted August 2, 2005 @Lost Soul: here's the file. Hope it helps!wpi.htm
Lost Soul Posted August 2, 2005 Posted August 2, 2005 @Lost Soul: here's the file. Hope it helps!<{POST_SNAPBACK}>thank you ill test this out and post back soon
Lost Soul Posted August 2, 2005 Posted August 2, 2005 (edited) 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, 2005 by Lost Soul
Ghost82 Posted August 2, 2005 Author Posted August 2, 2005 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now