My assignment.html page for linking to assignment items described in Assignment and Report Specifications


This page is the marking guide to your website that your tutor will use to find your elements. Do not name this page anything other than assignment.html (all lower case) or else we may not be able to find and mark your assignment elements.  How to use this page:


1.0 Part 1 Tasks

1.2 Your Me and My Passion

About me and my passion

1.3 CSS

This is the main css file for index.html

Notes: other individual css file for other pages are in the pages folder

1.4 Site Map

sitemap

1.5 Source Log

sourcelog

1.6 Feedback Form

feedback

1.7 This Assessment Page

assignment.html This file is assignment.html

1.8 Student Forum Participation

My note on piazza The first best post

My response to the piazza poll The Second best post



2.0 Part 2 Tasks

2.1 Image Map

I use the travel map as the image map for the site mark this one. Specificly, the location of Sydney, Canberra, Shanghai, Vancouver, France and US are clickable.

Advanced Version used in the Pt3 don't mark this one for pt2 This one contains dynamic labels showing the exact location of the clickable area on the map, which is more visually appeal to the visitors.

2.2 Photo Gallery

I build the image gallery with images from my life

2.3b Javascript and 2.4b Well written Javascript

2.3b

The javascript code is used for gallery image

2.4b

The javascript code file itself

My best javascript components is:
#1 pop-up window for the image gallery page:
Feature1: the main body of this js file implements a function for the onclick event that the pop-up window will show the original full-size image in a larger window when the user click on the image. The displayed image in the gallery in the thumbnail image with smaller file size, which allows for faster loading speed. The general workflow of this feature is: getComputedStyle and getPropertyValue will get you the thumbnail directory. Next use split and replace to get the original image directory. Create the pop-up window by createElement and appendChild will append it into the container. Lastly, setAttribute to this element.
Feature2: With the new window of original image being displayed when click the thumbnail images, the onload event is defined to get the width of the pop-up window so that the next/prev button can be placed next to the new pop-up window regardless of large or small width of original image.
Functions like closeImg() is defined so that when you click outside of the pop-up window, this window will be closed. The function changeImg is defined so that the next/prev button will direct to next image or previous image. It makes sure that the next image of the last one will direct to the first image and vice versa.

2.5 Student Forum Participation

My note on piazza The third best post



3.0 Part 3 Tasks

It is recommended that use chrome to open

When the window is small,the footer will be minimized. Hover your mouse over it, it will display in full height.