Topic awaiting preservation: Code I've used for IE5 countless times won't work with my new intro page |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: Preston, Lancashire, England |
posted 03-25-2002 13:53
Here's the page for some reason, even accessing the layer directly with document.getElementById() rather than the eval statements doesn't work. it works fine in netscape and netscape 6 so I'm guessing I've just been staring at the code so long there's probably some obvious mistake I've overlooked. |
Bipolar (III) Inmate From: dk's house of love |
posted 03-25-2002 23:13
Just a quick thought that IE might return certain .style attribs with a "px" on the end. I might be mistaken and that could be NS but I think I remember one of them returning their .left and .top with a px measurement on the end. If this is the case then a substring function on the string with get you what you are looking for. I will look into it as soon as I can to confirm this. |
Neurotic (0) Inmate Newly admitted |
posted 03-27-2002 21:21 |
Neurotic (0) Inmate Newly admitted |
posted 03-27-2002 21:23
Well it doesnt give an error, it just doesnt seem to do anything, I doubt its a problem with the code at all. I've had the exact same problem/symtoms before. |