Team:Dundee/Team
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<html> | <html> | ||
+ | <body> | ||
+ | <!-- Text Grid --> | ||
+ | <div id="display"> | ||
+ | <!-- Text Grid --> | ||
+ | <div class="container"> | ||
+ | <!--Titile--> | ||
+ | <div class = "row"> | ||
- | <!-- | + | <!--Used to center "poster" column--> |
- | < | + | <div class=" col-md-3"></div> |
+ | <div class="col-md-6 col-centered" id="title"> | ||
+ | <h1>Team</h1> | ||
+ | </div> | ||
+ | |||
+ | <!--Used to center "poster" column--> | ||
+ | <div class="col-md-3"></div> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | <!-- Wet Team --> | ||
+ | <div class = "row"> | ||
+ | <!--Used to center "poster" column--> | ||
+ | <div class=" col-md-3"></div> | ||
+ | <div class="col-md-6 col-centered" id="info"> | ||
+ | <h2>Wet Team</h2> | ||
+ | |||
+ | <!--Nested row to hold images--> | ||
+ | <div class="row"> | ||
+ | <div class="col-xs-3"> | ||
+ | <a href="#clean" data-toggle="modal"> | ||
+ | <img src="img/fakeTeam/clintNormal.jpg" class="img-responsive teamImage" onclick="showPoster(0)" alt="Responsive image"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <div class="col-xs-3"> | ||
+ | <a href="#clean" data-toggle="modal"> | ||
+ | <img src="img/fakeTeam/johnNormal.jpg" class="img-responsive teamImage" onclick="showPoster(1)" alt="Responsive image"> | ||
+ | </div> | ||
+ | </a> | ||
+ | <div class="col-xs-3"> | ||
+ | <a href="#clean" data-toggle="modal"> | ||
+ | <img src="img/fakeTeam/sethNoraml.jpg" class="img-responsive teamImage" onclick="showPoster(2)" alt="Responsive image"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <div class="col-xs-3"> | ||
+ | <a href="#posterModal" data-toggle="modal"> | ||
+ | <img src="http://placehold.it/150x150" class="img-responsive" alt="Responsive image"> | ||
+ | </a> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <!--Used to center "poster" column--> | ||
+ | <div class="col-md-3"></div> | ||
+ | |||
+ | </div> | ||
- | <!-- | + | |
- | < | + | <!-- SET MODAL LOOK--> |
- | + | <script> | |
- | + | function showPoster(member) { | |
- | + | var image = document.getElementById('westernImage'); | |
- | + | var name = document.getElementById('name'); | |
- | + | var text = document.getElementById('text'); | |
- | + | ||
- | + | if (member == 0){ | |
- | + | image.src = "img/fakeTeam/clintCow.jpg"; | |
- | + | name.textContent = "Clint Eastwood"; | |
- | + | text.textContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sagittis purus quis ligula molestie ultricies. Nulla eu sem pellentesque diam auctor malesuada in sed arcu. Etiam a vehicula nunc. Sed vestibulum augue quis pellentesque ornare."; | |
- | + | } | |
- | + | ||
- | + | if (member == 1){ | |
- | + | image.src = "img/fakeTeam/johnCow.jpg"; | |
- | + | name.textContent = "John Wayne"; | |
- | + | text.textContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sagittis purus quis ligula molestie ultricies. Nulla eu sem pellentesque diam auctor malesuada in sed arcu. Etiam a vehicula nunc. Sed vestibulum augue quis pellentesque ornare."; | |
- | + | } | |
- | + | if (member == 2){ | |
- | + | image.src = "img/fakeTeam/sethCow.jpg"; | |
- | + | name.textContent = "Seth MacFarlane"; | |
- | + | text.textContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sagittis purus quis ligula molestie ultricies. Nulla eu sem pellentesque diam auctor malesuada in sed arcu. Etiam a vehicula nunc. Sed vestibulum augue quis pellentesque ornare."; | |
- | + | } | |
- | + | } | |
- | + | ||
- | + | </script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | <!-- MODELS --> | |
- | + | <div class ="modal fade" id="clean" role="dialog"> | |
- | + | <div class = "modal-dialog"> | |
- | + | <div class="modal-content"> | |
- | + | <div class="modal-header"> | |
- | + | <h2 id="name"></h2> | |
- | + | </div> | |
- | + | <div class ="row"> | |
- | + | <div class="modal-body" id="cleanContent"> | |
- | + | ||
- | + | <div class = "col-md-6"> | |
- | < | + | <img id="westernImage" src="img/mockTeam.jpg" class="img-responsive teamMember" alt="Responsive image"> |
- | < | + | </div> |
- | + | ||
- | < | + | <div class = "col-md-6"> |
- | < | + | <p id="text"></p> |
- | + | </div> | |
- | < | + | |
- | < | + | </div> |
- | + | </div> | |
- | + | </div> | |
- | < | + | </div> |
- | + | ||
- | + | </div> | |
- | + | ||
- | + | <div class ="modal fade" id="posterModal" role="dialog"> | |
- | + | <div class = "modal-dialog"> | |
- | + | <div class="modal-content" id="poster"> | |
- | + | <img src="img/whoIs.jpg" class="img-responsive teamMember" alt="Responsive image"> | |
- | + | </div> | |
- | + | </div> | |
- | < | + | </div> |
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | + | <!-- FOOTER --> | |
- | + | <!-- JS import WILL NEED CHANGED DONE LOCAL FOR BS --> | |
- | + | <script src="http://code.jquery.com/jquery-latest.js"></script> | |
- | + | <script src="js/bootstrap.js"></script> | |
- | + | </body> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | < | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | < | + | |
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
</html> | </html> |
Revision as of 15:27, 26 May 2014