1. Your <body> tag DOES NOT belong in your <head>.
2. You don't need seperate script tags for each function.
3. Use the type="text/javascript" attribute on your <script> tags
Code:
<script type="text/javascript">
var a = 0
var aa = 10
function e() {
if (a<aa) {
a++
document.getElementById('zx').style.letterSpacing=a
pokli = setTimeout("e()",50)}
}
var d = 9
var dd = 0
function asd() {
if (d>dd) {
d--
document.getElementById('zx').style.letterSpacing=d
aoposido = setTimeout("asd()",50)}
}
var b = 0
var bb = 10
function w() {
if (b<bb) {
b++
document.getElementById('cv').style.letterSpacing=b
askli = setTimeout("w()",50)}
}
var c = 0
var cc = 10
function q() {
if (c<cc) {
c++
document.getElementById('bn').style.letterSpacing=c
asop = setTimeout("q()",50)}
}
</script>
You should try to validate your pages as well.
Bookmarks