Framework by JS injection
This version adds the injectEBIFramework.js
file that loads the wrapper HTML, CSS and JS.
It's a good option for legacy sites that might need new branding added, or for simple pages where it's too much of a hassle to add in the wrapper code.
Wherever you use it, performance will not be the greatest.
The code
Just add these two lines your <head>
tag.
<script src="//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.1/js/injectEBIFramework.js"></script> <script type="text/javascript">injectEBIFramework();</script>
Note that this is an early release and -- if the script proves popular -- more features are planned, such as paramaters to allow the Foundation JS or header and theme colours.