Difference between revisions of "Team:Evry/Project/Mait"
Knakiballz (Talk | contribs) |
Knakiballz (Talk | contribs) |
||
Line 2: | Line 2: | ||
{{:Team:Evry/Template:SideNavbar}} | {{:Team:Evry/Template:SideNavbar}} | ||
<html> | <html> | ||
− | <!-- Insert jQuery | + | <!-- Insert jQuery qTip as we are using it on this page --> |
− | <script src="https://2015.igem.org/wiki/index.php?title=Template:Evry/ | + | <script src="https://2015.igem.org/wiki/index.php?title=Template:Evry/qTip2&action=raw&ctype=text/javascript" type="text/javascript"></script> |
− | + | <link rel="stylesheet" type="text/css" href="https://2015.igem.org/wiki/index.php?title=Template:Evry/qTip2-css&action=raw&ctype=text/css"> | |
+ | |||
+ | <!-- Main Content --> | ||
<!-- Parallax div. Uncomment if you want to include one before page content --> | <!-- Parallax div. Uncomment if you want to include one before page content --> | ||
<!--div class='side-body hidden-xs parallax' style="width: calc(100%-250px); height: 550px; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://static.igem.org/mediawiki/2015/5/5d/Homepage_header_background_optimized.jpg'); background-size: cover;"> | <!--div class='side-body hidden-xs parallax' style="width: calc(100%-250px); height: 550px; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://static.igem.org/mediawiki/2015/5/5d/Homepage_header_background_optimized.jpg'); background-size: cover;"> | ||
Line 35: | Line 37: | ||
<script defer="defer" type="text/javascript"> | <script defer="defer" type="text/javascript"> | ||
− | + | // Create the tooltips only when document ready | |
− | + | $(document).ready(function() | |
− | + | { | |
− | + | // We'll target all AREA elements with alt tags (Don't target the map element!!!) | |
+ | $('area[alt]').qtip( | ||
+ | { | ||
+ | content: { | ||
+ | attr: 'alt' // Use the ALT attribute of the area map for the content | ||
+ | }, | ||
+ | style: { | ||
+ | classes: 'ui-tooltip-tipsy ui-tooltip-shadow' | ||
+ | } | ||
+ | }); | ||
}); | }); | ||
− | |||
// Parallax effect ftw | // Parallax effect ftw | ||
(function(){ | (function(){ |
Revision as of 15:05, 16 September 2015
MAIT Cells
Introduction
test
To top