YoxView demo - Changing options with the API

In this demo, the options method is used to change between different Picasa albums without the need of a page post-back.

First, the elements involved are cached, to improve performance. Then, YoxView is called, using the first <option> in the select menu as the Picasa album name. Some other aesthetic options are set as well, for the loader and sliding.

The call to the options method is done in the event handler for the select menu's change event, which first gets the selected value, then updates YoxView.

For more examples, go to the Yoxview usage page.