Background fading using jQuery

How could you fade in the background image (body tag, and it's tiled) with jQuery? The background color is white and in the callback function I want to turn the background image on and off.

Any ideas?

0
javascript jquery
Nov 06 '09 at 22:19
source share
2 answers
0
Nov 06 '09 at 22:22
source share

Unfortunately, you cannot fade much in the background-lined image. Since the image is part of the CSS rendering system, it does not have a node in the DOM.

You can do some fancy things using frame type animation by moving the position of the background image, but this will not work with:

A. a whole body background B. a tiled image. 
0
Nov 06 '09 at 22:22
source share



All Articles