javascript - Need whole body tag mouseover function -


i need whole body mouseover function. when enter other page, of content append particular div.

my code is:

$('body').mouseover(function() {   $('#text').append('<div>new content</div>'); }); 

the body not have full potential height if contents fit in lower height.

you use $('html').mouseover instead: http://jsfiddle.net/mpdd7/.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -