Probably I still don't understand the main concept. Could you please kinly let me know what do I need to change to get it started working? The code is:
<script>
var p = document.getElementById('logotop');
if (p.className == "logolink")
{
if (p.complete)
{
p.className = "logolink2";
}
}
</script>
It has to change the class of the 'logotop' object right after it gets loaded. I need to have it working right after I visit my page. I put it into
<head>
</head>
Thank you in advance.