Writing Webpages with Wesley: A Workshop for Educators
All materials © 1997-2000 by Wesley A. Fryer
wfryer@tenet.edu

INTERMEDIATE COURSE

www.wtvi.com/html

  1. Targets/Anchors/Bookmarks: Linking within a webpage
  2. Tables: Displaying data in rows and columns
  3. Images: Colors, imagemaps, and animations
  4. Multimedia: Inserting sound clips, movies, and more
  5. Frames: Displaying several webpages at once
  6. Guestbook: An introduction to forms
  7. Uploading webpages

Extras:

  1. PDFs: Creating and inserting Adobe's cross-platform, portable document files
  2. Javascript Rollover Images: Images that change when the mouse cursor passes over or clicks them
  3. HyperStudio: Publishing stacks directly on the web


1. TARGETS / ANCHORS / BOOKMARKS

Quick Reference

Just as you can create a link which takes visitors to another webpage, you can create links which take visitors to a different place on the same page. You can also create a link which takes a visitor to a specific place on another webpage. This is done by creating anchors, which are also called "targets" or "bookmarks."

Step 1: Create Anchors

Creating an Anchor / Bookmark

Claris Homepage
Netscape Composer
MS Frontpage 2000
  • Click on the "Insert Anchor" button on the Claris HomePage toolbar. It looks like a ship anchor:
  • Type in a name to replace the default name "Anchor" in the dialog box: .
  • Pick a name you will be able to recognize and remember later.
  • Save the file to your hard drive.

  1. From the INSERT menu choose BOOKMARK.
  2. Type the word (no spaces) that you want to name the bookmark. Pick a name you will be able to recognize and remember later.
  3. Click OK.
  4. Save the file to your hard drive.

Step 2: Link to the Anchor

Link to an Anchor / Bookmark

(use this sample)
Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. If they are not already open, from the FILE menu choose OPEN for both the file you want to link TO and the file you want to link FROM.
  2. Follow the same initial steps to create a relative link.
    1. Type the text or insert the image which you want to serve as a link to the next page.
    2. Highlight the text you want to link, or click once on the inserted image you want to link.
    3. Click once on the link editor:
  3. Instead of clicking on "Browse Files...", click on the URL pop-up menu button in the upper right corner of the dialog box. The URL pop-up menu button is circled in red in the following graphic:
  4. From the resulting list, select the file you want to link to AND the target on that file you specifically want. In the following example, a link to the OPEN FILE named "default.htm" is being made, to the TARGET named "Webpage Inservice Outline."
  5. Click on the close box on the link editor to finish. You're done!

  1. If they are not already open, from the FILE menu choose OPEN for both the file you want to link TO and the file you want to link FROM.
  2. Follow the same initial steps to create a relative link.
  3. After selecting the file to link to, at the bottom of the dialog window beside BOOKMARK, choose the name of the desired bookmark to link to:
  4. Click OK to finish. You're done!

