. http://www.shuilongs.com/cios/cios255htmlIII.html


UAS Logo
U NIVERSITY OF A LASKA
S OUTHEAST break bar
SITKA CAMPUS
CIOS 255
Elaine Craddick-Patt

HTML III

break bar
Introduction | Advanced Tutorials | Frames
Image Maps | Splash, Java, and Applets
break bar

Introduction

Welcome to HTML III with a few beginning Java Scripts and Applets thrown in for good measure.

Advanced Tutorials

Advanced HTML covers many different areas. From HTML 4.0, XML and DHTML connections, Floating Frames and Marquees that only work with IE+, to Multi-Column Text which only works in Netscape, and beyond. You name it, it's out there or it's on it's way!

Assignment:
  1. Below are a few sites that offer some advanced previews of codes to come and some nice little tweaks and tricks to add along the way. Visit several of the sites to find an advanced HTML tweak that you would like to attempt.
  2. Include one advanced HTML technique in your web page. Tell the instructor what you included.
  3. What can we expect to see in future HTML versions?
  4. What are a few codes that have been written that work in some browsers but not in others?

Frames

Frames enable you display more than one web page on the screen. Frames divide the screen into multiple, scrollable regions enabling you to present information in a more flexible and useful fashion. Each frame can be given an individual URL and name, allowing it to be targeted by documents in other frames. Each frame can also be resized by the user.

Assignment:
  1. Read the Sizzling Jalfrezi Introduction to Frames document.
  2. Study the Source Codes for one or more of these frames sites:
  3. Create an experimental frames site (usually three or more documents.)
  4. Upload the documents to your web site.
  5. Send the instructor the URL to your sample frames web site.
  6. Tell the instructor about your frames experience.
  7. Do you think that using frames on web sites is using good web design techniques? Why or why not? A few more tutorials about using frames:

Image Maps

You know that an image can serve as a hyperlink and that clicking anywhere on the image will activate the link. Image maps take this one step further. Image maps make it possible to mouse over and click on various parts of an image to take you to different URLs! For example, the Alaska Weather Geographic Map makes good use of image maps since the viewer can select regions on the map to link to the report about the region.

There are two types of image maps: server-side and client-side. Server-side image maps are the earliest developed and are supported by all browsers. Server-side image maps display the URL of the image map itself, but not the URL of the page to be loaded. Client-side image maps are a more recent development and not all browsers support them. However, as they are more efficient and easier to implement, they are quickly becoming the norm. Client-side image maps are able to display the URL of the hyperlink being moused over in the status bar of the web browser.

Examples of Image Maps: Image maps can be created in two different ways, by using an Image Map program or by determining exact coordinates of the perimeters of areas using an image editing program and writing the code yourself.

Creating an image map with an Image Map editor requires a five step progress.
  1. Choose the type of Image Map editor you want to use.
  2. Download and install the editor to your computer.
  3. Select an image to be used as the image map.
  4. Map the image using the editor.
  5. Include the map information in the HTML code.
  6. Connect the image with the map information.
Creating an image map with a Graphics editor is a four step progress.
  1. Select an image to be used as the image map.
  2. Define the areas of the image map. * requires you understand the HTML required to create Area references.
  3. Include the map information in the HTML code.
  4. Connect the image with the map information.
Assignment:
  1. Complete the CWRU Image Mapping tutorial.
  2. What is the difference between a client-side image map and a server-side image map?
  3. Create a practice or sample image map of any type. You may download and use an Image Map editor or create one by "scratch" with your Graphics editor.
  4. Include it in an HTML document.
  5. Upload the map file, and document to your Web Site.
  6. Send the image map sample page URL to the instructor.
  7. Tell the instructor about your experience.
Other Tutorials about using Image Maps:

Splash Screens, Java Scripts Extensions, and Applets

