Team:Warsaw/Team
From 2010.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
}); | }); | ||
+ | |||
/*Funkcja rozmieszczania fotek. Program wylicza top i left dla kazdego zdjecia tak zeby byly wezlami grida | /*Funkcja rozmieszczania fotek. Program wylicza top i left dla kazdego zdjecia tak zeby byly wezlami grida | ||
potem random rozsiewa je w zadanym promieniu wokol tych wezlow. Poczatkowe wartosci currtop currleft i | potem random rozsiewa je w zadanym promieniu wokol tych wezlow. Poczatkowe wartosci currtop currleft i | ||
Line 38: | Line 39: | ||
*/ | */ | ||
- | var currtop= | + | var currtop=20; |
- | var currleft= | + | var currleft=0; |
- | var currfoto= | + | var currfoto=0; |
+ | |||
+ | /* odleglosci wezlow siatki w pionie i poziomie. Mozna zmienic zeby uzyskac wieksze/mniejhsze marginesy. */ | ||
+ | |||
+ | var hmargin=160; | ||
+ | var vmargin=210; | ||
+ | |||
+ | |||
+ | /* Kontrolujemy jak bardzo rozrzucic foty w pionie i poziomie */ | ||
+ | |||
+ | var hradius=50; | ||
+ | var vradius=50; | ||
/* Ustawiamy pudelko z description */ | /* Ustawiamy pudelko z description */ | ||
- | $(" | + | $("#description").each(function(){ |
- | $(this).css('left' , | + | var dtop=currtop+2*vmargin; |
- | $(this).css('top' , | + | var dleft=hmargin; |
+ | |||
+ | $(this).css('left' , dleft); | ||
+ | $(this).css('top' , dtop); | ||
}); | }); | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Line 69: | Line 81: | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Line 81: | Line 90: | ||
else $(this).css('left' , currleft-Math.random()*hradius); | else $(this).css('left' , currleft-Math.random()*hradius); | ||
- | + | if (currfoto==6) | |
+ | { | ||
+ | currfoto=currfoto+3; | ||
+ | currleft=currleft+3*hmargin; | ||
+ | } | ||
currfoto=currfoto+1; | currfoto=currfoto+1; | ||
}); | }); | ||
Line 200: | Line 213: | ||
</style> | </style> | ||
+ | |||
+ | |||
<div class="photoframe" style="display:inline-block; height:1000px"> | <div class="photoframe" style="display:inline-block; height:1000px"> | ||
Line 227: | Line 242: | ||
</div> | </div> | ||
- | + | ||
<div class="foto" style="display:inline-block; width:auto" id="JarekP"> | <div class="foto" style="display:inline-block; width:auto" id="JarekP"> | ||
Line 283: | Line 298: | ||
<img class="pic" src="https://static.igem.org/mediawiki/2009/6/6f/DSC07626.JPG"><br>Milena Bażlekowa | <img class="pic" src="https://static.igem.org/mediawiki/2009/6/6f/DSC07626.JPG"><br>Milena Bażlekowa | ||
</div> | </div> | ||
- | + | <div id="description"><strong>This is our team and friends</strong><br><br><strong>Click on the pictures to find out more about us!<br><br>You can drag and drop the photos.<br><br>This page looks best in Firefox.</strong> <br><br><br><br></div> | |
</div> | </div> | ||
Revision as of 08:05, 11 July 2010
prof. Jacek Bielecki
Radosław Stachowiak
Kamil Koper
Kamila Ornoch
Michał Lower
Ania Olchowik
Jarek Pankowski
Kuba Piątkowski
Marcin Ziemniak
Anna Safray
Justyna Lesiak
Ania Puławska
Kasia Grześ
Dominik Cysewski
Marta Błaszkiewicz
Joanna Leszczyńska
Albert Bogdanowicz
Chery Moreno
Milena Bażlekowa
This is our team and friends
Click on the pictures to find out more about us!
You can drag and drop the photos.
This page looks best in Firefox.
Click on the pictures to find out more about us!
You can drag and drop the photos.
This page looks best in Firefox.