Skip to content
Snippets Groups Projects
Commit 3e9989be authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Update compiled

parent aa3bd05c
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@
## ebiGetParameterByName
[js/ebi-global-includes/script/1_about.js:16-24](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/1_about.js#L16-L24 "Source code on GitHub")
[js/ebi-global-includes/script/1_about.js:16-24](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/1_about.js#L16-L24 "Source code on GitHub")
Utility function to get params from the URL.
......@@ -81,7 +81,7 @@ var foo = getParameterByName('foo'); // "lorem"
## ebiGetParameterByName
[js/script.js:16-24](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L16-L24 "Source code on GitHub")
[js/script.js:16-24](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L16-L24 "Source code on GitHub")
Utility function to get params from the URL.
......@@ -99,47 +99,47 @@ var foo = getParameterByName('foo'); // "lorem"
## ebiFrameworkExternalLinks
[js/ebi-global-includes/script/2_ebiFrameworkExternalLinks.js:4-35](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/2_ebiFrameworkExternalLinks.js#L4-L35 "Source code on GitHub")
[js/ebi-global-includes/script/2_ebiFrameworkExternalLinks.js:4-35](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/2_ebiFrameworkExternalLinks.js#L4-L35 "Source code on GitHub")
Mark pdf/doc/txt links with link-pdf/link-doc/link-txt classes.
## ebiFrameworkExternalLinks
[js/script.js:35-66](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L35-L66 "Source code on GitHub")
[js/script.js:35-66](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L35-L66 "Source code on GitHub")
Mark pdf/doc/txt links with link-pdf/link-doc/link-txt classes.
## ebiFrameworkManageGlobalSearch
[js/ebi-global-includes/script/3_ebiFrameworkForms.js:5-78](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/3_ebiFrameworkForms.js#L5-L78 "Source code on GitHub")
[js/ebi-global-includes/script/3_ebiFrameworkForms.js:5-78](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/3_ebiFrameworkForms.js#L5-L78 "Source code on GitHub")
Disable the global search if a page defines a local search.<br/>
Can also be disabled by adding class 'no-global-search' to the body element.
## ebiFrameworkManageGlobalSearch
[js/script.js:72-145](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L72-L145 "Source code on GitHub")
[js/script.js:72-145](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L72-L145 "Source code on GitHub")
Disable the global search if a page defines a local search.<br/>
Can also be disabled by adding class 'no-global-search' to the body element.
## ebiFrameworkSearchNullError
[js/ebi-global-includes/script/3_ebiFrameworkForms.js:84-128](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/3_ebiFrameworkForms.js#L84-L128 "Source code on GitHub")
[js/ebi-global-includes/script/3_ebiFrameworkForms.js:84-128](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/3_ebiFrameworkForms.js#L84-L128 "Source code on GitHub")
Add error alerts for 'no input' on search boxes.<br/>
Todo: this, perhaps, shoule be moved to a value-add script file
## ebiFrameworkSearchNullError
[js/script.js:151-195](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L151-L195 "Source code on GitHub")
[js/script.js:151-195](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L151-L195 "Source code on GitHub")
Add error alerts for 'no input' on search boxes.<br/>
Todo: this, perhaps, shoule be moved to a value-add script file
## isIE
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:7-10](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L7-L10 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:7-10](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L7-L10 "Source code on GitHub")
Utility method to get if it is IE, and what integer version.
via: <https://stackoverflow.com/a/15983064>
......@@ -154,7 +154,7 @@ Returns **int** the IE version number
## isIE
[js/script.js:203-206](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L203-L206 "Source code on GitHub")
[js/script.js:203-206](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L203-L206 "Source code on GitHub")
Utility method to get if it is IE, and what integer version.
via: <https://stackoverflow.com/a/15983064>
......@@ -169,7 +169,7 @@ Returns **int** the IE version number
## ebiToggleClass
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:15-24](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L15-L24 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:15-24](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L15-L24 "Source code on GitHub")
Utility function to toggle classes. Chiefly to show the #embl-bar.
......@@ -180,7 +180,7 @@ Utility function to toggle classes. Chiefly to show the #embl-bar.
## ebiToggleClass
[js/script.js:211-220](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L211-L220 "Source code on GitHub")
[js/script.js:211-220](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L211-L220 "Source code on GitHub")
Utility function to toggle classes. Chiefly to show the #embl-bar.
......@@ -191,7 +191,7 @@ Utility function to toggle classes. Chiefly to show the #embl-bar.
## ebiActivateClass
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:29-32](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L29-L32 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:29-32](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L29-L32 "Source code on GitHub")
Utility function to add classes (only once).
......@@ -202,7 +202,7 @@ Utility function to add classes (only once).
## ebiActivateClass
[js/script.js:225-228](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L225-L228 "Source code on GitHub")
[js/script.js:225-228](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L225-L228 "Source code on GitHub")
Utility function to add classes (only once).
......@@ -213,7 +213,7 @@ Utility function to add classes (only once).
## ebiRemoveClass
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:37-39](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L37-L39 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:37-39](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L37-L39 "Source code on GitHub")
Utility function to remove classes.
......@@ -224,7 +224,7 @@ Utility function to remove classes.
## ebiRemoveClass
[js/script.js:233-235](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L233-L235 "Source code on GitHub")
[js/script.js:233-235](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L233-L235 "Source code on GitHub")
Utility function to remove classes.
......@@ -235,43 +235,43 @@ Utility function to remove classes.
## ebiFrameworkHideGlobalNav
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:44-60](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L44-L60 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:44-60](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L44-L60 "Source code on GitHub")
Remove global-nav/global-nav-expanded from header/footer if body.no-global-nav is set
## ebiFrameworkHideGlobalNav
[js/script.js:240-256](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L240-L256 "Source code on GitHub")
[js/script.js:240-256](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L240-L256 "Source code on GitHub")
Remove global-nav/global-nav-expanded from header/footer if body.no-global-nav is set
## ebiFrameworkAssignImageByMetaTags
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:65-79](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L65-L79 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:65-79](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L65-L79 "Source code on GitHub")
Assign global nav background images through meta tags
## ebiFrameworkAssignImageByMetaTags
[js/script.js:261-275](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L261-L275 "Source code on GitHub")
[js/script.js:261-275](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L261-L275 "Source code on GitHub")
Assign global nav background images through meta tags
## ebiFrameworkPopulateBlackBar
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:84-124](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L84-L124 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:84-124](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L84-L124 "Source code on GitHub")
Populate `#masthead-black-bar`
## ebiFrameworkPopulateBlackBar
[js/script.js:280-320](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L280-L320 "Source code on GitHub")
[js/script.js:280-320](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L280-L320 "Source code on GitHub")
Populate `#masthead-black-bar`
## ebiGetFacet
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:129-132](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L129-L132 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:129-132](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L129-L132 "Source code on GitHub")
Reusable function to get part of the black bar
......@@ -281,7 +281,7 @@ Reusable function to get part of the black bar
## ebiGetFacet
[js/script.js:325-328](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L325-L328 "Source code on GitHub")
[js/script.js:325-328](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L325-L328 "Source code on GitHub")
Reusable function to get part of the black bar
......@@ -291,55 +291,55 @@ Reusable function to get part of the black bar
## ebiFrameworkActivateBlackBar
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:137-200](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L137-L200 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:137-200](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L137-L200 "Source code on GitHub")
Active tabs in `#masthead-black-bar` according to metadata
## ebiFrameworkActivateBlackBar
[js/script.js:333-396](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L333-L396 "Source code on GitHub")
[js/script.js:333-396](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L333-L396 "Source code on GitHub")
Active tabs in `#masthead-black-bar` according to metadata
## ebiFrameworkInsertEMBLdropdown
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:205-288](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L205-L288 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:205-288](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L205-L288 "Source code on GitHub")
Insert EMBL dropdown menu into `#masthead-black-bar`
## ebiFrameworkInsertEMBLdropdown
[js/script.js:401-484](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L401-L484 "Source code on GitHub")
[js/script.js:401-484](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L401-L484 "Source code on GitHub")
Insert EMBL dropdown menu into `#masthead-black-bar`
## ebiFrameworkUpdateFoot
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:293-323](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L293-L323 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:293-323](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L293-L323 "Source code on GitHub")
Insert EBI Footer into `#global-nav-expanded`
## ebiFrameworkUpdateFoot
[js/script.js:489-519](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L489-L519 "Source code on GitHub")
[js/script.js:489-519](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L489-L519 "Source code on GitHub")
Insert EBI Footer into `#global-nav-expanded`
## ebiFrameworkUpdateFooterMeta
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:328-342](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L328-L342 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:328-342](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L328-L342 "Source code on GitHub")
Insert footer meta info into `#ebi-footer-meta`
## ebiFrameworkUpdateFooterMeta
[js/script.js:524-538](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L524-L538 "Source code on GitHub")
[js/script.js:524-538](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L524-L538 "Source code on GitHub")
Insert footer meta info into `#ebi-footer-meta`
## ebiInjectAnnouncements
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:353-387](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L353-L387 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:353-387](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L353-L387 "Source code on GitHub")
Once an announcement has been matched to the current page, show it (if there is one).
......@@ -358,7 +358,7 @@ ebiInjectAnnouncements({ headline: 'Your headline here', message: 'this', priori
## ebiInjectAnnouncements
[js/script.js:549-583](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L549-L583 "Source code on GitHub")
[js/script.js:549-583](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L549-L583 "Source code on GitHub")
Once an announcement has been matched to the current page, show it (if there is one).
......@@ -377,21 +377,21 @@ ebiInjectAnnouncements({ headline: 'Your headline here', message: 'this', priori
## ebiFrameworkIncludeAnnouncements
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:393-462](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L393-L462 "Source code on GitHub")
[js/ebi-global-includes/script/4_ebiFrameworkContent.js:393-462](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/4_ebiFrameworkContent.js#L393-L462 "Source code on GitHub")
Load the downtime/announcement messages, if any.
For more info, see: <https://gitlab.ebi.ac.uk/ebiwd/ebi.emblstatic.net-root-assets/tree/master/src>
## ebiFrameworkIncludeAnnouncements
[js/script.js:589-658](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L589-L658 "Source code on GitHub")
[js/script.js:589-658](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L589-L658 "Source code on GitHub")
Load the downtime/announcement messages, if any.
For more info, see: <https://gitlab.ebi.ac.uk/ebiwd/ebi.emblstatic.net-root-assets/tree/master/src>
## ebiFrameworkInvokeScripts
[js/ebi-global-includes/script/6_ebiFrameworkInvokeScripts.js:7-20](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/ebi-global-includes/script/6_ebiFrameworkInvokeScripts.js#L7-L20 "Source code on GitHub")
[js/ebi-global-includes/script/6_ebiFrameworkInvokeScripts.js:7-20](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/ebi-global-includes/script/6_ebiFrameworkInvokeScripts.js#L7-L20 "Source code on GitHub")
All scripts are automatically loaded, unless the page asked us not to.
......@@ -404,7 +404,7 @@ Configurable with a data attribute:
## ebiFrameworkInvokeScripts
[js/script.js:779-792](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/script.js#L779-L792 "Source code on GitHub")
[js/script.js:775-788](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/script.js#L775-L788 "Source code on GitHub")
All scripts are automatically loaded, unless the page asked us not to.
......@@ -417,7 +417,7 @@ Configurable with a data attribute:
## ebiGaIndicateLoaded
[js/foundationExtendEBI.js:12-34](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L12-L34 "Source code on GitHub")
[js/foundationExtendEBI.js:12-34](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L12-L34 "Source code on GitHub")
We poll the document until we find GA has loaded, or we've tried a few times.
......@@ -428,13 +428,13 @@ We poll the document until we find GA has loaded, or we've tried a few times.
## setTimeout
[js/foundationExtendEBI.js:19-26](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L19-L26 "Source code on GitHub")
[js/foundationExtendEBI.js:19-26](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L19-L26 "Source code on GitHub")
If successful we append `.google-analytics-loaded` to the `body` tag.
## ebiLast
[js/foundationExtendEBI.js:42-46](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L42-L46 "Source code on GitHub")
[js/foundationExtendEBI.js:42-46](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L42-L46 "Source code on GitHub")
Utility method to get the last in an array
......@@ -448,7 +448,7 @@ Returns **var** the last item in the array
## lastGaEventTime
[js/foundationExtendEBI.js:52-52](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L52-L52 "Source code on GitHub")
[js/foundationExtendEBI.js:52-52](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L52-L52 "Source code on GitHub")
Track the last time an event was sent (don't double send)
......@@ -458,7 +458,7 @@ Track the last time an event was sent (don't double send)
## analyticsTrackInteraction
[js/foundationExtendEBI.js:71-102](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L71-L102 "Source code on GitHub")
[js/foundationExtendEBI.js:71-102](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L71-L102 "Source code on GitHub")
## Analytics tracking
......@@ -485,7 +485,7 @@ jQuery("body.google-analytics-loaded .analytics-content-footer").on('mousedown',
## ebiGaInit
[js/foundationExtendEBI.js:111-194](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L111-L194 "Source code on GitHub")
[js/foundationExtendEBI.js:111-194](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L111-L194 "Source code on GitHub")
If GA is found, we initialise the tracking of various default areas
......@@ -496,7 +496,7 @@ but we're running against the page's unload -- so speed over elegance.
## addBlankTargetToExternalLinkEBI
[js/foundationExtendEBI.js:200-207](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L200-L207 "Source code on GitHub")
[js/foundationExtendEBI.js:200-207](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L200-L207 "Source code on GitHub")
Programatically open external links in new tabs
......@@ -506,7 +506,7 @@ Programatically open external links in new tabs
## addExternalToBlankWindowLinksEBI
[js/foundationExtendEBI.js:213-218](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L213-L218 "Source code on GitHub")
[js/foundationExtendEBI.js:213-218](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L213-L218 "Source code on GitHub")
Programatically add '.external' to external links
......@@ -516,7 +516,7 @@ Programatically add '.external' to external links
## activateEMBLdropdown
[js/foundationExtendEBI.js:231-260](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L231-L260 "Source code on GitHub")
[js/foundationExtendEBI.js:231-260](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L231-L260 "Source code on GitHub")
## Activate EMBL dropdown menu
......@@ -529,25 +529,25 @@ If you pass options as 'reInit', it will destory any existing menu and add a new
## smoothScrollAnchorLinksEBI
[js/foundationExtendEBI.js:265-298](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L265-L298 "Source code on GitHub")
[js/foundationExtendEBI.js:265-298](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L265-L298 "Source code on GitHub")
Smooth scroll anchor links for jQuery users
## invokeResponsiveMenuEBI
[js/foundationExtendEBI.js:303-411](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L303-L411 "Source code on GitHub")
[js/foundationExtendEBI.js:303-411](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L303-L411 "Source code on GitHub")
Make the local nav menu responsive to the browser window width
## jQuery
[js/foundationExtendEBI.js:416-511](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L416-L511 "Source code on GitHub")
[js/foundationExtendEBI.js:416-511](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L416-L511 "Source code on GitHub")
Default invokation of foundationExtendEBI
## bodyData
[js/foundationExtendEBI.js:483-483](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L483-L483 "Source code on GitHub")
[js/foundationExtendEBI.js:483-483](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L483-L483 "Source code on GitHub")
## Allow invokation of Foundation and foundationExtendEBI with data attributes
......@@ -558,7 +558,7 @@ Background: <https://github.com/ebiwd/EBI-Framework/issues/77>
## foundationInvoke
[js/foundationExtendEBI.js:488-492](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L488-L492 "Source code on GitHub")
[js/foundationExtendEBI.js:488-492](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L488-L492 "Source code on GitHub")
**Examples**
......@@ -568,7 +568,7 @@ Background: <https://github.com/ebiwd/EBI-Framework/issues/77>
## foundationExtendEBI
[js/foundationExtendEBI.js:497-501](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L497-L501 "Source code on GitHub")
[js/foundationExtendEBI.js:497-501](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L497-L501 "Source code on GitHub")
**Examples**
......@@ -578,7 +578,7 @@ Background: <https://github.com/ebiwd/EBI-Framework/issues/77>
## addExternal
[js/foundationExtendEBI.js:506-509](https://github.com/ebiwd/EBI-Framework/blob/1a0bcc16d269e7af566141176f2dad44a93c7198/js/foundationExtendEBI.js#L506-L509 "Source code on GitHub")
[js/foundationExtendEBI.js:506-509](https://github.com/ebiwd/EBI-Framework/blob/aa3bd05cde800758f8cbc74b86db664d6ca7b31f/js/foundationExtendEBI.js#L506-L509 "Source code on GitHub")
**Examples**
......
......@@ -676,7 +676,7 @@ function ebiFrameworkCreateDataProtectionBanner() {
wrapper.innerHTML = "" +
"<div class='columns medium-8 large-9'>" +
dataProtectionSettings.message +
" To find out more, see our <a target='_blank' href='" + dataProtectionSettings.link + "' class='white-color'>privacy policy</a>.</div>" +
"</div>" +
"<div class='columns medium-4 large-3 text-right white-color'><a id='data-protection-agree' class=''>I agree, dismiss this banner</a></div>" +
"";
......@@ -730,8 +730,7 @@ var dataProtectionSettings = new Object();
function ebiFrameworkRunDataProtectionBanner() {
try {
dataProtectionSettings.message = 'This website uses cookies. By continuing to browse this site, you are agreeing to the use of our site cookies. We also collect some information [text goes here, please review and agree]. ';
dataProtectionSettings.link = 'https://www.ebi.ac.uk/about/link-needed-to-data-protection';
dataProtectionSettings.message = 'This website requires cookies, and the limited processing of your personal data in order to function. By using the site you are agreeing to this as outlined in our <a target="_blank" href="https://www.ebi.ac.uk/data-protection/privacy-notice/embl-ebi-public-website" class="white-color">Privacy Notice</a> and <a target="_blank" href="https://www.ebi.ac.uk/about/terms-of-use" class="white-color">Terms of Use</a>.';
dataProtectionSettings.serviceId = 'ebi';
dataProtectionSettings.dataProtectionVersion = '1.0';
......@@ -741,9 +740,6 @@ function ebiFrameworkRunDataProtectionBanner() {
if (typeof divDataProtectionBanner.dataset.message !== "undefined") {
dataProtectionSettings.message = divDataProtectionBanner.dataset.message;
}
if (typeof divDataProtectionBanner.dataset.link !== "undefined") {
dataProtectionSettings.link = divDataProtectionBanner.dataset.link;
}
if (typeof divDataProtectionBanner.dataset.serviceId !== "undefined") {
dataProtectionSettings.serviceId = divDataProtectionBanner.dataset.serviceId;
}
......
function ebiGetParameterByName(name,url){url||(url=window.location.href),name=name.replace(/[\[\]]/g,"\\$&");var results=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)").exec(url);return results?results[2]?decodeURIComponent(results[2].replace(/\+/g," ")):"":null}function ebiHasClass(element,cls){return(" "+element.className+" ").indexOf(" "+cls+" ")>-1}function ebiFrameworkExternalLinks(){try{var i,icon,alist=document.getElementsByTagName("a"),fileTypes=["pdf","doc","txt"];for(i=0;i<alist.length;i++)for(var type in fileTypes)-1===alist[i].innerHTML.indexOf('<span class="link-'+fileTypes[type]+'"></span>')&&-1===alist[i].innerHTML.indexOf("<img")&&function(url,type){return-1!==url.indexOf(type,url.length-type.length)}(alist[i].href,fileTypes[type])&&function(url){return-1===url.indexOf("//")||-1!==url.indexOf("//www.ebi.ac.uk")||-1!==url.indexOf("//wwwdev.ebi.ac.uk")||-1!==url.indexOf("//srs.ebi.ac.uk")||-1!==url.indexOf("//ftp.ebi.ac.uk")||-1!==url.indexOf("//intranet.ebi.ac.uk")||-1!==url.indexOf("//pdbe.org")||-1!==url.indexOf("//"+document.domain)}(alist[i].href)&&((icon=document.createElement("span")).className="link-"+fileTypes[type],alist[i].appendChild(icon))}catch(err){}}function ebiFrameworkManageGlobalSearch(){try{var hasLocalSearch=null!==document.getElementById("local-search"),hasLocalEBISearch=null!==document.getElementById("ebi_search");if(hasLocalSearch||hasLocalEBISearch)document.body.className+=" no-global-search";else try{null!==(elem=document.getElementById("search-bar"))&&document.getElementById("search-bar").remove();var dropdownDiv=document.createElement("div");dropdownDiv.innerHTML='<nav id="search-bar" class="search-bar global-masthead-interactive-banner"><div class="row padding-bottom-medium"><div class="columns padding-top-medium"><button class="close-button" aria-label="Close alert" type="button"><span aria-hidden="true">×</span></button></div></div><div class="row"><form id="global-search" name="global-search" action="/ebisearch/search.ebi" method="GET" class=""><fieldset><div class="input-group"><input type="text" name="query" id="global-searchbox" class="input-group-field" placeholder="Search all of EMBL-EBI"><div class="input-group-button"><input type="submit" name="submit" value="Search" class="button"><input type="hidden" name="db" value="allebi" checked="checked"><input type="hidden" name="requestFrom" value="masthead-black-bar" checked="checked"></div></div></fieldset></form></div></nav>',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var searchBar=document.querySelectorAll(".search-bar")[0],searchBarButton=document.querySelectorAll(".search-toggle")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];searchBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&(blackBar.className+=" peek")},!1),searchBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".search-toggle")[0].addEventListener("click",function(event){ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1),document.querySelectorAll(".search-bar .close-button")[0].addEventListener("click",function(event){ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1)}catch(err){setTimeout(init,500)}}catch(err){}}function ebiFrameworkSearchNullError(){try{var disabled=-1!==document.body.className.indexOf("no-search-error"),searchBoxes=[{inputNode:document.getElementById("global-searchbox")},{inputNode:document.getElementById("local-searchbox")},{inputNode:-1!==document.body.className.indexOf("front")?document.getElementById("query"):null},{inputNode:document.getElementById("people-groups")?document.getElementById("people-groups").getElementsByTagName("input")[0]:null}];if(!disabled)for(searchBox in searchBoxes){var searchInput=searchBoxes[searchBox].inputNode,searchForm=searchInput?searchInput.form:null,searchInputDefault=searchBoxes[searchBox].defaultText||"",searchError=searchBoxes[searchBox].errorText||"Please enter a search term",isEbiSearch=-1!==(searchForm?searchForm.action:"").indexOf("/ebisearch/");searchForm&&searchInput&&isEbiSearch&&(searchForm.searchInput=searchInput,searchForm.searchInputDefault=searchInputDefault,searchForm.searchError=searchError,searchForm.onsubmit=function(){if(searchInput=this.searchInput,searchInputDefault=this.searchInputDefault,searchError=this.searchError,searchInput.value=searchInput.value.trim(),searchInput.value===searchInputDefault||""===searchInput.value)return alert(searchError),!1})}}catch(err){}}function isIE(){var myNav=navigator.userAgent.toLowerCase();return-1!=myNav.indexOf("msie")&&parseInt(myNav.split("msie")[1])}function ebiToggleClass(element,toggleClass){var newClass,currentClass=element.className;newClass=currentClass.split(" ").indexOf(toggleClass)>-1?currentClass.replace(new RegExp("\\b"+toggleClass+"\\b","g"),""):currentClass+" "+toggleClass,element.className=newClass.trim()}function ebiActivateClass(element,cssClass){element.classList.remove(cssClass),element.classList.add(cssClass)}function ebiRemoveClass(element,cssClass){element.classList.remove(cssClass)}function ebiFrameworkHideGlobalNav(){try{var elem,hasGlobalMasthead=null!==document.getElementById("masthead-black-bar"),disabled=-1!==document.body.className.indexOf("no-global-nav");hasGlobalMasthead&&disabled&&(null!==(elem=document.getElementById("global-nav"))&&elem.parentNode.removeChild(elem),null!==(elem=document.getElementById("global-nav-expanded"))&&elem.parentNode.removeChild(elem))}catch(err){}}function ebiFrameworkAssignImageByMetaTags(){var masthead=document.getElementById("masthead"),mastheadColor=document.querySelector("meta[name='ebi:masthead-color']")||document.querySelector("meta[name='ebi-masthead-color']"),mastheadImage=document.querySelector("meta[name='ebi:masthead-image']")||document.querySelector("meta[name='ebi-masthead-image']");null!=mastheadColor&&(masthead.style.backgroundColor=mastheadColor.getAttribute("content"),masthead.className+=" meta-background-color"),null!=mastheadImage&&(masthead.style.backgroundImage="url("+mastheadImage.getAttribute("content")+")",masthead.className+=" meta-background-image")}function ebiFrameworkPopulateBlackBar(){try{null!==(elem=document.getElementById("masthead-black-bar"))&&(document.getElementById("masthead-black-bar").innerHTML="");var barContents=document.createElement("div");barContents.innerHTML='<nav class="row"><ul id="global-nav" class="menu global-nav text-right"><li class="home-mobile"><a href="https://www.ebi.ac.uk"></a></li><li class="where embl hide"><a href="http://www.embl.org">EMBL</a></li><li class="where barcelona hide"><a href="#">Barcelona</a></li><li class="where hamburg hide"><a href="#">Hamburg</a></li><li class="where grenoble hide"><a href="#">Heidelberg</a></li><li class="where grenoble hide"><a href="#">Grenoble</a></li><li class="where rome hide"><a href="#">Rome</a></li><li id="embl-selector" class="float-right show-for-medium embl-selector embl-ebi"><button class="button float-right">&nbsp;</button></li><li class="float-right search"><a href="#" class="inline-block collpased float-left search-toggle"><span class="show-for-small-only">Search</span></a></li><li class="what about"><a href="https://www.ebi.ac.uk/about">About us</a></li><li class="what training"><a href="https://www.ebi.ac.uk/training">Training</a></li><li class="what research"><a href="https://www.ebi.ac.uk/research">Research</a></li><li class="what services"><a href="https://www.ebi.ac.uk/services">Services</a></li><li class="where ebi"><a href="https://www.ebi.ac.uk">EMBL-EBI</a></li></ul></nav>',document.getElementById("masthead-black-bar").insertBefore(barContents,document.getElementById("masthead-black-bar").firstChild),document.body.className+=" ebi-black-bar-loaded"}catch(err){}}function ebiGetFacet(passedAttribute){var tag="#masthead-black-bar ."+passedAttribute.toLowerCase();return document.querySelectorAll(tag)[0]}function ebiFrameworkActivateBlackBar(){try{for(var metas=document.getElementsByTagName("meta"),i=0;i<metas.length;i++)if("embl:active"==metas[i].getAttribute("name")&&(ebiRemoveClass(targetFacet=ebiGetFacet(metas[i].getAttribute("content").replace(":",".")),"hide"),ebiActivateClass(targetFacet,"active")),"embl:parent-1"==metas[i].getAttribute("name")&&(ebiRemoveClass(targetFacet=ebiGetFacet(metas[i].getAttribute("content").replace(":",".")),"hide"),ebiActivateClass(targetFacet,"active")),"embl:parent-2"==metas[i].getAttribute("name")){var targetFacet=ebiGetFacet(metas[i].getAttribute("content").replace(":","."));ebiRemoveClass(targetFacet,"hide"),ebiActivateClass(targetFacet,"active")}var mouseoutTimer;blackBar.addEventListener("mouseenter",function(){window.clearTimeout(mouseoutTimer)},!1),blackBar.addEventListener("mouseleave",function(){mouseoutTimer=window.setTimeout(function(){resetBlackBar()},500)});function resetBlackBar(){ebiFrameworkActivateBlackBar()}}catch(err){}}function ebiFrameworkInsertEMBLdropdown(){try{null!==(elem=document.getElementById("embl-bar"))&&document.getElementById("embl-bar").remove();var dropdownDiv=document.createElement("div");dropdownDiv.innerHTML='<nav id="embl-bar" class="embl-bar global-masthead-interactive-banner"><div class="row padding-bottom-medium"><div class="columns padding-top-medium"><button class="close-button" aria-label="Close alert" type="button"><span aria-hidden="true">×</span></button></div><div class="columns medium-7"><div class="large-10 medium-12"><div class="margin-bottom-large padding-top-xsmall margin-top-large"><h3 class="no-underline inline" style="line-height: 1rem;"><a href="//embl.org">EMBL</a></h3> was set up in 1974 as Europe’s flagship laboratory for the life sciences – an intergovernmental organisation with more than 80 independent research groups covering the spectrum of molecular biology:</div></div><div class="row large-up-3 medium-up-3 small-up-2 no-underline medium-11"><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/research/index.php"><h5 class="inline underline">Research:</h5> perform basic research in molecular biology</a></div><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/services/index.html"><h5 class="inline underline">Services:</h5> offer vital services to scientists in the member states</a></div><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/training/index.php"><h5 class="inline underline">Training</h5> scientists, students and visitors at all levels</a></div><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/research/tech_transfer/index.html"><h5 class="inline underline">Transfer</h5> and development of technology</a></div><div class="column padding-bottom-medium"><h5 class="inline underline">Develop</h5> new instruments and methods</div><div class="column padding-bottom-medium"><h5 class="inline underline">Integrating</h5> life science research in Europe</div></div><div class="margin-top-xlarge no-underline"><h3><a href="//embl.org" class="readmore">More about EMBL</a></h3></div></div><div class="columns medium-5"><div class="large-10 medium-12"><h3 class="inline">Six sites</h3><p>represent EMBL in Europe.</p></div><div class="row medium-up-2 small-up-2"><div class="column"><h5 class="inline"><a href="//www.embl-barcelona.es/">Barcelona</a></h5><p class="">Tissue biology and disease modelling</p></div><div class="column"><h5 class="inline"><a href="//www.embl.fr/">Grenoble</a></h5><p class="">Structural biology</p></div><div class="column"><h5 class="inline"><a href="//www.embl-hamburg.de/">Hamburg</a></h5><p class="">Structural biology</p></div><div class="column"><h5 class="inline"><a href="//www.embl.de/">Heidelberg</a></h5><p class="">Main laboratory</p></div><div class="column"><h5 class="inline"><a href="https://www.ebi.ac.uk/">Hinxton</a></h5><p class="margin-bottom-none">EMBL-EBI: European Bioinformatics Institute</p></div><div class="column"><h5 class="inline"><a href="//www.embl.it/">Rome</a></h5><p class="">Epigenetics and neurobiology</p></div></div></div></div></nav>',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var emblBar=document.querySelectorAll(".embl-bar")[0],emblBarButton=document.querySelectorAll(".embl-selector")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];emblBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&(blackBar.className+=" peek")},!1),emblBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".embl-selector")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),window.scrollTo(0,0)},!1),document.querySelectorAll(".embl-bar .close-button")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),window.scrollTo(0,0)},!1)}catch(err){}}function ebiFrameworkUpdateFoot(){function init(){try{document.getElementById("global-nav-expanded").innerHTML=html}catch(err){setTimeout(init,500)}}var html='<div class="columns small-12"><h4 class="inline-block"><a href="https://www.ebi.ac.uk" class="no-underline" title="EMBL-EBI">EMBL-EBI</a></h4><span class="small inline-block padding-left-large"><a class="readmore" href="http://intranet.ebi.ac.uk"><span class="icon icon-functional" data-icon="L"></span> Intranet for staff</a></span></div><div class="medium-up-5 small-up-2"><div class="column"><h5 class="services"><a class="services-color" href="https://www.ebi.ac.uk/services">Services</a></h5><ul> <li class="first"><a href="https://www.ebi.ac.uk/services">By topic</a></li> <li><a href="https://www.ebi.ac.uk/services/all">By name (A-Z)</a></li> <li class="last"><a href="https://www.ebi.ac.uk/support">Help &amp; Support</a></li> </ul></div><div class="column"><h5 class="research"><a class="research-color" href="https://www.ebi.ac.uk/research">Research</a></h5><ul> <li><a href="https://www.ebi.ac.uk/research/publications">Publications</a></li> <li><a href="https://www.ebi.ac.uk/research/groups">Research groups</a></li> <li class="last"><a href="https://www.ebi.ac.uk/research/postdocs">Postdocs</a> &amp; <a href="https://www.ebi.ac.uk/research/eipp">PhDs</a></li> </ul></div><div class="column"> <h5 class="training"><a class="training-color" href="https://www.ebi.ac.uk/training">Training</a></h5><ul> <li><a href="https://www.ebi.ac.uk/training/handson">Train at EBI</a></li> <li><a href="https://www.ebi.ac.uk/training/roadshow">Train outside EBI</a></li> <li><a href="https://www.ebi.ac.uk/training/online">Train online</a></li> <li class="last"><a href="https://www.ebi.ac.uk/training/contact-us">Contact organisers</a></li> </ul></div> <div class="column"> <h5 class="industry"><a class="industry-color" href="https://www.ebi.ac.uk/industry">Industry</a></h5><ul> <li><a href="https://www.ebi.ac.uk/industry/private">Members Area</a></li> <li><a href="https://www.ebi.ac.uk/industry/workshops">Workshops</a></li> <li><a href="https://www.ebi.ac.uk/industry/sme-forum"><abbr title="Small Medium Enterprise">SME</abbr> Forum</a></li> <li class="last"><a href="https://www.ebi.ac.uk/industry/contact">Contact Industry programme</a></li> </ul></div> <div class="column"> <h5 class="about"><a class="ebi-color" href="https://www.ebi.ac.uk/about">About</a></h5><ul> <li><a href="https://www.ebi.ac.uk/about/contact">Contact us</a><li><a href="https://www.ebi.ac.uk/about/events">Events</a></li> <li><a href="https://www.ebi.ac.uk/about/jobs" title="Jobs, postdocs, PhDs...">Jobs</a></li> <li class="first"><a href="https://www.ebi.ac.uk/about/news">News</a></li> <li><a href="https://www.ebi.ac.uk/about/people">People &amp; groups</a></li> </ul></div></div>';init()}function ebiFrameworkUpdateFooterMeta(){function init(){try{document.getElementById("ebi-footer-meta").innerHTML=html}catch(err){setTimeout(init,500)}}var html='<div class="columns"><p class="address">EMBL-EBI, Wellcome Genome Campus, Hinxton, Cambridgeshire, CB10 1SD, UK. +44 (0)1223 49 44 44</p> <p class="legal">Copyright &copy; EMBL-EBI '+(new Date).getFullYear()+' | EMBL-EBI is <a href="http://www.embl.org/">part of the European Molecular Biology Laboratory</a> | <a href="https://www.ebi.ac.uk/about/terms-of-use">Terms of use</a></p></div>';init()}function ebiInjectAnnouncements(message){if(void 0===message)return!1;if(void 0!==message.processed)return!0;message.processed=!0;var container=document.getElementById("main-content-area")||document.getElementById("main-content")||document.getElementById("main")||document.getElementById("content")||document.getElementById("contentsarea");if(null==container)return console.warn("A message needs to be shown on this site, but an appropriate container could not be found. \n Message follows:","\n"+message.headline,"\n"+message.message,"\nPriority:",message.priority),!1;var banner=document.createElement("div"),wrapper=document.createElement("div");banner.className="notifications-js row margin-top-medium",wrapper.className="callout "+(message.priority||""),wrapper.innerHTML="<h3>"+message.headline+"</h3>"+message.message,container.insertBefore(banner,container.firstChild),banner.appendChild(wrapper)}function ebiFrameworkIncludeAnnouncements(){function detectAnnouncements(messages){var currentHost=window.location.hostname,currentPath=window.location.pathname;if(currentHost=currentHost.replace(/wwwdev/g,"www"),ebiInjectAnnouncements(messages[currentHost]),ebiInjectAnnouncements(messages[currentHost+"/"]),ebiInjectAnnouncements(messages[currentHost+"/*"]),currentPath.length>1){for(var currentPathArray=currentPath.split("/"),pathsToMatch=[currentHost+currentPathArray[0]],i=1;i<currentPathArray.length;i++){var tempPath=pathsToMatch[i-1];pathsToMatch.push(tempPath+"/"+currentPathArray[i])}for(i=0;i<pathsToMatch.length;i++)ebiInjectAnnouncements(messages[pathsToMatch[i]]),ebiInjectAnnouncements(messages[pathsToMatch[i]+"*"]),ebiInjectAnnouncements(messages[pathsToMatch[i]+"/*"])}}function loadRemoteAnnouncements(file){window.XMLHttpRequest&&(xmlhttp=new XMLHttpRequest),xmlhttp.open("GET",file,!0),xmlhttp.onload=function(e){4===xmlhttp.readyState&&(200===xmlhttp.status?(eval(xmlhttp.responseText),detectAnnouncements(m)):console.error(xmlhttp.statusText))},xmlhttp.onerror=function(e){console.error(xmlhttp.statusText)},xmlhttp.send(null)}loadRemoteAnnouncements(0===window.location.hostname.indexOf("wwwdev.")?"https://dev.ebi.emblstatic.net/announcements.js":"https://ebi.emblstatic.net/announcements.js")}function ebiFrameworkCreateDataProtectionBanner(){var banner=document.createElement("div"),wrapper=document.createElement("div");document.createElement("div");null!=document.getElementById("data-protection-banner")&&document.getElementById("data-protection-banner").remove(),banner.id="data-protection-banner",banner.className="data-protection-banner",banner.style="position: fixed; background-color: #111; width: 100%; padding: .75rem; left: 0; bottom: 0; color: #eee;",wrapper.className="row",wrapper.innerHTML="<div class='columns medium-8 large-9'>"+dataProtectionSettings.message+" To find out more, see our <a target='_blank' href='"+dataProtectionSettings.link+"' class='white-color'>privacy policy</a>.</div><div class='columns medium-4 large-3 text-right white-color'><a id='data-protection-agree' class=''>I agree, dismiss this banner</a></div>",document.body.appendChild(banner),banner.appendChild(wrapper),openDataProtectionBanner()}function openDataProtectionBanner(){var height=document.getElementById("data-protection-banner").offsetHeight||0;document.getElementById("data-protection-banner").style.display="block",document.body.style.paddingBottom=height+"px",document.getElementById("data-protection-agree").onclick=function(){return closeDataProtectionBanner(),!1}}function closeDataProtectionBanner(){document.getElementById("data-protection-banner").offsetHeight;document.getElementById("data-protection-banner").style.display="none",document.body.style.paddingBottom="0",ebiFrameworkSetCookie(dataProtectionSettings.cookieName,"true",90)}function ebiFrameworkSetCookie(c_name,value,exdays){var c_value,exdate=new Date;exdate.setDate(exdate.getDate()+exdays),c_value=escape(value)+(null===exdays?"":";expires="+exdate.toUTCString())+";domain="+document.domain+";path=/",document.cookie=c_name+"="+c_value}function ebiFrameworkGetCookie(c_name){var i,x,y,ARRcookies=document.cookie.split(";");for(i=0;i<ARRcookies.length;i++)if(x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("=")),y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1),(x=x.replace(/^\s+|\s+$/g,""))===c_name)return unescape(y)}function ebiFrameworkRunDataProtectionBanner(){try{dataProtectionSettings.message="This website uses cookies. By continuing to browse this site, you are agreeing to the use of our site cookies. We also collect some information [text goes here, please review and agree]. ",dataProtectionSettings.link="https://www.ebi.ac.uk/about/link-needed-to-data-protection",dataProtectionSettings.serviceId="ebi",dataProtectionSettings.dataProtectionVersion="1.0";var divDataProtectionBanner=document.getElementById("data-protection-message-configuration");null!==divDataProtectionBanner&&(void 0!==divDataProtectionBanner.dataset.message&&(dataProtectionSettings.message=divDataProtectionBanner.dataset.message),void 0!==divDataProtectionBanner.dataset.link&&(dataProtectionSettings.link=divDataProtectionBanner.dataset.link),void 0!==divDataProtectionBanner.dataset.serviceId&&(dataProtectionSettings.serviceId=divDataProtectionBanner.dataset.serviceId),void 0!==divDataProtectionBanner.dataset.dataProtectionVersion&&(dataProtectionSettings.dataProtectionVersion=divDataProtectionBanner.dataset.dataProtectionVersion)),dataProtectionSettings.cookieName=dataProtectionSettings.serviceId+"-v"+dataProtectionSettings.dataProtectionVersion+"-data-protection-accepted","true"!=ebiFrameworkGetCookie(dataProtectionSettings.cookieName)&&ebiFrameworkCreateDataProtectionBanner()}catch(err){setTimeout(ebiFrameworkRunDataProtectionBanner,100)}}function resetDataProtectionBanner(){document.cookie=dataProtectionSettings.cookieName+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT;domain="+document.domain+";path=/",ebiFrameworkRunDataProtectionBanner()}function ebiFrameworkInvokeScripts(){ebiFrameworkPopulateBlackBar(),ebiFrameworkActivateBlackBar(),ebiFrameworkExternalLinks(),ebiFrameworkManageGlobalSearch(),ebiFrameworkSearchNullError(),ebiFrameworkHideGlobalNav(),ebiFrameworkAssignImageByMetaTags(),ebiFrameworkInsertEMBLdropdown(),ebiFrameworkUpdateFoot(),ebiFrameworkUpdateFooterMeta(),ebiFrameworkIncludeAnnouncements(),ebiFrameworkRunDataProtectionBanner()}var dataProtectionSettings=new Object;ebiFrameworkRunDataProtectionBanner(),document.addEventListener("DOMContentLoaded",function(event){var bodyData=document.body.dataset;isIE()&&isIE()<=10&&(bodyData=[]),"false"!=bodyData.ebiframeworkinvokescripts&&ebiFrameworkInvokeScripts()});
\ No newline at end of file
function ebiGetParameterByName(name,url){url||(url=window.location.href),name=name.replace(/[\[\]]/g,"\\$&");var results=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)").exec(url);return results?results[2]?decodeURIComponent(results[2].replace(/\+/g," ")):"":null}function ebiHasClass(element,cls){return(" "+element.className+" ").indexOf(" "+cls+" ")>-1}function ebiFrameworkExternalLinks(){try{var i,icon,alist=document.getElementsByTagName("a"),fileTypes=["pdf","doc","txt"];for(i=0;i<alist.length;i++)for(var type in fileTypes)-1===alist[i].innerHTML.indexOf('<span class="link-'+fileTypes[type]+'"></span>')&&-1===alist[i].innerHTML.indexOf("<img")&&function(url,type){return-1!==url.indexOf(type,url.length-type.length)}(alist[i].href,fileTypes[type])&&function(url){return-1===url.indexOf("//")||-1!==url.indexOf("//www.ebi.ac.uk")||-1!==url.indexOf("//wwwdev.ebi.ac.uk")||-1!==url.indexOf("//srs.ebi.ac.uk")||-1!==url.indexOf("//ftp.ebi.ac.uk")||-1!==url.indexOf("//intranet.ebi.ac.uk")||-1!==url.indexOf("//pdbe.org")||-1!==url.indexOf("//"+document.domain)}(alist[i].href)&&((icon=document.createElement("span")).className="link-"+fileTypes[type],alist[i].appendChild(icon))}catch(err){}}function ebiFrameworkManageGlobalSearch(){try{var hasLocalSearch=null!==document.getElementById("local-search"),hasLocalEBISearch=null!==document.getElementById("ebi_search");if(hasLocalSearch||hasLocalEBISearch)document.body.className+=" no-global-search";else try{null!==(elem=document.getElementById("search-bar"))&&document.getElementById("search-bar").remove();var dropdownDiv=document.createElement("div");dropdownDiv.innerHTML='<nav id="search-bar" class="search-bar global-masthead-interactive-banner"><div class="row padding-bottom-medium"><div class="columns padding-top-medium"><button class="close-button" aria-label="Close alert" type="button"><span aria-hidden="true">×</span></button></div></div><div class="row"><form id="global-search" name="global-search" action="/ebisearch/search.ebi" method="GET" class=""><fieldset><div class="input-group"><input type="text" name="query" id="global-searchbox" class="input-group-field" placeholder="Search all of EMBL-EBI"><div class="input-group-button"><input type="submit" name="submit" value="Search" class="button"><input type="hidden" name="db" value="allebi" checked="checked"><input type="hidden" name="requestFrom" value="masthead-black-bar" checked="checked"></div></div></fieldset></form></div></nav>',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var searchBar=document.querySelectorAll(".search-bar")[0],searchBarButton=document.querySelectorAll(".search-toggle")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];searchBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&(blackBar.className+=" peek")},!1),searchBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".search-toggle")[0].addEventListener("click",function(event){ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1),document.querySelectorAll(".search-bar .close-button")[0].addEventListener("click",function(event){ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1)}catch(err){setTimeout(init,500)}}catch(err){}}function ebiFrameworkSearchNullError(){try{var disabled=-1!==document.body.className.indexOf("no-search-error"),searchBoxes=[{inputNode:document.getElementById("global-searchbox")},{inputNode:document.getElementById("local-searchbox")},{inputNode:-1!==document.body.className.indexOf("front")?document.getElementById("query"):null},{inputNode:document.getElementById("people-groups")?document.getElementById("people-groups").getElementsByTagName("input")[0]:null}];if(!disabled)for(searchBox in searchBoxes){var searchInput=searchBoxes[searchBox].inputNode,searchForm=searchInput?searchInput.form:null,searchInputDefault=searchBoxes[searchBox].defaultText||"",searchError=searchBoxes[searchBox].errorText||"Please enter a search term",isEbiSearch=-1!==(searchForm?searchForm.action:"").indexOf("/ebisearch/");searchForm&&searchInput&&isEbiSearch&&(searchForm.searchInput=searchInput,searchForm.searchInputDefault=searchInputDefault,searchForm.searchError=searchError,searchForm.onsubmit=function(){if(searchInput=this.searchInput,searchInputDefault=this.searchInputDefault,searchError=this.searchError,searchInput.value=searchInput.value.trim(),searchInput.value===searchInputDefault||""===searchInput.value)return alert(searchError),!1})}}catch(err){}}function isIE(){var myNav=navigator.userAgent.toLowerCase();return-1!=myNav.indexOf("msie")&&parseInt(myNav.split("msie")[1])}function ebiToggleClass(element,toggleClass){var newClass,currentClass=element.className;newClass=currentClass.split(" ").indexOf(toggleClass)>-1?currentClass.replace(new RegExp("\\b"+toggleClass+"\\b","g"),""):currentClass+" "+toggleClass,element.className=newClass.trim()}function ebiActivateClass(element,cssClass){element.classList.remove(cssClass),element.classList.add(cssClass)}function ebiRemoveClass(element,cssClass){element.classList.remove(cssClass)}function ebiFrameworkHideGlobalNav(){try{var elem,hasGlobalMasthead=null!==document.getElementById("masthead-black-bar"),disabled=-1!==document.body.className.indexOf("no-global-nav");hasGlobalMasthead&&disabled&&(null!==(elem=document.getElementById("global-nav"))&&elem.parentNode.removeChild(elem),null!==(elem=document.getElementById("global-nav-expanded"))&&elem.parentNode.removeChild(elem))}catch(err){}}function ebiFrameworkAssignImageByMetaTags(){var masthead=document.getElementById("masthead"),mastheadColor=document.querySelector("meta[name='ebi:masthead-color']")||document.querySelector("meta[name='ebi-masthead-color']"),mastheadImage=document.querySelector("meta[name='ebi:masthead-image']")||document.querySelector("meta[name='ebi-masthead-image']");null!=mastheadColor&&(masthead.style.backgroundColor=mastheadColor.getAttribute("content"),masthead.className+=" meta-background-color"),null!=mastheadImage&&(masthead.style.backgroundImage="url("+mastheadImage.getAttribute("content")+")",masthead.className+=" meta-background-image")}function ebiFrameworkPopulateBlackBar(){try{null!==(elem=document.getElementById("masthead-black-bar"))&&(document.getElementById("masthead-black-bar").innerHTML="");var barContents=document.createElement("div");barContents.innerHTML='<nav class="row"><ul id="global-nav" class="menu global-nav text-right"><li class="home-mobile"><a href="https://www.ebi.ac.uk"></a></li><li class="where embl hide"><a href="http://www.embl.org">EMBL</a></li><li class="where barcelona hide"><a href="#">Barcelona</a></li><li class="where hamburg hide"><a href="#">Hamburg</a></li><li class="where grenoble hide"><a href="#">Heidelberg</a></li><li class="where grenoble hide"><a href="#">Grenoble</a></li><li class="where rome hide"><a href="#">Rome</a></li><li id="embl-selector" class="float-right show-for-medium embl-selector embl-ebi"><button class="button float-right">&nbsp;</button></li><li class="float-right search"><a href="#" class="inline-block collpased float-left search-toggle"><span class="show-for-small-only">Search</span></a></li><li class="what about"><a href="https://www.ebi.ac.uk/about">About us</a></li><li class="what training"><a href="https://www.ebi.ac.uk/training">Training</a></li><li class="what research"><a href="https://www.ebi.ac.uk/research">Research</a></li><li class="what services"><a href="https://www.ebi.ac.uk/services">Services</a></li><li class="where ebi"><a href="https://www.ebi.ac.uk">EMBL-EBI</a></li></ul></nav>',document.getElementById("masthead-black-bar").insertBefore(barContents,document.getElementById("masthead-black-bar").firstChild),document.body.className+=" ebi-black-bar-loaded"}catch(err){}}function ebiGetFacet(passedAttribute){var tag="#masthead-black-bar ."+passedAttribute.toLowerCase();return document.querySelectorAll(tag)[0]}function ebiFrameworkActivateBlackBar(){try{for(var metas=document.getElementsByTagName("meta"),i=0;i<metas.length;i++)if("embl:active"==metas[i].getAttribute("name")&&(ebiRemoveClass(targetFacet=ebiGetFacet(metas[i].getAttribute("content").replace(":",".")),"hide"),ebiActivateClass(targetFacet,"active")),"embl:parent-1"==metas[i].getAttribute("name")&&(ebiRemoveClass(targetFacet=ebiGetFacet(metas[i].getAttribute("content").replace(":",".")),"hide"),ebiActivateClass(targetFacet,"active")),"embl:parent-2"==metas[i].getAttribute("name")){var targetFacet=ebiGetFacet(metas[i].getAttribute("content").replace(":","."));ebiRemoveClass(targetFacet,"hide"),ebiActivateClass(targetFacet,"active")}var mouseoutTimer;blackBar.addEventListener("mouseenter",function(){window.clearTimeout(mouseoutTimer)},!1),blackBar.addEventListener("mouseleave",function(){mouseoutTimer=window.setTimeout(function(){resetBlackBar()},500)});function resetBlackBar(){ebiFrameworkActivateBlackBar()}}catch(err){}}function ebiFrameworkInsertEMBLdropdown(){try{null!==(elem=document.getElementById("embl-bar"))&&document.getElementById("embl-bar").remove();var dropdownDiv=document.createElement("div");dropdownDiv.innerHTML='<nav id="embl-bar" class="embl-bar global-masthead-interactive-banner"><div class="row padding-bottom-medium"><div class="columns padding-top-medium"><button class="close-button" aria-label="Close alert" type="button"><span aria-hidden="true">×</span></button></div><div class="columns medium-7"><div class="large-10 medium-12"><div class="margin-bottom-large padding-top-xsmall margin-top-large"><h3 class="no-underline inline" style="line-height: 1rem;"><a href="//embl.org">EMBL</a></h3> was set up in 1974 as Europe’s flagship laboratory for the life sciences – an intergovernmental organisation with more than 80 independent research groups covering the spectrum of molecular biology:</div></div><div class="row large-up-3 medium-up-3 small-up-2 no-underline medium-11"><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/research/index.php"><h5 class="inline underline">Research:</h5> perform basic research in molecular biology</a></div><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/services/index.html"><h5 class="inline underline">Services:</h5> offer vital services to scientists in the member states</a></div><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/training/index.php"><h5 class="inline underline">Training</h5> scientists, students and visitors at all levels</a></div><div class="column padding-bottom-medium"><a class="" href="https://www.embl.de/research/tech_transfer/index.html"><h5 class="inline underline">Transfer</h5> and development of technology</a></div><div class="column padding-bottom-medium"><h5 class="inline underline">Develop</h5> new instruments and methods</div><div class="column padding-bottom-medium"><h5 class="inline underline">Integrating</h5> life science research in Europe</div></div><div class="margin-top-xlarge no-underline"><h3><a href="//embl.org" class="readmore">More about EMBL</a></h3></div></div><div class="columns medium-5"><div class="large-10 medium-12"><h3 class="inline">Six sites</h3><p>represent EMBL in Europe.</p></div><div class="row medium-up-2 small-up-2"><div class="column"><h5 class="inline"><a href="//www.embl-barcelona.es/">Barcelona</a></h5><p class="">Tissue biology and disease modelling</p></div><div class="column"><h5 class="inline"><a href="//www.embl.fr/">Grenoble</a></h5><p class="">Structural biology</p></div><div class="column"><h5 class="inline"><a href="//www.embl-hamburg.de/">Hamburg</a></h5><p class="">Structural biology</p></div><div class="column"><h5 class="inline"><a href="//www.embl.de/">Heidelberg</a></h5><p class="">Main laboratory</p></div><div class="column"><h5 class="inline"><a href="https://www.ebi.ac.uk/">Hinxton</a></h5><p class="margin-bottom-none">EMBL-EBI: European Bioinformatics Institute</p></div><div class="column"><h5 class="inline"><a href="//www.embl.it/">Rome</a></h5><p class="">Epigenetics and neurobiology</p></div></div></div></div></nav>',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var emblBar=document.querySelectorAll(".embl-bar")[0],emblBarButton=document.querySelectorAll(".embl-selector")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];emblBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&(blackBar.className+=" peek")},!1),emblBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".embl-selector")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),window.scrollTo(0,0)},!1),document.querySelectorAll(".embl-bar .close-button")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),window.scrollTo(0,0)},!1)}catch(err){}}function ebiFrameworkUpdateFoot(){function init(){try{document.getElementById("global-nav-expanded").innerHTML=html}catch(err){setTimeout(init,500)}}var html='<div class="columns small-12"><h4 class="inline-block"><a href="https://www.ebi.ac.uk" class="no-underline" title="EMBL-EBI">EMBL-EBI</a></h4><span class="small inline-block padding-left-large"><a class="readmore" href="http://intranet.ebi.ac.uk"><span class="icon icon-functional" data-icon="L"></span> Intranet for staff</a></span></div><div class="medium-up-5 small-up-2"><div class="column"><h5 class="services"><a class="services-color" href="https://www.ebi.ac.uk/services">Services</a></h5><ul> <li class="first"><a href="https://www.ebi.ac.uk/services">By topic</a></li> <li><a href="https://www.ebi.ac.uk/services/all">By name (A-Z)</a></li> <li class="last"><a href="https://www.ebi.ac.uk/support">Help &amp; Support</a></li> </ul></div><div class="column"><h5 class="research"><a class="research-color" href="https://www.ebi.ac.uk/research">Research</a></h5><ul> <li><a href="https://www.ebi.ac.uk/research/publications">Publications</a></li> <li><a href="https://www.ebi.ac.uk/research/groups">Research groups</a></li> <li class="last"><a href="https://www.ebi.ac.uk/research/postdocs">Postdocs</a> &amp; <a href="https://www.ebi.ac.uk/research/eipp">PhDs</a></li> </ul></div><div class="column"> <h5 class="training"><a class="training-color" href="https://www.ebi.ac.uk/training">Training</a></h5><ul> <li><a href="https://www.ebi.ac.uk/training/handson">Train at EBI</a></li> <li><a href="https://www.ebi.ac.uk/training/roadshow">Train outside EBI</a></li> <li><a href="https://www.ebi.ac.uk/training/online">Train online</a></li> <li class="last"><a href="https://www.ebi.ac.uk/training/contact-us">Contact organisers</a></li> </ul></div> <div class="column"> <h5 class="industry"><a class="industry-color" href="https://www.ebi.ac.uk/industry">Industry</a></h5><ul> <li><a href="https://www.ebi.ac.uk/industry/private">Members Area</a></li> <li><a href="https://www.ebi.ac.uk/industry/workshops">Workshops</a></li> <li><a href="https://www.ebi.ac.uk/industry/sme-forum"><abbr title="Small Medium Enterprise">SME</abbr> Forum</a></li> <li class="last"><a href="https://www.ebi.ac.uk/industry/contact">Contact Industry programme</a></li> </ul></div> <div class="column"> <h5 class="about"><a class="ebi-color" href="https://www.ebi.ac.uk/about">About</a></h5><ul> <li><a href="https://www.ebi.ac.uk/about/contact">Contact us</a><li><a href="https://www.ebi.ac.uk/about/events">Events</a></li> <li><a href="https://www.ebi.ac.uk/about/jobs" title="Jobs, postdocs, PhDs...">Jobs</a></li> <li class="first"><a href="https://www.ebi.ac.uk/about/news">News</a></li> <li><a href="https://www.ebi.ac.uk/about/people">People &amp; groups</a></li> </ul></div></div>';init()}function ebiFrameworkUpdateFooterMeta(){function init(){try{document.getElementById("ebi-footer-meta").innerHTML=html}catch(err){setTimeout(init,500)}}var html='<div class="columns"><p class="address">EMBL-EBI, Wellcome Genome Campus, Hinxton, Cambridgeshire, CB10 1SD, UK. +44 (0)1223 49 44 44</p> <p class="legal">Copyright &copy; EMBL-EBI '+(new Date).getFullYear()+' | EMBL-EBI is <a href="http://www.embl.org/">part of the European Molecular Biology Laboratory</a> | <a href="https://www.ebi.ac.uk/about/terms-of-use">Terms of use</a></p></div>';init()}function ebiInjectAnnouncements(message){if(void 0===message)return!1;if(void 0!==message.processed)return!0;message.processed=!0;var container=document.getElementById("main-content-area")||document.getElementById("main-content")||document.getElementById("main")||document.getElementById("content")||document.getElementById("contentsarea");if(null==container)return console.warn("A message needs to be shown on this site, but an appropriate container could not be found. \n Message follows:","\n"+message.headline,"\n"+message.message,"\nPriority:",message.priority),!1;var banner=document.createElement("div"),wrapper=document.createElement("div");banner.className="notifications-js row margin-top-medium",wrapper.className="callout "+(message.priority||""),wrapper.innerHTML="<h3>"+message.headline+"</h3>"+message.message,container.insertBefore(banner,container.firstChild),banner.appendChild(wrapper)}function ebiFrameworkIncludeAnnouncements(){function detectAnnouncements(messages){var currentHost=window.location.hostname,currentPath=window.location.pathname;if(currentHost=currentHost.replace(/wwwdev/g,"www"),ebiInjectAnnouncements(messages[currentHost]),ebiInjectAnnouncements(messages[currentHost+"/"]),ebiInjectAnnouncements(messages[currentHost+"/*"]),currentPath.length>1){for(var currentPathArray=currentPath.split("/"),pathsToMatch=[currentHost+currentPathArray[0]],i=1;i<currentPathArray.length;i++){var tempPath=pathsToMatch[i-1];pathsToMatch.push(tempPath+"/"+currentPathArray[i])}for(i=0;i<pathsToMatch.length;i++)ebiInjectAnnouncements(messages[pathsToMatch[i]]),ebiInjectAnnouncements(messages[pathsToMatch[i]+"*"]),ebiInjectAnnouncements(messages[pathsToMatch[i]+"/*"])}}function loadRemoteAnnouncements(file){window.XMLHttpRequest&&(xmlhttp=new XMLHttpRequest),xmlhttp.open("GET",file,!0),xmlhttp.onload=function(e){4===xmlhttp.readyState&&(200===xmlhttp.status?(eval(xmlhttp.responseText),detectAnnouncements(m)):console.error(xmlhttp.statusText))},xmlhttp.onerror=function(e){console.error(xmlhttp.statusText)},xmlhttp.send(null)}loadRemoteAnnouncements(0===window.location.hostname.indexOf("wwwdev.")?"https://dev.ebi.emblstatic.net/announcements.js":"https://ebi.emblstatic.net/announcements.js")}function ebiFrameworkCreateDataProtectionBanner(){var banner=document.createElement("div"),wrapper=document.createElement("div");document.createElement("div");null!=document.getElementById("data-protection-banner")&&document.getElementById("data-protection-banner").remove(),banner.id="data-protection-banner",banner.className="data-protection-banner",banner.style="position: fixed; background-color: #111; width: 100%; padding: .75rem; left: 0; bottom: 0; color: #eee;",wrapper.className="row",wrapper.innerHTML="<div class='columns medium-8 large-9'>"+dataProtectionSettings.message+"</div><div class='columns medium-4 large-3 text-right white-color'><a id='data-protection-agree' class=''>I agree, dismiss this banner</a></div>",document.body.appendChild(banner),banner.appendChild(wrapper),openDataProtectionBanner()}function openDataProtectionBanner(){var height=document.getElementById("data-protection-banner").offsetHeight||0;document.getElementById("data-protection-banner").style.display="block",document.body.style.paddingBottom=height+"px",document.getElementById("data-protection-agree").onclick=function(){return closeDataProtectionBanner(),!1}}function closeDataProtectionBanner(){document.getElementById("data-protection-banner").offsetHeight;document.getElementById("data-protection-banner").style.display="none",document.body.style.paddingBottom="0",ebiFrameworkSetCookie(dataProtectionSettings.cookieName,"true",90)}function ebiFrameworkSetCookie(c_name,value,exdays){var c_value,exdate=new Date;exdate.setDate(exdate.getDate()+exdays),c_value=escape(value)+(null===exdays?"":";expires="+exdate.toUTCString())+";domain="+document.domain+";path=/",document.cookie=c_name+"="+c_value}function ebiFrameworkGetCookie(c_name){var i,x,y,ARRcookies=document.cookie.split(";");for(i=0;i<ARRcookies.length;i++)if(x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("=")),y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1),(x=x.replace(/^\s+|\s+$/g,""))===c_name)return unescape(y)}function ebiFrameworkRunDataProtectionBanner(){try{dataProtectionSettings.message='This website requires cookies, and the limited processing of your personal data in order to function. By using the site you are agreeing to this as outlined in our <a target="_blank" href="https://www.ebi.ac.uk/data-protection/privacy-notice/embl-ebi-public-website" class="white-color">Privacy Notice</a> and <a target="_blank" href="https://www.ebi.ac.uk/about/terms-of-use" class="white-color">Terms of Use</a>.',dataProtectionSettings.serviceId="ebi",dataProtectionSettings.dataProtectionVersion="1.0";var divDataProtectionBanner=document.getElementById("data-protection-message-configuration");null!==divDataProtectionBanner&&(void 0!==divDataProtectionBanner.dataset.message&&(dataProtectionSettings.message=divDataProtectionBanner.dataset.message),void 0!==divDataProtectionBanner.dataset.serviceId&&(dataProtectionSettings.serviceId=divDataProtectionBanner.dataset.serviceId),void 0!==divDataProtectionBanner.dataset.dataProtectionVersion&&(dataProtectionSettings.dataProtectionVersion=divDataProtectionBanner.dataset.dataProtectionVersion)),dataProtectionSettings.cookieName=dataProtectionSettings.serviceId+"-v"+dataProtectionSettings.dataProtectionVersion+"-data-protection-accepted","true"!=ebiFrameworkGetCookie(dataProtectionSettings.cookieName)&&ebiFrameworkCreateDataProtectionBanner()}catch(err){setTimeout(ebiFrameworkRunDataProtectionBanner,100)}}function resetDataProtectionBanner(){document.cookie=dataProtectionSettings.cookieName+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT;domain="+document.domain+";path=/",ebiFrameworkRunDataProtectionBanner()}function ebiFrameworkInvokeScripts(){ebiFrameworkPopulateBlackBar(),ebiFrameworkActivateBlackBar(),ebiFrameworkExternalLinks(),ebiFrameworkManageGlobalSearch(),ebiFrameworkSearchNullError(),ebiFrameworkHideGlobalNav(),ebiFrameworkAssignImageByMetaTags(),ebiFrameworkInsertEMBLdropdown(),ebiFrameworkUpdateFoot(),ebiFrameworkUpdateFooterMeta(),ebiFrameworkIncludeAnnouncements(),ebiFrameworkRunDataProtectionBanner()}var dataProtectionSettings=new Object;ebiFrameworkRunDataProtectionBanner(),document.addEventListener("DOMContentLoaded",function(event){var bodyData=document.body.dataset;isIE()&&isIE()<=10&&(bodyData=[]),"false"!=bodyData.ebiframeworkinvokescripts&&ebiFrameworkInvokeScripts()});
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment