Twitter / diyism (3) DIYism: 手机应用里常需一行内:按钮定宽,内容fill parent remaining,此情况似乎box-flex是唯一解,幸好android 2.2以上都支持 @_:"display:inline-block;width:n%;margin-left:m%;"比box-flex更方便… |
- DIYism: 手机应用里常需一行内:按钮定宽,内容fill parent remaining,此情况似乎box-flex是唯一解,幸好android 2.2以上都支持 @_:"display:inline-block;width:n%;margin-left:m%;"比box-flex更方便…
- DIYism: js里数组是具体规格对象,除元素还可有属性,typeof()得'object',得用instanceof Array来辨别,要简单克隆json对象:aObj=bObj instanceof Array?$.extend([], bObj):$.extend({}, bObj);
- DIYism: https://t.co/NrYh4TzXap 开js新窗口其域仍在原站,所以允许本地js访问互联网网页应无安全顾虑,奈何chrome等浏览器都禁止,从本地js调试自己服务器php时都得加:header("Access-Control-Allow-Origin: null");
| Posted: 手机应用里常需一行内:按钮定宽,内容fill parent remaining,此情况似乎box-flex是唯一解,幸好android 2.2以上都支持 @_:"display:inline-block;width:n%;margin-left:m%;"比box-flex更方便… |
| Posted: js里数组是具体规格对象,除元素还可有属性,typeof()得'object',得用instanceof Array来辨别,要简单克隆json对象:aObj=bObj instanceof Array?$.extend([], bObj):$.extend({}, bObj); |
| Posted: https://t.co/NrYh4TzXap 开js新窗口其域仍在原站,所以允许本地js访问互联网网页应无安全顾虑,奈何chrome等浏览器都禁止,从本地js调试自己服务器php时都得加:header("Access-Control-Allow-Origin: null"); |
| You are subscribed to email updates from Twitter search: from:diyism To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 20 West Kinzie, Chicago IL USA 60610 | |
No comments:
Post a Comment