CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
(56 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <head> | ||
+ | <script src="https://2015.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
+ | <script>alert('Hover on the green one')</script> | ||
+ | </head> | ||
<body> | <body> | ||
− | |||
− | + | <object id='test_svg' data="https://static.igem.org/mediawiki/2017/5/5a/Greekom_test_svg.svg" type="image/svg+xml"></object> | |
+ | <script> | ||
+ | window.onload = function(){ | ||
+ | var graph = document.getElementById('test_svg').contentDocument; | ||
+ | graph.getElementById('gene_xA0_Image_1_').addEventListener('mouseover', | ||
+ | function(){ | ||
+ | graph.getElementById('rtTA_xA0_Image_1_').style.display = 'block'; | ||
+ | |||
+ | }) | ||
+ | graph.getElementById('gene_xA0_Image_1_').addEventListener('mouseleave', | ||
+ | function(){ | ||
+ | graph.getElementById('rtTA_xA0_Image_1_').style.display = 'none'; | ||
+ | }) | ||
+ | } | ||
</script> | </script> | ||
− | < | + | <script> |
+ | $.getJSON('https://2017.igem.org/Template:Greece/samples/data/json/map?callback=?', function (data) { | ||
+ | try{ | ||
+ | alert(typeof(data)); | ||
+ | }catch(e){ | ||
+ | alert(e.message); | ||
+ | } | ||
+ | }) | ||
+ | </script> | ||
− | |||
+ | \[E = \frac{{stress}}{{strain}} = \frac{{F{L_0}}}{{A({L_n} - {L_0})}}\] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | $$\frac{dN}{dt}= rN \left(1 - \left(\frac{N}{N_{max}}\right)^m\right)\left(1 - \left(\frac{N_{min}}{N}\right)^n\right)$$ | ||
+ | |||
+ | |||
+ | $$x^2=2 \Rightarrow x=\pm2$$ | ||
+ | |||
+ | <div style='border: 1px solid black'> | ||
+ | <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> | ||
+ | <msup> | ||
+ | <mi>x</mi> | ||
+ | <mn>2</mn> | ||
+ | </msup> | ||
+ | <mo>=</mo> | ||
+ | <mn>2</mn> | ||
+ | <mo stretchy="false">⇒<!-- ⇒ --></mo> | ||
+ | <mi>x</mi> | ||
+ | <mo>=</mo> | ||
+ | <mo>±<!-- ± --></mo> | ||
+ | <mn>2</mn> | ||
+ | </math> | ||
+ | </div> | ||
+ | |||
+ | \[\mathop {\lim }\limits_{x \to \infty } x\] | ||
+ | <div style='position:absolute; z-index:1000; background-color: #ffffff; margin:150px 0px 0px 300px; width:250px; height:250px; text-align: center;'> | ||
+ | |||
+ | <p><h1>Testing MathJax</h1></p> | ||
+ | |||
+ | <math style='position:absolute; z-index:99; border:none; font-size:25px;' display='block'> | ||
+ | <mrow> | ||
+ | <mfrac> | ||
+ | <mrow> | ||
+ | <mo>−</mo><mi>b</mi><mo>±</mo><msqrt> | ||
+ | <mrow> | ||
+ | <msup> | ||
+ | <mi>b</mi> | ||
+ | <mn>2</mn> | ||
+ | </msup> | ||
+ | <mo>−</mo><mn>4</mn><mi>a</mi><mi>c</mi> | ||
+ | </mrow> | ||
+ | </msqrt> | ||
+ | |||
+ | </mrow> | ||
+ | <mrow> | ||
+ | <mn>2</mn><mi>a</mi> | ||
+ | </mrow> | ||
+ | </mfrac> | ||
+ | </mrow> | ||
+ | </math> | ||
+ | |||
+ | <math style='position:absolute; z-index: 1000; font-size:20px; border:none; margin-top:20px;' display='block'> | ||
+ | <mrow> | ||
+ | <mi>x</mi><mo>+</mo><mi>y</mi><mo>+</mo><mi>z</mi><mo>=</mo><mi>k</mi> | ||
+ | </mrow> | ||
+ | </math> | ||
+ | |||
+ | <math display='block'> | ||
+ | <mrow> | ||
+ | <munder> | ||
+ | <mrow> | ||
+ | <mi>lim</mi> | ||
+ | </mrow> | ||
+ | <mrow> | ||
+ | <mi>x</mi><mo>→</mo><mi>∞</mi> | ||
+ | </mrow> | ||
+ | </munder> | ||
+ | <msup> | ||
+ | <mi>x</mi> | ||
+ | <mn>2</mn> | ||
+ | </msup> | ||
+ | |||
+ | </mrow> | ||
+ | </math> | ||
+ | |||
+ | |||
+ | </div> | ||
+ | |||
+ | <style> | ||
+ | #math_section{ font-size: 25px; } | ||
+ | </style> | ||
+ | <div style="border:2px solid #000000; width:500px; height:500px"> | ||
+ | </html> | ||
+ | |||
+ | {{Greece/notebok}} | ||
+ | |||
+ | <html> | ||
+ | </div> | ||
+ | <script> | ||
+ | //Changes shall apply under void() | ||
+ | // Upper black toolbar stays there id = 'top_menu_14' -> Could be display:block | ||
+ | // Main div wrapper contains code and all other stuff id = 'content' -> Change id to 'content2' | ||
+ | // Reason: iGEM puts everything in document.getElementById('content') - change id - cause element 404 | ||
+ | void(document.getElementById('content').id = 'content0') | ||
+ | |||
+ | // Div (placeholder) containing the iGEM logo and some text id = 'top_title' -> Apply display: none | ||
+ | void(document.getElementById('top_title').style.display = 'none'); | ||
+ | |||
+ | // Small icon in the top black toolbar id = 'bars_item' -> Apply display: none | ||
+ | void(document.getElementById('bars_item').style.display = 'none'); | ||
+ | // Same application for it's side effect (display an ugly div by default) | ||
+ | |||
+ | void(document.getElementById('user_item').style.display = 'none'); | ||
+ | void(document.getElementById('sideMenu').style.display = 'none'); | ||
+ | var element = document.getElementById('home_logo'); | ||
+ | element.outerHTML = ''; | ||
+ | delete element; | ||
+ | </script> | ||
</body> | </body> | ||
+ | |||
</html> | </html> |
Latest revision as of 01:00, 1 November 2017
\[E = \frac{{stress}}{{strain}} = \frac{{F{L_0}}}{{A({L_n} - {L_0})}}\] $$\frac{dN}{dt}= rN \left(1 - \left(\frac{N}{N_{max}}\right)^m\right)\left(1 - \left(\frac{N_{min}}{N}\right)^n\right)$$ $$x^2=2 \Rightarrow x=\pm2$$
Testing MathJax
- INTERACTIVITY CONTROLS