Need whole body tag mouseover function
I need to whole body mouseover function. When I enter some other page, some of my content will append the particular div.
My code is:
$('body').mouseover(function() 开发者_如何学Go{
$('#text').append('<div>New content</div>');
});
The body will not always have its full potential height if the contents fit in a lower height.
You could use $('html').mouseover
instead: http://jsfiddle.net/mPdd7/.
精彩评论