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 -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -