Effect.Morph is not working properly when changing the vertical
background position of a CSS background image. (s version:1.8.1, p
version :1.6.0)
I'm trying to build a wipe effect. I'm making it appear as if the
image splits and then wipes away, starting from the center. This
worked well enough with making it split vertically and wipe
horizontally; I make two DIVs (left, right) and reduce the size of
the left to zero. The right div I move right, while moving the
position of the background to the left, so it appears the image is
being wiped away without moving.
The problem arises when I was building the second mode - horizontal
split with a vertical wipe. The background image in the bottom half
did not reposition, it it just appears as if it's sliding down.
I did a test to see if Effect.Morph was the problem and it appears to
be the case.
Vertical split demo:
http://jameslab.moveable.com/morph/wipe.htm
Horizontal split demo:
http://jameslab.moveable.com/morph/wipe2.htm
Test script:
http://jameslab.moveable.com/morph/test.htm
If anyone has some insights I'd appreciate it.
- James.