开发者

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/.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