Board index » Web Programming » onscroll Event Not Firing in ASP.NET 2.0
|
skymastersenior
|
onscroll Event Not Firing in ASP.NET 2.0
Web Programming54
While attempting to get my floating toolbar to work in ASP.NET 2.0, I noticed that the onscroll event is not firing. I've specified this on the BODY tag, as always. After some testing, I realized that the new DocType being used in 2.0 (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">) is the culprit. Upon using the old 1.1 DocType (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">) the onscroll event began firing again. I've read that the new doctype really should be used, but I can't seem to find any workarounds when using the new one. Anyone else having this problem? - |
