To Temple College Class  logo R. Craig Collins > Web Page Design > Lab 7

Lab 7 © R. Craig Collins, 2005/6

General Lab Directions
Note: There is not enough time in lecture to cover all the material; read your book BEFORE you begin the lab
Note: Typically labs will require you to invest some time in the lab, outside of class lecture hours

•Note: Please read the related overview material before continuing
Check with your Instructor for due date, typically Friday, 11:59PM (see due dates)

 •NOTE: Do NOT use CAPITAL letters OR spaces in file names, or add extra spaces between quotation marks.
 •NOTE: Do NOT use curly quotation marks, such as ; only use straight quotation marks, such as ".

   •Document tags introduced in Lab 7 (link to documentation part of lab)
     (You will later transfer this information into a D2L quiz)
     •Tags to document must include: <frameset>, and <frame>
You may download an acrobat or word processing document to help you with this.   
   •Begin coding and testing Lab 7 (link to web page construction requirements)
   •Answer questions concerning topics covered in Lab 7
     (You will later transfer this information into a D2L quiz)
You may download an acrobat or word processing document to help you with this.   

At the end of this process,
1) you will submit the web page files by zipping them, and placing them in the Desire2Learn dropbox area. Instructions on zipping are below.
2) you will be 'turning in' your documentation and Q&A by taking the IMED Lab 1: Dubé quiz in the Quizzes area of Desire2Learn. So, to get the best score, complete the documentation and Q&A as directed below, first.

     • Optional: Open/save an Acrobat pdf document to help with documentation and questions
       (get Adobe Acrobat Reader free, here)
     • Optional: Right click/save a Word doc document to help with documentation and questions
     • Optional: Right click/save a Rich Text rtf document to help with documentation and questions

Part 1: Documentation, (30%)
You may download an acrobat or word processing document to help you with this.

At the end of this process, you will be turning in answers using the Quizzes area of Desire2Learn, based on the following. So, to get the best score, fill in all the answers in this document first.

Tags to document must include: <frameset> and <frame>

Tag: <frameset> </frameset> frameset
Syntax (required and [optional attributes]; including rows=, and cols= )
What do these do?:
Example:

Notes:

Tag: <frame> Frame
Syntax (required and [optional attributes]; including src=, and name=,
[ scrolling=, and the very rare attribute not followed by an=... noresize]
What do these do?:
Example:

Notes:

 

Part 2, Activity (40%):
You may download an acrobat or word processing document to help you with this.

 • Create a folder named lab7
    (QUICKSTART ALTERNATIVE: copy your lab6 FOLDER, and rename the copy to lab7)

    CHOOSE EITHER FAST OPTION 1 OR SECOND OPTION, YOU DON'T DO BOTH

  • Fast option: add the following code to your index.html page

    <br><iframe src="pages/resume.htm" width="90%" height="400"></iframe><br>

    (you may alter the width and height values)
    This opens your résumé in your index, sort of like picture in picture, for TV.
    Note: this option will not help you as much for the quiz, or Test 3, but is acceptable for the lab

OR

  • Second option: For those who are intrugued by framed pages such as D2L implements,
    and if you want to practice what is on the lab quiz and in Test 3.

    Design on paper a frame system, using the rough dimensions below
<-50%->

^
50%
v

^
50%
v


 • You must have a page that opens in each frame... you may reuse existing pages if you wish.
    Note: Editors usually have trouble with frames.
    NVu doesn't do frames, and Dreamweaver often messes up and uses absolute addresses instead of relative addresses.
    For that reason I offer frame templates to help you with your labs.

  • Create a new file of your own design called frame.htm inside of the pages folder
    (why not copy a frame template as a starting point?)
    folder \

           folderlab6
              |
              |
           folderlab7
              |
              |----index.html
              |
              |---- folderpages
              |          |-  page1.htm
              |          |-  page2.htm
              |          |-  resume.htm
              |          |-  frame.htm
              |     
              |         
              |---- folderimages
                         |- pink_fabric.gif
                         |- yellow_fabric.gif
                         |- yourimage.jpg

  • (5 points) Please update your default document (index.html) to link to this file.
  • Be sure to include the following:
    (10 points) the frame design in yourname-lab7, with at least 3 frames, such as
    Example , a frame shaped like the Texas Flag
    <-40%->

    ^
    50%
    v

    ^
    50%
    v

    (5 points) each frame src named
    (5 points each) a web page that opens in each frame src,
    (5 points) each page properly coded (you may reuse exisiting files)


    page1


    resume


    page2


    Steps to follow, if not using an editor, or a template
    Create the frame: tag create columns = “size, remaining size”
    Example <frameset cols=”40%, *” >
    Load the first frame: tag page to load identify the area
    Example <frame src="one.htm" name="side" >
    Create the second frame: tag create rows to fill this column = “size, remaining size”
    Example <frameset rows="50%,*" >
    Load the next frame: tag page to load identify the area
    Example <frame src="two.htm" name="upper" >
    Load the last frame: tag page to load identify the area
    Example <frame src="three.htm" name="lower">
    Close the right side
    Example </frameset >
    Close the whole frame structure
    Example </frameset >

    Challenge
    Create new pages that open in the frame set
    Control where a link opens, say in a different frame, using <a href=" "... target=" " >
    to a named frame

  • Grading Points
     • A working frame or iframe (35 points)
     • Available from index; either iframe on index, or link to frame on index (5 points)

  • (How to check for HTML errors)

 

Part 3: Hands On (30%): Be prepared to show the functionality of your web page, and discuss/demonstrate new tags and attributes used in this lab

You may download an acrobat or word processing document to help you with this.

At the end of this process, you will be turning in answers using the Quizzes area of Desire2Learn, based on the following questions. So, to get the best score, fill in all the answers in this document first.

Posers, could you answer the following on the test? (Specific Lab questions below.)

Answer the following questions. (6 points each)

  1. Why do you name frames?
  2. In <frame cols=" "...> etc., we typically leave one value as *. Why?
  3. What attribute is used with <a href=" "...>, to get a page to open in the same frame?
  4. What attribute is used with <a href=" "...>, to get a page to open in a different frame?
  5. What attribute is used with <a href=" "...>, to get a page to open by replacing the frame?


Lab 7 Questions

Problems? Zip the entire folder and attach to an email:
       •Send the mail to your instructor, cc yourself
       •The subject line should include your name, your class, your section, and what you are submitting
       •Make sure you attach the zipped file

SUBMITTING THE LAB

In Windows, zip the entire lab7 directory, and rename to yourname-lab7.zip.
       •Example: yourname-lab7 or yourname-lab7.zip (if your extensions are visible)
Log into Desire2Learn, choose this class, choose Dropbox, and select Lab 7.
Browse to yourname-lab7.zip and upload it. (Scroll down to see detailed instructions)

You will then transfer your answers to the D2L Quiz for lab 7. You may use your notes for this part of lab.
Choose the Quizzes menu, and locate IMED Lab 7: frames.
      • Using D2L dropbox       • Using D2L Quizzes      • Logon to D2L
To submit by Temple College Desire2Learn:
       •Log into D2L, scroll to the bottom, and choose the correct course
       •When the Course Home Page appears, click on the Dropbox link.
              •You may click on Discussions, Dropbox, or Quizzes below, for more info

       D2L navigation D2L Dropbox notes D2L Quizzes Notes D2L Discussion Notes
Dropbox directions