C
CMM
Has any one gotten a "stay-in-view" floating div to work in ASP.NET 2.0?
For those that don't know, the classic way is this (for IE anyway):
(window.onscroll...)
document.all.Toolbar.style.pixelTop = document.body.scrollTop;
But, this doesn't seem to work in any way with ASP.NET 2.0. The problem
seems to lay in ASP.NET 2.0's default doctype...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I'd like to keep using this doctype because it helps with rendering tables
consistently across browsers.... anyone know of a way to get
"onscroll...pixelTop = document.body.scrollTop" to work?
For those that don't know, the classic way is this (for IE anyway):
(window.onscroll...)
document.all.Toolbar.style.pixelTop = document.body.scrollTop;
But, this doesn't seem to work in any way with ASP.NET 2.0. The problem
seems to lay in ASP.NET 2.0's default doctype...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I'd like to keep using this doctype because it helps with rendering tables
consistently across browsers.... anyone know of a way to get
"onscroll...pixelTop = document.body.scrollTop" to work?