Open wang-bin opened 11 years ago
Hi! How did you do that?
I create wallpaper in _init(), resize and show it in open(), hide it in close(). because the wallpaper's size is the not the whole page size, so i disable scrolling when wallpaper is visible $('body').css('overflow-y','hidden');
, and enable scrolling when wallpaper is hidden $('body').css('overflow-y','scroll');
.
I can make a patch later.
wallpaper's size is the whole page size. on some phone (i tested in webkit on HTC One X)it is slow to renderer the wallpaper. I have tried to set the wallpaper size the same as visible window size, the performance is better.