Friday, March 27, 2009

Class 5 Homework


Here's the assignment using JQuery. The site is for an Archery Equipment store "Everything Archery." I also made the tabs active using "hover" in CSS.

The only problem I didn't solve is why only the top one-third of the page loads in Safari. Works just fine with Firefox. Anyone know?

Click the photo to reach the JQuery version.

And this link is the Javascript version: Everything Archery

Tuesday, March 10, 2009

Class 4 Homework Assignment

I've been able to spend quite a bit of time on this... took about 7 hours total. Click on the link for interactivity, and on command u (Mac) or control u (PC) to see the HTML code...


Register form
This is the javascript code:



var source_username = null;

var destination_username = null;


function copyUsername()
{

source_username = document.getElementById("username");

destination_username = document.getElementById("username2");

destination_username.value = source_username.value;

}

var source_password = null;

var destination_password = null;


function copyPwd()
{

source_password = document.getElementById("pwd");

destination_password = document.getElementById("pwd2");

destination_password.value = source_password.value;

}

var source_textblock = null;

var destination_textblock = null;


function copyText()
{

source_textblock = document.getElementById("aboutblock");

destination_textblock = document.getElementById("aboutblock2");

destination_textblock.value = source_textblock.value;

}

Wednesday, March 4, 2009

Blackbook homework

I'm still working on this but thought I'd post it now...

Blackbook page