[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j

i may be completely misunderstanding you, but have you tried to
combine a fadeOut() on the first image then a fadeIn() on the next
image?

you can change the background-color of a div with

$('#yourDiv').css("background-color", newColour)

but that will just change it, it won't fade it gradually on it's own.

or if you're feeling fruity you can layer the 2 images up and fade
one out to reveal the other one or whatever.

you'd probably want to change the src of the new img.inactive to point
to the next image, switch their classes between active to inactive,
with active having the higher z-index and .inactive being hidden.

something like that should do the trick, anyway.

On May 18, 3:21 pm, g10tto  wrote:
> bump


[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j

i may be completely misunderstanding you, but have you tried to
combine a fadeOut() on the first image then a fadeIn() on the next
image?

you can change the background-color of a div with $('#yourDiv').css
("background-color", newColour) or if you're feeling fruity you can
layer the 2 images up and fade one out as you fade the other one in or
whatever.

On May 18, 3:21 pm, g10tto  wrote:
> bump


[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j

you mean like like fadeIn() and fadeOut() ?

On May 14, 5:27 pm, g10tto  wrote:
> I'm putting together a portfolio site and I'd like to use high-res
> images that take up most of the screen to show different works. There
> would be a menu bar with links to each work, where a click on that
> work's link would change the background by doing a standard "dissolve"
> effect.
>
> I have seen many different plugins for "rotating" images and changing
> background colors at the click of a button. Is there a method
> specifically for this purpose?
>
> As an alternative to altering the background-image of the body itself,
> I would be willing to use a properly sized div (or div's) to achieve
> this effect.
>
> Help appreciado! Thanks!


[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread g10tto

bump


[jQuery] Re: How to animate background images or background of div

2009-05-15 Thread g10tto

bump