jquery.mobile.actionsheet icon indicating copy to clipboard operation
jquery.mobile.actionsheet copied to clipboard

reduce wallpaper size

Open wang-bin opened this issue 11 years ago • 2 comments

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.

wang-bin avatar Mar 28 '13 17:03 wang-bin

Hi! How did you do that?

hiroprotagonist avatar Apr 12 '13 13:04 hiroprotagonist

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.

wang-bin avatar Apr 18 '13 02:04 wang-bin