WYSIWYG EDITORS
TABLE OF CONTENTS
WYSIWYG
Editors
-
- acronym for "What You See Is What You Get"
- WYSIWYG editors let you develop a web page without knowing HTML
- All WYSIWYG editors have some problems which force you to look at the
code
-
- Common WYSIWYG Editors include Netscape Composer, Word, WordPerfect,
HotMetal, FrontPage, etc.
-
- Problems with each
-
Netscape Composer, FrontPage, and HotMetal require that (1) the
user learn an additional software package; and (2) lacks the internal
capabilities to create equations. FrontPage also takes control of your
hard disk and creates mirror images of a web site. All have some flaws
that require the user to look at HTML code.
-
Word is not truly a WYSIWYG editor, and thus frustrates users each time
they publish a page.
-
WordPerfect is WYSIWYG and correctly publishes pages MOST of the time.
At times you must republish graphics.
A Brief
Look at Netscape Composer
MOVIES
-
Open a new page to create an HTML File. Under File, select
New
-
From the New submenu, select Blank Page
-
A new blank page will be created in Netscape Composer.
-
Creating a simple file
-
From the Format menu,
-
Select Align, and then Center.
-
Select Heading, and then 1.
-
Type in the page title of "WYSIWYG Is Easy"
-
Place a horizontal rule in the file
-
From the Tool Bar select H. Line
-
Move down one line and change the alignment to left.
-
Under Format select Align and then Left,
or select the alignment tool on the Property Bar to change the alignment.
-
Type in the text, "I am now going to create a table.", Enter a new line
by hitting the Enter key.
-
Type in the text, "True-False"
Creating
a Table
-
Select the Table icon on the Tool Bar.
-
Change the following in the Table dialog
-
Number of rows = 3
-
Number of columns = 3
-
Change the Cell spacing to 0.
-
Change the Cell padding to 0;
-
Deselect "Border line width"
-
Deselect "Equal width columns"
-
Type in the rows as (see the sample table in Figure 2)
-
Cell (1,1) as "T F"
-
Cell (1,2) as "1."
-
Cell (1,3) as "This is my first question."
-
Cell (2,1) as "T F"
-
Cell (2,2) as "2."
-
Cell (2,3) as "This is my second question."
-
Cell (3,1) as "T F"
-
Cell (3,2) as "3."
-
Cell (3,3) as "This is my third question."
-
With your mouse cursor over the table, press your right mouse button and
select Table Properties.
-
Change the Table width to 650
-
Change the drop-down list from "% of window" to "pixels".
-
Close the dialog box.
-
Put your cursor in Cell (1,1), and open the Table Properties Dialog box.
-
Select the "Cell" tab at the top of the property window.
-
Change the Cell width to "6" "pixels"
-
Press the Close button
-
Put your cursor in Cell (1,2), and open the Table Properties Dialog box.
-
Select the "Cell" tab at the top of the property window.
-
Change the Cell width to "4" "pixels"
-
Press the Close button
-
From the Property Bar, change the alignment for each cell in columns 1
and 2 to right.
Advantages
of Using A Wordprocessor - A Look at Wordperfect
The advantage of using your wordprocessor is that doing this leaves
fewer computer software packages to use. WordPerfect seems to provide the
best fit between WYSIWYG web page development and word processing.
MOVIES
-
Enter WordPerfect.
-
Change the view by selecting View from the Menu Bar, and then selecting
Web Page
-
Select the "Perfect Expert" icon
on the Tool Bar.
-
Note that the Internet Publisher appears on the left-side of the document
screen to help you with HTML publication.
-
From the "Internet Publisher"
-
Pull down "Change Background" and pick a light background color.
-
Pull down the "Add a Title" and then pick "For the Title Bar"
-
The HTML Document Properties dialog box appears. Enter the title "Graphics."
Select the "Summary" tab and enter in the appropriate information for your
document. Select the "Text/Background Colors", and note that you can set
the link colors, the default background color. The background wallpaper
should be set to the graphic you selected for the background image.
-
With the alignment icon
on the Property Bar, change the alignment to Center
-
Add a Heading1 to the document using the "Add a Heading" drop down list
from the Internet Publisher
-
Type in the heading "Graphics" and press the Enter key.
-
Add a horizontal rule by going to Insert and selecting Horizontal
Line, or go to Extras on the Internet Publisher and select "Add a Horizontal
Line"
-
Change the alignment to "Left" (see step 5)
Inserting
Graphics
-
Select Insert from the Menu Bar.
-
Place your cursor over Graphics and select Draw
picture.
-
Create the following graphic. Your instructor will show you how.

