Dave Clark I
05-24-2005, 05:00 AM
This script (http://www.dynamicdrive.com/dynamicindex13/trailortext.htm) has a bug where the following properties in IE6 always yield a value of zero even though the page is scrolled down from the top (and/or over from the left) of the document origins.
document.body.scrollLeft
document.body.scrollTop
I did find code that alleviates the problem. However, the code I found indicates that it is a fix for running in IE6 Strict mode -- even though I was running in IE6 Transitional mode. I also modified this script so that it works in NS7 and FF1, too.
I tried to contact the original author, but no response. What is the policy on providing enhancements to such orphan scripts?
document.body.scrollLeft
document.body.scrollTop
I did find code that alleviates the problem. However, the code I found indicates that it is a fix for running in IE6 Strict mode -- even though I was running in IE6 Transitional mode. I also modified this script so that it works in NS7 and FF1, too.
I tried to contact the original author, but no response. What is the policy on providing enhancements to such orphan scripts?