Friday, May 4, 2012

More problems

We took a good look at the site this Monday, and we liked it. I was clean. I went to main.css to take a good look and saw that something were images, of course both of us didn't want to use images. We took that out and the site looked like blocs. We agreed that we will work on the style of the page later.
The slideshow was still a problem. The images were too small, and to resize them would mess the pixels. Also the arrows to change images were in the way, all we did was put the opacity low.
 
opacity: 0.8;

Everything seems to be working fine for now.

Friday, April 27, 2012

Slideshow to the site

We are done cleaning the code and other necessities that the site needed. Gustavo is still in the process of fixing the drop down menu. I was working on the slideshow, but realized that I didn't like its look. I tried editing it: change the color and speed and size, but it was really complicated  to read the code.
I went online to look at some ideas, and came across this site. I looked at some demos, but really liked this one in particular: #12 jFlow Gallery. I started working on it and it was well written easy to follow.

Here is the site with the slideshow.

Friday, April 13, 2012

Screen Rampage!!

This week we started working on the Arlington Chorus Site.
I took advantage of the screen benefits.
Gustavo and I split the work, he was going to create the drop down menu, and I had to create the slideshow.
I had already created a slideshow and drop down menu for the site, so we just took that code and change a few things..
All we need to do now is contact Kevin, so he can tell us what color and what content he wants in the home page.
Site almost complete here.

Friday, March 30, 2012

Screen

Today I learned how to use screen:

First we opened the terminal.
We got into the sever amazon.elkner.net and got Matt to set SUID permission there.
As complicated as it looked Matt guided us through it.
We had to type screen -S username
Then set up the multiuser on. Which is enabled by pressing the keyboards CTRL-a then shift :
Then type multiuser on and acladd useryouwanttoadd
Now the user who wants to join the session needs to type:
screen -x hisusername/hissession name

This should connect you.

Monday, March 26, 2012

Login page

Managed to create a madlib, but wanted to take it to the next level. I was bored and decided to see if I could created a login page. All I need to learn now is about storing peoples data, and I'm set.

Madlib

I started working the madlib page. When I was done I wanted the python file to be small, and not have all the html codes in there.
Well I learned that the open('nameofthefile.tpl', 'r').read() can be used to open the story you have in a different file, this made everything much easier for me and for everyone in class. We can now style the pages to your own liking.

It does not necessarily have to end in .tpl it can be anything suck as .html but I find it more helpful to save it as that.

Monday, March 5, 2012

Project 5

This week I created a Brazilian flag. Click here to see example.
I created a rectangle that covers the whole canvas.
I learned this new code globalCompositeOperation and here you can assign it: source-over which puts the newer shapes on top the canvas and so on.

In this case I'm using source-over this will make the new shapes be on top of the old ones.

I created two triangles and moved them around, the first one was tricky, but for the second one you can use the same, just change the coordinates of the x, y.