Hi Andrei, if you want one that always turns all images off instead of toggling them, then you can change that script so it just sets hidden = true, like this:
script: /* Hide all background images */ var images = moi.view.getBackgroundImages(); for ( var i = 0; i < images.length; ++i ) images.item(i).hidden = true;
Let me know if that doesn't do what you want.
- Michael
|