6
Contributors
7
Replies
10
Views
5 Years
Discussion Span
Last Post by Troy III
0

well, not in my case :), especially when it comes to js + css animations, IE versions are light years ahead.
So to back this up - here is a code I wrote for IE4 (if I'm not mistaken); - Yes, it's that old...
It weights less than 1KB and yes it was worth of about 1MB flash of a full-screen reso.bck than.
Yet again, other browsers can't play it as smooth as IE's always did, not even the most up to date editions.
I'm not using IE fade effect, because a decade ago, no other browser could do that, that's why this code uses color fade simulation.

So here it is, - anyone can try it and test on his own:

<!DOCTYPE html>
<html>
<head>
<meta name=Author content="b.b. Troy III p.a.e.">
<title>intro</title>
<style>
#cnt{position:absolute;left:-100%;width:300%;text-align:center}
body,html{margin:0;background:black;overflow:hidden}
</style>
</head>
<body>
<div id=cnt><i><div id=ctr></div></i></div>
<script>
onload=start;
var ctr=document.getElementById("ctr"),r=255,g=88,b=64,i=1,j=0,msg=new Array("KEEP&nbsp;","WALKING","SEARCHING","TRUSTING","Learning To Make Choices For The Future..."),E=ctr.style;
function H(){E.lineHeight=document.documentElement.clientHeight+"px"}
function start(T){
        T=setTimeout('start()',30);
    if(r>0){
        j+=3; r-=4; g-=2; b-=1; ctr.innerHTML=msg[0]+msg[i];
        E.color='rgb('+r+','+g+','+b+')'; E.fontSize=j+'px'}
    else if(i<3){
        i++; r=255; g=88; b=64; j=0}
    else{
        E.color="rgb(255,88,64)"; E.fontSize="16pt"; E.letterSpacing="3pt";
        ctr.innerHTML=msg[4]; clearTimeout(T)}
    }
onresize=H;
H(); 
</script>
</body>
</html>

Edited by Troy III: a string broke in two lines

0

I had given up on IE a while back, but you are correct...it does look crisp and clean in IE.

0

I think IE is THE worst browser, not just graphics-wise. Don't know about the latest version though.

Edited by G_S

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.