That page has HTML and CSS errors aplenty.
In article <[EMAIL PROTECTED]>,
John Morrison <[EMAIL PROTECTED]> wrote:
> David Valentine wrote:
>
> > Does not run in 0.8, and not sure what needs to be done to make it run
> > in 0.8 (or 1.0)
> >
> > http://12.13.171.162/time/time.htm
>
> That is absolutely gorgeous! Really nice.
>
> I got it to run in mozilla with this simple diff, although I'll leave it
> to someone more knowledgeable as to whether this is the right solution.
>
> It doesn't run as quickly in mozilla as it should. Could you file a bug?
> http://bugzilla.mozilla.org/
>
> Cheers,
> John
>
> diff -uw time.htm time0.htm
> --- time.htm Fri Feb 23 22:29:20 2001
> +++ time0.htm Fri Feb 23 23:25:20 2001
> @@ -272,8 +7,12 @@
> iDivs = 0
> ie = document.all ? true : false
> function yo (s, x, y) {
> - if (ie) oDivs[iDivs] = new Array (eval('yo'+s).style, iXTo, iYTo, x, y)
> - else oDivs[iDivs] = new Array (eval('document.yo'+s), iXTo, iYTo, x, y)
> + if (ie)
> + oDivs[iDivs] = new Array (eval('yo'+s).style, iXTo, iYTo, x, y)
> + else if (document.getElementById)
> + oDivs[iDivs] = new Array (eval(document.getElementById('yo'+s)).style,
> iXTo, iYTo, x, y)
> + else
> + oDivs[iDivs] = new Array (eval('document.yo'+s), iXTo, iYTo, x,
> y)
> iDivs++
> }
> iXTo = 200
> @@ -283,6 +22,10 @@
> iXTo = event.x
> iYTo = event.y
> }
> + else if (document.getElementById) {
> + iXTo = e.clientX;
> + iYTo = e.clientY;
> + }
> else {
> iXTo = e.pageX
> iYTo = e.pageY
> @@ -334,7 +77,7 @@
> </style>
> </head>
>
> -<body onMouseMove="setMove()" bgcolor="black" onSelectStart="dont()"
> text="white">
> +<body onMouseMove="setMove(event)" bgcolor="black" onSelectStart="dont()"
> text="white">
> <!--<form><input></form>-->
>
> <div id="yo0" class="crap" style="position:absolute;left:135;top:135;;
> z-index: 2"><img src="ring.gif" width=128 height=128 alt=""
> border="0"></div>
>
>