Copy the full code of this recipe from the
code/05/dynamic-slider sources folder. This code can be launched using the URL
main.html, add the following empty form to the page content:
<form id='volumeForm' action='#' method='post'></form>
<head>section to dynamically add a flip switch and a slider:
$('#main').live('pageinit', function(event) ...