7月 30, 2011
7月 29, 2011
Android 開發時 APK 檔案太大時解決方法
再 Run As → Run Configurations → 點選專案名稱 → Target
在 Target 畫面裡的最下面加入 -partition-size 256
在 Target 畫面裡的最下面加入 -partition-size 256
7月 28, 2011
Jquery AJAX
$(document).ready(function() {
//用$_POST["name"]接值
$("a.yy").click(function(){
$.post('hello.php',{name: 'kkpp88p'},
function(txt){$('div.msg').html(txt);}); });
$.ajax({ //用$_GET["hh"]接值 可加入type: 'post', 改成用POST
url: 'hello.php',
data: {hh: '456789'},
error: function() { alert('error!'); },
success: function(response) { $('div.msg').html(response) }
});
});
7月 26, 2011
Youtube
AS3的語法
<iframe width="425" height="349" src="http://www.youtube.com/embed/iTeA9Nj9qOM?autoplay=1&loop=1&playlist=iTeA9Nj9qOM&autohide=2" frameborder="0" allowfullscreen></iframe>
AS2的語法
<iframe width="425" height="349" src="http://www.youtube.com/v/iTeA9Nj9qOM?autoplay=1&loop=1&autohide=0&color1=0x444444&color2=0x444444" frameborder="0" allowfullscreen></iframe>
訂閱:
文章 (Atom)