Most of the information you retrieve from the World Wide Web using your browser is static, just as the pages in a book are. As you have seen, pages that are exceptions to this can be created using features like animated gifs, forms, and plug-ins. A few bells and whistles can improve the feel a user gets for a set of pages. For example, splash screens, applets, or some JavaScript can be used to spruce things up. However, it is better to include too few fancy items rather than to go overboard (Re: the Budd Uggly teaching site).

Splash Screens:
A splash screen is a temporary page (or "about box") that displays while the program is loading in the background or that disappears just before the next document is loaded. An example of this is the following site: Screenworthy's . In order to create this splash screen a meta tag refresh script was used.
< META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.screenworthy.com/main.html" >

Java Script Extensions:
JavaScript is a "scripting" language that was developed with the World Wide Web in mind. It is used for adding dynamic features to Web pages. JavaScript is not Java. Java is a seperate programming language distinct from JavaScript. Java programming is studied in the Web Programming I class. Many people confuse the two languages because of the similarity of their names. JavaScript statements are typically embedded directly within HTML code, in contrast to Java Applets and Java programs which are included seperately. JavaScript is a simple, interpreted programming language whereas Java is a compiled object-oriented programming language.

You have probably seen lots of Web pages that contain JavaScript code but perhaps were unaware they do. This page is has several examples. At the bottom of this document (if you are allowing Javascript to run on your browser) you should see an "updated" statement. This statement is automatically generated by the Document Updated script. If you clicked on the document update hyperlink you noticed that that a smaller browser box opened that contained the script. This was done with the Pop Up Boxes script. Above we discussed the Meta Tag Refresh script. If you mouse-over the menu at the footer of this page you will notice that the Status Bar Mouse Over script.

Assignment:
  1. The Java Script HTML Extensions document offers several tweaks. Choose one to use on one of your web pages -or- choose one of the scripts used on this page and linked in the above paragraph -or- choose one of the scripts from the Java Script Links list below.
  2. Send the instructor the html extension that you tried and the URL it is displayed on.
A Few more Java Script Links: Applets:
The idea behind applets is to allow even greater capabilities in terms of embedding dynamic content into otherwise static Web pages. Think of an applet as a "little application." An applet is a small program, written in the Java language, that the user downloads from a Web server and then runs locally on their own computer with their browser. (This is in contrast to a CGI script that is run on the remote server. You can learn more about CGI scripts in the Web Programming I class.) The browser takes care of all of the details of downloading and running the program without the user having to do any more than simply visit the Web page that includes the applet. There are two primary features of an applet:
  1. The information presented by the applet is dynamic, meaning it changes over time.
  2. The applet can respond to user input.
Assignment:
  1. Complete the CWRU Applet section.
  2. Look at the following document for two applets that demonstrate the two primary applet features: Caverns Java Page
  3. What are the applets called?
  4. What happens when you click on them?
More Applets to Try:
email your answers to: ecpatt@ptialaska.netThe Facilitator
ecpatt@ptialaska.net


Back a page Class Menu Up to the top of this page Next section
[blue bar]

Web Publishing II
Assignments Part I : Providers | HTML II | Downloads | Graphics
Assignments Part II : HTML III | Multimedia | WebMasters
Student Sites | Feedback

UAS-S Classroom Menu
The Enhanced Java and Frames Classroom
CIOS: 145: Internet Concepts and Applications
CIOS: 171: Web Programming I | 271: Web Programming II
CIOS: S293: Advanced Internet | F246: Advanced Internet
CIOS: 153: Web Publishing Concepts/Applications | 255: Web Publishing Concepts/Applications/HTML II
Continuing Education Workshops: CE-Web Page Making

Shui Long's Cavern
Search Engines | CAVERN MAIN PAGE | Weekly News
What Is The Cavern? | Technical Notes | The Challenge | The Reward | Communication | Who Is Shui Long?
Eclectic InterLinks | Homepage InterChange | Knowledge | Library | The Metzler Gallery | Power Navigating
CAVERN INDEX | JAVA CAVERN


SLC Shui Long's Cavern copyright Shui Long's Cavern copyright

This website is maintained by Shui Long, and was
[blue bar]

counter