-
Animated gifs can add a little humor to your text. They are extremely small,
and therefore cost little in load time. From this web page, select and
save the "blinkredball.gif" icon that proceeds on of the sections. To do
this,
-
view this page in your browser;
-
select one of the blinking red balls in the view with your mouse;
-
press the right mouse key and select the menu item Save Image
as... Save the image to your disk noting where it is being saved.
-
select the Insert menu from the WordPerfect Menu Bar;
-
select Graphics and from the menu select From File...;
-
when the file dialog box appears, go to the directory where the blinkredball.gif
file was saved and select it.
-
It should appear on your screen, although it will not blink until it is
in your Internet browser;
-
with the graphic still highlighted press the right mouse button;
-
change the Size or Position of the box. DO NOT EDIT THE IMAGE since
WordPerfect cannot edit animated gifs and doing so will destroy the animation
properties.
-
Creating an Equation is simple too.
-
from the Menu Bar select Insert and then select Equation;
-
in the editor create the equation y = mx + b;
-
close the editor;
-
press your right mouse button with the equation still selected;
-
change the Position... to Paragraph and the alignment to
centered.
Other Features of WordPerfect
Note since WordPerfect is a word processor, you have access to most
of its features in Web view including tables, hyperlinks, bookmarks, lists,
forms, spell checker, grammar checker, thesaurus, etc. This is what makes
the word processor, and in particular WordPerfect, my choice for web page
development.
-
To insert a hyperlink or bookmark select the hyperlink icon
from the Tool Bar
-
To publish the document to HTML (save the file in its native WordPerfect
format first)
-
Go to the File menu
-
Select the Internet Publisher item
-
Select Publish to HTML, set the directories if necessary and press ok.
-
Upon completion
-
Check the file in a web browser to ensure it is correct.
-
Using either Netscape Composer or Notepad, correct any items that did not
publish correctly. Generally, there are few if any mistakes.
JavaScripting
JavaScripting allows you to perform some useful tasks that occur on
the client's computer. JavaScripting is programming, and thus can have
syntax errors. There is too much to JavaScripting to go into detail here.
The book Desigining with JavaScript by Nick Heinle is a good starting
reference book. The following are examples of JavaScripting I have used.
-
Change the status bar as the mouse passes over a hyperlink or graphic
-
Recall
the hypertext link format is <A HREF="<URL>document.htm">text</A>.
To change the status line, you will need to change the line to <A HREF="<URL>document.htm"
onMouseOver="self.status='Text to appear in status line.';return true"
onMouseOut="self.status='';return true">text</A> The javascript, onMouseOver="self.status='Text
to appear in status line.';return true" must be typed in exactly as shown.
Of course, you can change the text between the single quotes to anything.
The onMouseOut line simply clears the status line when the mouse is no
longer over the hyperlink. JavaScript can be case-sensitive. For instance,
onMouseOver could be OnMouseOver and the browser will have no problem with
the upper-case O. However if true is spelled True, this will generate a
JavaScripting error in the browser. Bottom line is always test your JavaScripting.
-
Verify entries in forms
-
Time the length of an exam
-
Rotate graphics
-
Create a scrolling message bar.
-
Open Windows inside of the browser.
File
Transfer Protocol
File Transfer Protocol (FTP) is the means by which you transfer files
to a server. If you control your own server, this will mean giving yourself
authorization to use the disk space. See your server documentation on how
to do this. For those of you who use space on a server controlled by someone
else, see your server administrator for authorization to write files to
the server. You can get FTP software from your technical support people
or your computer people. This software lets you transfer files from your
computer to the server. Always check the files once they are on the server
to ensure they are correct. Not all servers can handle long filenames.
Discuss with your server administrator the format of your filenames.
... and always, back up your work.
Exploring
the Web
Some of the best ways to learn HTML is to view what others have done.
For instance if you like a particular page, then view the source code.
Most browsers will let you do this. If they don't then save the page to
disk and view the source code with Notepad or some other ASCII editor.
In the remainder of this lesson visit these web sites and view the source
code.
REFERENCES
This workshop and its materials are the property of
Dr. Charles Ghilani
Copyright © 1999