Friday, March 27, 2009

JQuery Classwork

Here ya go:

JQuery Classwork

I'm frustrated with making my menu lists compatible with multiple browsers. The top menu looks fine on Firefox, but comes up short in Safari.

Likewise, the site does not look right when running in Firefox on a PC, the widths are a little bit off, and some of the text does not fit into the divs correctly.

Thursday, March 12, 2009

HTML/XHTML-Strict/Haiku Compliance

Thought everyone might find this funny. It's a pane from the online comic: xkcd (follow the link to the whole comic).

Tuesday, March 10, 2009

Duck Duck Goose

I got a little bored at work and decided to play around with Javascript. I tried to use some of the other things we went over in class, such as image/class swapping. What came out of that is some good ole fashioned Duck Duck Goose. It should be a goose about 33% of the time.

Duck Duck GOOSE!

I used some universal variables in order to keep track of the statistics and did a little online research in order to figure out how to generate a random number and make the sound work. I don't know if either is all that efficient, but it works.

Class 4 - Javascript Assigment

Below is my solution to the in-class assignment.

Class 4 Assignment

I used one function, doing so by passing over a the id of the element that was calling it. My HTML was designed so that the elements in the second pane had almost the same name as the corresponding element in the first pane.

for example:
pane1 - "name" pane2 - "name_p2"
pane1 - "password" pane2 - "password_p2"

Thus, in the function I created a new variable that was simply the passed element ID + "_p2".

It may have been more efficient to pass two variables, the initial element, and the element to be changed, that would make the function a little more versatile.

Saturday, March 7, 2009

Homework Assignments

Homework Assignments are pretty much done:

Black Book

MTV Music Videos

I've been having trouble lining up images with text. Is there an easy way to do this? Do I just have to play with margins until it works?

Sunday, March 1, 2009

MTV Assignment (in progress)

Here's what I've done so far for the MTV project. I've found it a lot more frustrating than the other one, simply because there are so many more elements.


MTV Music Videos




I started using the image as a background, but got a little frustrated with it, so I switched to just looking at the image in a seperate viewer. Unfortunately, I now realize that my left bar is about 60pixels to short, which is just going to make everything look off when I finally do finish. I'm going to have to go back and adjust a lot of different widths, which is not going to be fun. I decide to tackle this section by section (top, left, then right). I left some little things to go back to when i got frustrated.

Blackbook Homework Assignment

Here's what I've done for the Blackbook Assignment so far.

Blackbook assignment



I've still got a little bit of tweaking to do, adjusting some of the fonts and buttons, but nothing major.

I've found that a lot of my colors aren't working right in internet explorer. I've mainly been using the color names (i.e. lightgray, or red) instead of the the Hex (#2f2f3f). I wonder if this is what's causing the problem. Anyone else having that happen to them?

I found it really helpful to get the major structures done first and then go back and touch it up. I layed everything out, and did major elements, but left the tweaking till the end. I found that this helped me get through it a little faster and I didn't wind up spending a lot of time on one section and then get frustrated.