Targets are especially helpful on long documents. They can be used effectively in a table of contents or for bibliographic citations. The paper "American POWs in Southeast Asia and the Violation of a National Ethic" (http://www.wtvi.com/wesley/powmia/powpap8.html) uses targets as precise links to the bibliography.

Another example of effectively used anchors/bookmarks is this list of AR books.

As a practice assignment, save this sample webpage and modify it to:

  1. include anchors/bookmarks for tests that are multiples of 100
  2. include "Return to Top" links beside the tests that are multiples of 100


2. TABLES

Quick Reference

If you want more control over the relative placement of graphics and text on your webpages, you need to use tables.

Insert a table and set options

Claris Homepage
Netscape Composer
MS Frontpage 2000
  • Click on the insert table button on the Claris HomePage toolbar. It looks like this:
  • SIZE: Specify the number of rows and columns you want by typing a number in the corresponding boxes in the upper left corner.
  • BACKGROUND COLOR: Choose a background color for the table if desired, or choose a background image. Beware: Older web browsers (like Netscape 2.0) will not display background colors for tables. If you choose to put white text on a dark table background, it may not be readable by all visitors.
  • BORDER: If you want the table's grid lines to be invisible, enter "0" beside "Border." If you want wider grid lines, choose a number like "3" or "4."
  • Close the "table options window" when finished.

  • Click on the insert table button :
  • Select the desired size:
  • Right click the table and choose TABLE PROPERTIES to change SIZE, BACKGROUND COLOR, BORDER, etc. (See descriptions of these to the left.)

Enter and format text in the table:

left aligned

Bold Text

right aligned

Red Text
centered
Linked Text

Edit table cell settings

Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. Double click on one of the cell grid lines to display the "table options window."
  2. Click on the "Cells" tab at the top of the window. It is circled in red in the image below:
  3. SPAN: Make one row extend across the entire table by entering the number of columns in your table in the box next to "Span." In the example below, I made the first cell have a column span of "3."
  4. ALIGNMENT: If you have more text or an image in a cell, you might want to choose Vertical Align = Top.
  5. COLORS: Again, beware that older browsers don't display individual cell background colors or background images.
  6. In the example below, the top row has a column span of "3".

  1. Right click the cell you want to format and choose CELL PROPERTIES:
  2. Change SPAN, ALIGNMENT, COLORS, etc. as desired (see descriptions to the left).

Gold Text

Here is an example of white text, which is so long that it wraps to the next line. Since this cell has more information than others, I have selected cell alignment options in the cells to the right. The cell below is blank, and therefore does not even have the background color displayed.

Aligned to the Top
Aligned to the Bottom

Aligned to the Middle

THE TRICKIEST PART: WIDTH AND HEIGHT

Gold Text

Here is an example of white text, which is so long that it wraps to the next line. Since this cell has more information than others, I have selected cell alignment options in the cells to the right. The cell below is blank, and therefore does not even have the background color displayed.

Aligned to the Top
Aligned to the Bottom

Aligned to the Middle

ADVANCED TABLE TECHNIQUES:

Webpage Templates

Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. From the FILE menu, select OPEN.
  2. On your hard drive, find the Claris HomePage folder. Open the "page_templates" folder.
  3. Open a file like "calendar_monday.htm"
  4. You can now edit this file and make it your own calendar.

  1. On the FILE menu, point to NEW, click Page, and make sure the GENERAL tabl is selected.
  2. Choose the desired page template.
  3. You can now edit this file as desired.


3. ADVANCED IMAGE TECHNIQUES

Quick Reference

In General

Image Formats

Cross-Platform Considerations

Image tag options

Creating and using background images

Imagemaps: A webpage graphic with defined "hotspots" which, when clicked on, serve as links to other webpages.

  1. Using GraphicConverter (Mac), PaintShop Pro (Win), PhotoShop (Mac/Win), or another graphics program create an image which will have "hotspots" and serve as an image map for your website. You can export an image created with Inspiration to create an attractive sitemap (Example).
  2. Key: make it clear where people can click to make something happen!
  3. Insert the image into your webpage that you want to make into an imagemap.

Creating an Imagemap

(use this sample)
Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. Double click on it. In the pop-up window, click on the "Behavior" tab at the top:
  2. Click on the "Image map" radio button and click on "Edit."
  3. Select the rectangular or circular link tool:
  4. Click and drag on your image map to draw rectangles or circles to define "hotspots." Click on the link editor to create relative or absolute links.
  5. Close the window. You're done!
  6. Choose to preview the webpage in your browser and test the hotspot links.

  1. From the PICTURES TOOLBAR (probably at the bottom of the screen), click on either the rectangular or circular hotspot tool: .
  2. The polygonal hotspot tool can be used to create irregularly shaped closed figures to be used as hotspots:
  3. Use the pencil (your cursur) to click and drag, creating a box or circle over the part of the image you want to make a linkable hotspot:
  4. After defining the hotspot, use the CREATE HYPERLINK dialog window to specify either an absolute link or relative link to a webpage you have already created and saved.
  5. Click OK to save the link. You're done!
  6. Choose to preview the webpage in your browser and test the hotspot links.

Animated Graphics

Considerations when designing for TV (from MacWorld Dec 96 p. 173)

Other Cool Tricks


4. MULTIMEDIA

Quick Reference

 Obtain Sound Clips or Movies

Insert a Movie Clip

Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. Move your saved quicktime movie into your website folder. (sample)
  2. Click on the spot where you want the movie displayed.
  3. From the INSERT menu at the top of the screen, select QUICKTIME MOVIE...
  4. Find the movie you saved on your hard drive, select it, and click on OPEN.
  5. Double click on the movie to set its options:
  6. You can choose to change the display size, make the movie loop over and over, auto-play (start playing immediately once loaded), and display a movie controller.
  7. Alternatively, you can MAKE A LINK to your movie file instead of inserting it into a webpage.

  1. Click on the spot where you want the movie displayed. (sample)
  2. From the INSERT menu at the top of the screen, select ADVANCED and then PLUG IN.
  3. Click the browse button and select the movie you want to insert.
  4. Enter text you want displayed if viewers do not have the correct plugin. This can include a link where the plugin can be obtained.
  5. Click OK to close all dialog boxes.
  6. Alternatively, you can MAKE A LINK to your movie file instead of inserting it into a webpage.

Play a Sound File


5. FRAMES

Quick Reference 

 Setting Up a Webpage with Frames

A webpage using frames actually uses several different webpages at once. An example is Woodbridge School in Great Britain (http://www.woodbridge.suffolk.sch.uk/).

1. Create pages to be included

The first thing you need to do is create the webpages which will be put together. I suggest creating:

A navigation page that list links, which will be displayed in a narrow frame on the left side of the screen (Save this page as nav.html)

An information page, which will be displayed in the large main window to the right of the navigation page. (Save this page as main.html)

2. Create a "Frame Set"

Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. First, open both your navigation page and your information page in Claris HomePage.
  2. From the FILE menu, choose NEW and then FRAME PAGE. Then click OK.
  3. Click in the boxes next to the pages you want to include in the frame-set: your navigation page and your information page. Leave the frame orientation set to "Vertical."
  4. The two pages should now be displayed in the left and right half of the screen.

  1. On the FILE menu, point to NEW, click Page, and then click the FRAMES PAGES tab.
  2. Click a frames page template (VERTICAL SPLIT).
    • When you click a template, FrontPage displays a thumbnail showing that template's frames layout in the Preview area.
    • It also displays a summary and suggested use of the template in the Description area.
  3. Click the SET INITIAL PAGE button in the left frame.
  4. Locate and select nav.html
  5. Click the SET INITIAL PAGE button in the right frame.
  6. Locate and select main.html

3. Resize frames

Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. Double click on the left frame.
    • Enter a name like "nav" beside "Frame Name."
    • Click on the "Appearance" tab. Set the SIZE to 20 percent.
  2. Click on the right frame.
    • Enter a name like "info" beside "Frame Name."
  3. Click on the "Appearance" tab. Set the SIZE to 80 percent.

  1. Right click the left frame and choose FRAME PROPERITES.
  2. Beside WIDTH, change the popup menu from RELATIVE to PERCENT.
  3. Change the number beside WIDTH to 20

 

4. Set "Default Target Frame"

Claris Homepage
Netscape Composer
MS Frontpage 2000
  1. From the WINDOW menu at the top of your screen, select your navigation page (nav.html).
  2. Click on the document options button () and then click on the PARAMETERS tab.
  3. Enter the name you gave the right frame ("info" in my example) below DEFAULT TARGET FRAME.
    1. Save the navigation page again.

  1. Right click the left frame and choose PAGE PROPERITES.
  2. Click the right frame in the previewed version:
  3. Click OK twice.

View the Finished Webpage Using Frames


6. GUESTBOOK

Quick Reference

Modify an existing guestbook

SIMPLE GUESTBOOK/FORM SOLUTION:


7. UPLOADING WEBPAGES

Quick Reference

Uploading webpages means "publishing" your pages so other people on the internet can view them. Publishing a web is basically copying the files from your computer to a destination, such as a Web server or a disk. ALL the resources referenced in your webpages must be included in these copied files.

If you have set up the "skeleton" of folders and files correctly on your hard drive, you will need to create directories on your server account that correspond to your folder names, as described in Section 2. You will also need to upload all HTML and image files into these directories from their corresponding folders.

In some cases, other individuals may handle uploading for you. In this case, you probably will save your webpages onto a disk. Alternatively, you can create a compressed "zip" file composed of your website and send it as an email attachment to someone else to upload.

If you have to upload webpages yourself, first obtain the address of your account on the server. Also obtain your password. Carefully note uppercase and lowercase letters! Record this information and store it in a safe place for future reference.

Sources for free webspace:

Recommended FTP Software:

Steps for Uploading:

  1. Save your webserver account hostname, username, password, and initial path as a shortcut / favorite in your FTP program.
  2. Open your saved shortcut to connect to the server.
  3. Create new directories / folders at the root level of your server directory as desired.
  4. Use the PUT / UPLOAD buttons to upload files to the server.
    1. In Fetch, click PUT FILE to upload single files, or from the REMOTE menu choose PUT FOLDERS AND FILES to upload multiple files together.
    2. In FTP Explorer, once a directory is created you can drag and drop files and folders from your desktop into the FTP Explorer window to upload files.

 

Alternatively you can use Claris HomePage to upload your webpages and image files. It will ensure all images to your document are uploaded and that your links are correct.

 


Made on a Mac!Built by Claris HomePageCourse and Website by Wesley A. Fryer of Lubbock, Texas.
Site sponsored by
WesTech Vision Inc.