Hi,

In aspx page

i wrote one function in javasript to show the scrolling height

function scrollingDetector(){

if (navigator.appName == "Microsoft Internet Explorer"){

alert("You've scrolled to " + document.body.scrollTop + " pixels.");

}else{alert ("You've scrolled to " + window.pageYOffset + " pixels.");}


}

and calling this function in <body onscroll= scrollingDetector()

this one is working fine if am not including this below line in the top of <html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

but if i include this line onscroll property of body is not working.

Anybody please help me why it is happening..

waiting for your valuable response

Veeres