Using Angelfire

We are using Angelfire for our class web sites. One thing we can do with angelfire is create and edit files directly. This skips the process of editing files in Notepad and uploading them to Angelfire.

To create a file on Angelfire, go into the web shell (that is, log onto Angelfire) and at the bottom of the big grey area you see a chance to "create a new...file"

Type the name of the file, "e.g., howdy.html" and click on "create." On the following page, choose "advanced" and scroll down to click "submit."

You should get a page with a box where you can type code. When you are finished typing, click on save. You should get back to the main Web shell screen. Now, to view the file in your browser, you can click on the new file and then click on "view file." To change the file, you can click on the file and then click on "edit."

Here is another tip.

  1. Create a directory called htdocs, if you have not already done so.
  2. Open this directory by clicking on it and clicking on "open directory."
  3. Create a new subdirectory, called scripts
  4. Open your scripts subdirectory.
  5. Create a new file, called myjs.js. This is not an html file. It is a JavaScript file. When you edit it using the advanced editor, delete any HTML code that Angelfire gives you. Instead, type
    function topcontrol{
    if (top != self){
    top.location = location;
    }
  6. Save this file.
  7. In your index.html file, after the <body> tag type in

    <script language = "JavaScript src = "htdocs/scripts/myjs.js">
    topcontrol();
    </script>

This should keep the popup window from covering up your regular window. You can try putting this code on every page.

Page created by Arnold Kling. Last Modified September 10, 2001.