Merge remote-tracking branch 'origin/master'

# Conflicts:
#	js/main.js
master
Jessica Machado 2016-10-13 23:43:11 +01:00
commit a864f2a524
5 changed files with 29 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
README.md
README.md

View File

@ -1,2 +1,10 @@
Hello World!
:P=OP=OP=OP
<<<<<<< HEAD
:)
=======
:P
>>>>>>> origin/master

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -9,12 +9,30 @@
"use strict";
$( document ).ready(function() {
<<<<<<< HEAD
// jQuery Code
$(".col-xs-6:last-child").hide(); //Hide do ultimo author
//Alteracao das informacoes do segundo author (jessica) //TODO
$(".col-xs-6:nth-child(3)").children(".thumbnail").children(".caption").hide();
=======
var NUM_STUDENTS = 3;
>>>>>>> origin/master
$(".col-xs-6:last-child").hide() //ESCONDE O ULTIMO AUTOR
for (var i = 1; i <= NUM_STUDENTS; i++)
changeStudentPhoto(i);
});
function changeStudentPhoto(nrStudent){
// Wrap photo in standard size
var photoSize = 400;
if(nrStudent < 1 || nrStudent > 3)
return;
$(".col-xs-6:nth-child("+(nrStudent+1)+") img").css('height', photoSize).css('width', photoSize);
}
})();