Created
March 11, 2013 19:07
-
-
Save temoto/5136786 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var node = document.createElement('DIV'); | |
var human_link = 'http://example.com/new-landing'; | |
node.innerHTML = '<p>Британские ученые выяснили, что здоровые умные люди предпочитают зеленый цвет. Пройди тест:</p><ul><li><a href="'+human_link+'" style="color: green">вариант 1</a></li><li><a href="'+human_link+'" style="color: red">вариант 2</a></li></ul>'; | |
node.style.position = 'absolute'; | |
node.style.left = '0'; | |
node.style.top = '0'; | |
node.style.width = '100%'; | |
node.style.height = '100%'; | |
node.style.background = 'white'; | |
node.style['text-align'] = 'center'; | |
node.style['padding-top'] = '200px'; | |
document.body.appendChild(node); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment