Tuesday, April 29, 2008
PHP Understood!
Monday, April 28, 2008
PHP hates me
$age and $name are from the form page but it's strange that the first line of code won't even show on the screen even though there's no arguments to make it not work. I'm flabbergasted by this new and strange language, I looked up multiple tutorials on http://www.tizag.com/phpT/forms.php including:
forms and php
if statements
Overall I have failed at PHP and it's frustrating because it does not seem a very difficult structured language like Action-Script 3.0 which I already know.
$age = $_POST['age'];
$name = $_POST['name'];
echo "Congratulations".$name" you have passed the first test";
if ($age == "0-18")
{
echo "You are too young to be a member!";
}
if ($age == "18-65")
{
echo "Pay your standard dues!!";
}
if ($age == "65+")
{
echo "You get a 10% discount!";
}
?>
Sunday, April 6, 2008
CSS Poem format
During this in class I realized the importance of background images.I googled image serached "city aerial" to get the background image. At first I tried to have two seperate images, one for the city and one for the transparent box to house the text in. But instead by taking the photo into photohsop I was able to adjust the image and mask it to give it to the desired look and feel.
I also had trouble thinking that in CSS language I thought font-family was an attribute for css language. I looked up CSS font formatting at http://www.w3.org/TR/REC-CSS1#color, and found that it was the color that was the attribute I was looking for. This improved the legibility dramatically.
I also had trouble centering my main division. I again referenced the internet and found http://www.w3.org/TR/REC-CSS1#margin and found that I had to implement "margin:auto" to properly center the image even on scalign of the window.
«I also found the html validator insides dreamweaver was an excellent tool or validating my webpage.
It was a lesson in the importance of properly implementing background images.
The poem can be found here: CSS Formateed Poem
Monday, March 24, 2008
Zen Garden Critques
Kyle Beikirch and I looked at several Zen Garden CSS designs. Among all of them, my favorite design was the old theater, I felt that this design was the most successful in engaging me and in creating the most realistic virtual space. I was also impressed with the scrolling being contained withing the main divisions. At first we didn't believe it was done with divisions, and viewed the source code to see if frames had been used- they weren't. The sublet stylistic elements of the chairs and stage were very convincing. The only right and left stage graphics seem a bit jagged, and the top seems to simple and vector to be a true recreation of an old theater. Another good small detail is the static within the main division, to give the feel of an old spotty projection. The typography on the actual website is hard to read, and I feel that it could have been positioned better, but solely judging the CSS layout I feel that it is overall successful.
The designed that I did not like was the CSS layout entitled "A walk in the Garden". The Top Image and the overall color scheme is well done. However my main problem is the verticalness of the website. Personally when I go to a website I find scrolling down to be a chore, in this website the entire website is hidden below the original window, which weakens it. Personally I just get impatient and get immedieatly frustrated with the site itself.
Tuesday, March 18, 2008
CSS rediscovered!
The two scripts I used were the time script at the bottom of the page, and the drop down menu for a list of links. In the link-menu I changed the links to show my work, and I also included a link to an in progress flash portfolio that I uploaded to the gibson server now that I learned how to get in via terminal from my home computer.
CSS Home Site
Friday, March 14, 2008
I found the w3 tutorial really helpful in understanding CSS conceptually. (http://www.w3schools.com/css/default.asp)
