home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <META http-equiv="Content-Type" content="text/html; charset=utf-8" >
- <!--
- ' ***
- ' *** ------------------------------------------------------------------------------
- ' *** Filename: Accessibility.hta
- ' *** ------------------------------------------------------------------------------
- ' *** Description: Accessibility Tool
- ' *** ------------------------------------------------------------------------------
- ' *** Version: 1.0
- ' *** Notes:
- ' *** ------------------------------------------------------------------------------
- ' *** Copyright (C) Microsoft Corporation 2005, All Rights Reserved
- ' *** ------------------------------------------------------------------------------
- ' ***
- -->
- <title> </title>
-
- <script id="Common" language="VBScript" src="include/Common.vbs"></script>
- <script id="libHTA" language="vbscript" src="include/libHTA.vbs"></script>
- <script id="clsLogging" language="VBScript" src="include/clsLogging.vbs"></script>
- <script id="clsAccessibility" language="vbscript" src="include/clsAccessibility.vbs"></script>
- <script id="Accessibility" language="vbscript" src="include/Accessibility.vbs"></script>
-
- <link rel="stylesheet" type="text/css" href="css/hta.css">
- <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
- <meta name=vs_defaultClientScript content="VBScript">
-
- <hta:application ID="oImagine"
- APPLICATIONNAME="Accessibility"
- CAPTION="yes"
- CONTEXTMENU="yes"
- BORDER="dialog"
- ICON="graphics/Accessibility.ico"
- INNERBORDER="no"
- MAXIMIZEBUTTON="no"
- MINIMIZEBUTTON="yes"
- NAVIGABLE="no"
- SCROLL="no"
- SELECTION="no"
- SHOWINTASKBAR="yes"
- SINGLEINSTANCE="yes"
- SYSMENU="yes"
- VERSION="1.00"
- WINDOWSTATE="normal" />
-
- <!-- settings and resources -->
- <div id="settings" style="display:none">
- <p id="appTitle">Accessibility</p>
- <p id="Optiono1">Keep the current contrast settings or return the display to the default contrast settings.</p>
- <p id="Optiono2">Sets the display to high contrast with white text on a black background.</p>
- <p id="Optiono3">Sets the display to high contrast with black text on a white background.</p>
- <p id="Optiono4">Sets the display to high contrast with green text on a black background.</p>
- <p id="LargeFonts">Sets the display to use extra large fonts. (Not implemented in this release.)</p>
- <p id="LargePointer">Increases the size of the mouse pointer.</p>
- <p id="Magnifier">Uses the top of the screen to magnify a portion of the display near the pointer.</p>
- <p id="Narrator">A text-to-speech program than can help people who have low vision use a computer by saying the words in the active window.</p>
- <p id="SoundSentry">Tells Windows to generate visual warnings when the computer makes a sound.</p>
- <p id="ShowSound">Tells programs to display captions for the speech and sounds they make.</p>
- <p id="StickyKeys">Enables you to use SHIFT, CTRL, ALT, or the Windows Logo key by pressing one key at a time.</p>
- <p id="FilterKeys">Tells Windows to ignore brief or repeated keystrokes and slow the repeat rate.</p>
- <p id="MouseKeys">Enables you to control the pointer with the numeric keypad on the keyboard.</p>
- <p id="OSKeyBoard">Shows a keyboard on the screen that user can use with the mouse.</p>
- <p id="HighContrast">Click here to enable high contrast settings</p>
-
- <p id="CurrentCont"><u>1</u>. Current Settings</p>
- <p id="DefaultCont"><u>1</u>. Current/Default Contrast</p>
-
- <span id="ToolTipBorder">solid black 1px</span>
- <span id="ToolTipFont">normal normal normal 10pt TimesNewRoman</span>
-
- <span id="resAdminOnly">NO</span>
- <span id="resWGAOnly">NO</span>
- <span id="resDomainWarning">NO</span>
- <span id="resCloseButton">NO</span>
- </div>
- </head>
-
- <body id="oBody" onload="Main()" OnUnload = "Unload()" Onkeydown = "Onkeydown()" STYLE="cursor:wait;" OnBeforeUnload="OnBeforeUnload()">
-
- <table Id="oHeader" style="display:none"><tr><td><P id="title"></P></td></tr></table>
-
- <div id="oDiv" class="div3D" style="margin-bottom:.3em;width:38em">
- <table style="table-layout:fixed;">
- <COL Width="50%">
- <COL Width="50%">
- <tr>
- <td valign=top style="width:80em;height:14em">
- <h2 id="_locVisuals">Visuals</h2>
- <table cellpadding="0" cellspacing="1" id="tVisualsOptions">
- <tr id="trLargeFonts" style="display:none">
- <td>
- <input type="checkbox" id="chkLargeFonts" accesskey="A"><label ID="lblLargeFonts" For="chkLargeFonts"><u>A</u>. Extra Large Fonts</label>
- </td>
- </tr>
- <tr id="trLargePointer" style="display:block">
- <td>
- <input type="checkbox" id="chkLargePointer" accesskey="A"><label ID="lblLargePointer" For="chkLargePointer"><u>A</u>. Extra Large pointer</label>
- </td>
- </tr>
- <tr id="trMagnifier" style="display:block">
- <td>
- <input type="checkbox" id="chkMagnifier" accesskey="B"><label ID="lblMagnifier" For="chkMagnifier"><u>B</u>. Magnifier</label>
- </td>
- </tr>
- </table>
-
- <br>
-
- <h2 id="lblSound" ><ID id="_locSound">Sound</ID></h2>
- <table id="tSoundOptions">
- <tr id="trNarrator" style="display:block">
- <td>
- <input type="checkbox" id="chkNarrator" accesskey="C"><label ID="lblNarrator" For="chkNarrator"><u>C</u>. Narrator</label>
- </td>
- </tr>
- <tr id="trSoundSentry" style="display:block">
- <td>
- <input type="checkbox" id="chkSoundSentry" accesskey="D"><label ID="lblSoundSentry" For="chkSoundSentry"><u>D</u>. SoundSentry</label>
- </td>
- </tr>
- <tr id="trShowSound" style="display:block">
- <td>
- <input type="checkbox" id="chkShowSound" accesskey="E"><label ID="lblShowSound" For="chkShowSound"><u>E</u>. ShowSound</label>
- </td>
- </tr>
- </table>
- </td>
- <td valign=top style="width:60em">
- <h2 id="_locContrast">High Contrast</h2>
- <table>
- <tr id="trHighContrast" style="display:block">
- <td>
- <input type="Checkbox" id="chkHighContrast" accesskey="F" onclick="HighContrastClick()">
- </td>
- <td>
- <label id="lblHighContrast" FOR="chkHighContrast"><u>F</u>. High Contrast</label>
- </td>
- </tr>
- <tr style="display:block">
- <td>
- </td>
- <td id="tdHighContrast" style="width:100%" OnMouseOver="ContrastHoverText()" OnMouseOut="oToolTip.Hide()">
- <select id="ddHighContrast" style="width:85%" OnMouseOver="ContrastHoverText()"></select>
- </td>
- </tr>
- </table>
-
- <br>
-
- <h2 id="lblKBandM" ><ID id="_locKeyboardMouse">Keyboard and Mouse</ID></h2>
- <table id="tKBandMOptions">
- <tr id="trStickyKeys" style="display:block">
- <td>
- <input type="checkbox" id="chkStickyKeys" accesskey="G"><label ID="lblStickyKeys" For="chkStickyKeys"><u>G</u>. StickyKeys</label>
- </td>
- </tr>
- <tr id="trFilterKeys" style="display:block">
- <td>
- <input type="checkbox" id="chkFilterKeys" accesskey="H"><label ID="lblFilterKeys" For="chkFilterKeys"><u>H</u>. FilterKeys</label>
- </td>
- </tr>
- <tr id="trMouseKeys" style="display:block">
- <td>
- <input type="checkbox" id="chkMouseKeys" accesskey="I"><label ID="lblMouseKeys" For="chkMouseKeys"><u>I</u>. MouseKeys</label>
- </td>
- </tr>
- <tr id="trOSKeyBoard" style="display:block">
- <td>
- <input type="checkbox" id="chkOSKeyBoard" accesskey="J"><label ID="lblOSKeyBoard" For="chkOSKeyBoard"><u>J</u>. On Screen Keyboard</label>
- </td>
- </tr>
- </table>
- <br>
-
-
- </td>
- </tr>
- </table>
- </div>
-
- <!-- Footer -->
- <TABLE id=oFooter style="height:2em"><tr>
- <COL width="95%">
- <COL width="5%">
- <td><button id=btnHelp ATOMICSELECTION=True Title="Help (F1)" onclick="ShowHelp" onmouseover="Highlight btnHelp, True" onmouseout="Highlight btnHelp, False"><img align="absmiddle" src="graphics/help1.gif" alt="Help (F1)"> Help</button></td>
- <td><!--button id=btnApply ATOMICSELECTION=True Title="Apply selections" onclick="Apply()" onmouseover="Highlight btnApply, True" onmouseout="Highlight btnApply, False"><img align="absmiddle" src="graphics/yellow1.gif"> Apply</button-->
- <button id=btnFinish ATOMICSELECTION=True Title="Apply selections and close this tool" onclick="Submit()" onmouseover="Highlight btnFinish,True" onmouseout="Highlight btnFinish, False"><img align="absmiddle" src="graphics/green1.gif"> OK</button></td>
- </tr></TABLE>
-
- </body>
- </html>
-