( Back to Contents )
Topic: Main Windows
Editor Page (HTML Mode) |
|
Preview Page(HTML Mode) |
|
When you open a file or create a new file, you will see the editor window. It can be used to create html, asp and other types of files. The same window contains a preview view that will show the current version of your page. When editing any page, the line number followed byt the character number is the first item in the status bar. The second tells you if word wrap is on or off. The third tells you if the file has been modified and the fourth if the mode is insert or overwrite. As you see in the status bar shown here, word wrap should be turned off when debugging ASP since the error line numbers shown in browsers assume that word wrap is off.
- The HTML Editor is the main window where all editing takes place. Most of the menu items refer back to this page. The status bar at the bottom of the window indicates if you are in insert or overwrite mode. This mode is toggled by the Insert button on the keyboard. You may preview the appearance of your HTML document at any time by simply clicking the preview button. While you don't need to set a path to view any HTML document, you may want to if the site you are working on has a mixture of HTML and ASP files.
- The ASP Editor is the version of the HTML editor that is used for editing ASP files. When you create an ASP file, you will automatically have the asp commands added to the DHTML menu. If you are editing an HTML and an ASP file at the same time, the menus will change when you change windows. The preview bar for an ASP file is also different since it has a path button. You can use the path button to create the path to your asp file. If you press the Path button, you will see the Path dialog.
- The Path Dialog The path dialog is used to create the complete path to an ASP file (including query variables if needed). You may make a series of such paths which are stored in the combo box. You can save this list by pressing the Save Parameters button. The Load Parameters button will load previously saved paths into the combo box. To add a parameter, you must specify the file up to and including the ".asp" suffix. Once this is done, enter the name of the parameter and its value in the text boxes provided, then press the Add Parameter button. This button is only active when the ".asp" suffix, the name and value of the parameter are filled in.
- The Preview Window provides a quick preview of your web document. You should always check the appearance in various versions of the major browsers since there is considerable variation for browser to browser. The version you see here is created using Internet Explorer. The Code button is pressed to return to the code editor. Reload goes back to the document you are editing. As in other browsers, you occasionally will need to hold down the shift key and press the Go button to get a clean reload. The forward, back, go and stop buttons are used just as they are in other browsers. The location combo box keeps a site history as long as the window is active. This list is not saved.This gives you a view of the file as it would appear in your version of Internet Explorer. You can set up Red Edit to preview your document in up to three browsers.