转自 jQuery Iphone Style Ajax Switch
http://papermashup.com/jquery-iphone-style-ajax-switch/
?
<script type="text/javascript"> $('#1').iphoneSwitch("on", function() { alert('open'); //$('#ajax').load('on.html'); }, function() { alert('close'); //$('#ajax').load('off.html'); }, { switch_on_container_path: 'iphone_switch_container_off.png' }); </script>
?
ie6下有点不正常~~
?