![]() |
JavaScript Editor: the jsEditor helps you to quickly and easily write JavaScript. Its utilities help you create and manage Internet files, including Style Sheets. [ JavaScript Tutorial][ Computer Stuff][ jsEditor][Register the jsEditor online now and download immediately] Code HelpWhen writing JavaScript, you type a 'dot' before you add properties, functions, etc. With jsEditor, when you type a 'dot (.)' Code Help will appear (if you are in the JavaScript area), and if what you have typed is recognised, then a list of properties appear in Code Help. For instance, if you type document. then code help appears as follows:
You can use Code Help to insert names and IDs that exist in your document.
It is good practice to give names and IDs meaningful names, as in the example. Below is a screen shot of jsEditor with Code Help. The Code Help box is visible and the popup menu shows the options:
This means that you can modify the Code Help as you wish, by adding new JavaScript functions, events, etc. Whenever you type a dot, Code Help appears and you continue typing in Code Help until you find your item selected in the list below. You then press return to insert this item - correctly spelt and with the correct case. The image below shows code Helper appearing after typing the "dot" after "location". Pressing <return> here will enter "location" into the page (document.location) and the Code Help Screen will disappear. If you press escape, the screen will disappear and make no changes. If the required item isn't in Code Helper, pressing <return> will enter the code you have written so far into the page. Right-click to add new code or remove old code, etc. The idea is that you build up your own list of items and write them in a way that helps you, rather than to have a list that attempts to satisfy everyone and which becomes more difficult to use. The screen shot below is from Windows XP, and it will look different on other systems (different colours).
The screen shot below, shows the popup menu:
You have the options of:
If Code Helper annoys you (as when typing "....", etc!), you can disable it by going to the Main Menu Options. Pressing F5 will always bring up Code Helper. In this way, you do not have to wait for Code Helper to appear after typing a dot. Keeping with the screen above, you could start with "location" as the first word in code. ; |