Home > Basic Functions > ccc xc > Web Applications > Web F1 Application Help
Web F1 Application Help
You can add context sensitive help to your Web application so that when a user presses the F1 key, the help system is displayed. Follow the steps below to add F1 context sensitivity to your Web application.
1. Open the main page of your web application using an HTML editor such as Visual Studio or a text editor such as Windows Notepad. This is an example of a simple webpage.
<html><body> <br><br>My Web Application </body></html> |
2. Add the following code to capture the F1 key and display the help system.
Open a Dynamic Help System
<html><body onhelp="window.open('http://www.domain.com/help', '_blank');return false;"> <br><br>My Web Application </body></html> | Open a Static Help System
<html><body onhelp="window.open('help/default.htm', '_blank');return false;"> <br><br>My Web Application </body></html> | * the url above assumes that the static help system is in a sub folder named 'help'
3. Open the html file in your browser. Press F1 to display the help system in a new window.
See also
|