1 $("#popupwindow-demo").bind("pageshow", function() {
2 $('#popupwindow-demo-transition-' + $("#popupContent2").popupwindow("option", "transition"))
3 .attr("checked", "true")
4 .checkboxradio("refresh");
6 $(this).find('#progressbar').progressbar('start');
9 $('input[name=popupwindow-demo-transition-choice]').bind("change", function(e) {
10 $("#popupContent2").popupwindow("option", "transition", $(this).attr("id").split("-").pop());