Difference between revisions of "Template:Team:TU Eindhoven/CloningGuideViewer HTML"

Line 35: Line 35:
 
});
 
});
  
 +
 +
// Load the HTML4 version if there's not CSS transform
 +
 +
yepnope({
 +
test : Modernizr.csstransforms,
 +
yep: ['https://static.igem.org/mediawiki/2015/d/d7/TU_Eindhoven_Turn.txt'],
 +
nope: ['https://static.igem.org/mediawiki/2015/8/89/TU_Eindhoven_TurnHtml4.txt'],
 +
both: ['css/basic.css'],
 +
complete: loadApp
 +
});
 +
}
 
$('<a href="https://2015.igem.org/Team:TU_Eindhoven/CG_FullScreen"><div id="fullScreen">Watch in full screen</div></a>').appendTo($("#flipbookContainer")).css({
 
$('<a href="https://2015.igem.org/Team:TU_Eindhoven/CG_FullScreen"><div id="fullScreen">Watch in full screen</div></a>').appendTo($("#flipbookContainer")).css({
 
'-moz-box-shadow':'inset 0px 1px 0px 0px #97c4fe',
 
'-moz-box-shadow':'inset 0px 1px 0px 0px #97c4fe',
Line 60: Line 71:
 
'text-decoration':'none',
 
'text-decoration':'none',
 
'text-shadow':'0px 1px 0px #1570cd'});
 
'text-shadow':'0px 1px 0px #1570cd'});
 
 
// Load the HTML4 version if there's not CSS transform
 
 
yepnope({
 
test : Modernizr.csstransforms,
 
yep: ['https://static.igem.org/mediawiki/2015/d/d7/TU_Eindhoven_Turn.txt'],
 
nope: ['https://static.igem.org/mediawiki/2015/8/89/TU_Eindhoven_TurnHtml4.txt'],
 
both: ['css/basic.css'],
 
complete: loadApp
 
});
 
  
 
</script>
 
</script>

Revision as of 19:06, 18 September 2015