<%@LANGUAGE="VBSCRIPT" %> <% Response.CacheControl = "no-cache" %>
Assignment 5

Materials to turn in on the server

  • In your Assign05 folder:
    • fixed.html
    • js folder
      • jquery files

Expand/Collapse Section ImageMore jQuery

Description: In this assignment, you will use CSS to fix <div> elements to a given location on the screen so they do not scroll.

Expand/Collapse Section ImageExercise Specifications

  1. Fixed content, drop down ad
    • You'll need the jQuery library in your js folder
    • Add a <div> with id="contact"
    • Add a <div> with id="dropdown"
    • Add lots of lines of <p>asdfasdf</p> or whatever you would like to use to make the page so that it will definitely have to scroll.
    • Add the CSS to place and position elements on the page - found in the code
      • If you add a little at a time and refresh, you get a better sense of how the CSS elements are working - giving yourself a better understanding of CSS as a whole.
      • Notice how <!-- html comments --> are used around the CSS
    • Add the jQuery to finish out the file - found in the code
      • Notice how <!-- html comments --> are used around the JavaScript, just inside the <script> elements.
    • Validate your HTML5 code, you should have zero errors.
    • Code
      • Here is the code for this entire exercise. Proper use would be: look at the code to make sure you are approaching the assignment the correct way. Then try to do it on your own. Then use the code to make sure you've done it correctly. Improper use would be: copying without interpreting, which would result in not really learning what you're doing. The code is provided to help you be successful and so that you don't have to ask as many questions about the assignment.
      • fixed location page code

Grading

Total 10 pts