John's profileballboy yes! It's me! 我的...PhotosBlogListsMore Tools Help

ballboy yes! It's me! 我的吉他譜與遊記

John

Occupation
Location
Interests
到澳洲鬼混了半年~
現在回台要實現夢想!
Please wait...
Sorry, the comment you entered is too long. Please shorten it.
You didn't enter anything. Please try again.
Sorry, we can't add your comment right now. Please try again later.
To add a comment, you need permission from your parent. Ask for permission
Your parent has turned off comments.
Sorry, we can't delete your comment right now. Please try again later.
You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
Complete the security check below to finish leaving your comment.
The characters you type in the security check must match the characters in the picture or audio.
娟娟 吳wrote:
閑著沒事,過來瞄瞄!
Sept. 3
anitawrote:
hi~
我來逛逛囉!!!
 
Mar. 16
崧懿 毛wrote:
你好阿
 
Mar. 14
瑋 ㄚwrote:
哈囉...可以轉貼阿...謝謝你的欣賞...感謝
Jan. 22
June 29

Ext中grid所使用的renderer

                    renderer: function(value,metadata,record,rowIndex, colIndex, store){
                            alert(record.get("roomName"));
                            return value;
   
                       }
June 01

免費簡訊分享給朋友

以前去澳洲時找到一個每天有免費簡訊的網站~

所以回台灣後~ 也想說不知道有沒有這種好康~

沒想到真的有~

1. EVERY8D http://www.every8d.com/sms2/index_in.html
 
2. 三竹 http://msg.mitake.com.tw/SMS/AddMember.jsp (免費試用50則)
 
各位朋友可以斟酌著用~
May 04

EXTJS利用local的json grid範例(JAVA)

            <script  type="text/javascript">   
                <%
                boolean flag = (request.getParameter("userid") != null && request.getParameter("userid").length() > 8);
                boolean nameflag = (request.getParameter("username") != null && request.getParameter("username").length() >= 2);
                Transport.dao.MainDao mainlogin = new Transport.dao.MainDao();
                TransBean[] trans = null;
                if (flag) {
                    trans = mainlogin.getTrans(request.getParameter("userid"));
                    //System.out.println("aaa:" + JSONObject.fromObject(trans[0]).toString());
                } else if (nameflag) {
                //trans=mainlogin.getBankByName(request.getParameter("username"));
                }

%>
    Ext.onReady(function(){
        
        Ext.QuickTips.init();
        Ext.form.Field.prototype.msgTarget = 'side';

var colModel = new Ext.grid.ColumnModel([
    new Ext.grid.RowNumberer(),
    {header: '姓名' ,dataIndex: 'NAME' },
    {header: '身份證字號' ,dataIndex: 'IDNO' },
    {header: '異動年度' ,dataIndex: 'TRS_YY' },
    {header: '異動月份' ,dataIndex: 'TRS_MM' },
    {header: '原因' ,dataIndex: 'REASON' },
    {header: '核發天數' ,dataIndex: 'DAYS' },
    {header: '處理別' ,dataIndex: 'FLAG' },
    {header: '扣款年度' ,dataIndex: 'EFFECT_YY' },
    {header: '扣款月份' ,dataIndex: 'EFFECT_MM' }
]);                    
 
var sm = new Ext.grid.CheckboxSelectionModel();
var cm = new Ext.grid.ColumnModel([
   
    new Ext.grid.RowNumberer(),
   
    sm,
   
    {header:'姓名',dataIndex:'NAME'},
    {header:'身份證字號',dataIndex:'IDNO'},
    {header:'異動年度',dataIndex:'TRS_YY'},
    {header:'異動月份',dataIndex:'TRS_MM'},
    {header:'原因',dataIndex:'REASON',editor: new Ext.form.TextField({
        allowBlank: true, 
        maxValue: 512
    })
},
{header:'核發天數',dataIndex:'DAYS'},
{header:'處理別',dataIndex:'FLAG'},
{header:'扣款年度',dataIndex:'EFFECT_YY'},
{header:'扣款月份',dataIndex:'EFFECT_MM'}
]);
cm.defaultSortable=true;
var data = {
    'players':[
            <%if (trans.length > 0) {
                    for (int i = 0; i < trans.length; i++) {
                %>
                    <%=JSONObject.fromObject(trans[i]).toString()%><%=(i != trans.length - 1) ? "," : ""%>
            <%}
                }%>  
            ]
        };
       
        var ds = new Ext.data.Store({
            proxy:new Ext.data.MemoryProxy(data),
            reader:new Ext.data.JsonReader({root:'players'},[
                {name:'DAYS'},
                {name:'EFFECT_MM'},
                {name:'EFFECT_YY'},
                {name:'FLAG'},
                {name:'IDNO'},
                {name:'NAME'},
                {name:'REASON'},
                {name:'TRS_MM'},
                {name:'TRS_YY'}
            ])
        });
        ds.load();
       
        var grid = new Ext.grid.EditorGridPanel({
            renderTo:'hello',
            cm:cm,
            ds:ds,
            sm:sm,
            title:'異動結果',
            width:740,
            autoHeight: true,
            listeners: {
                afteredit: function(e){

                    if (e.field != 'REASON' && e.value == ''){
                        Ext.Msg.alert('Status','錯誤更新!');
                        e.record.reject();
                    }else{
                    var conn = new Ext.data.Connection();
                       conn.request({
                        url: 'http://localhost:8084/Transport/Control?action=UPDATETRANS',
                        params: {
                            TRS_MM: e.record.TRS_MM,
                            id: e.record.id,
                            field: e.field,
                            value: e.value
                        },
                        success: function(resp,opt) {
                            Ext.Msg.alert('Status','正確更新!');
                            e.commit();
                        },
                        failure: function(resp,opt) {
                            Ext.Msg.alert('Status','錯誤更新!');
                            e.reject();
                        }
                    });
                }
            }
        },
        viewConfig: {
            forceFit:true
        }
    });

}
});
            </script>
April 30

關於腳力這件事!


我從以前就知道~ 我的腳力不太好~

而自從去澳洲的農場打工後~ 在經過第一天10多小時的工作~

之後的腿軟~ 讓我蹲個廁所~ 都要抖個半天才蹲的下去~

更加確定了我的腳力不佳~



而這更反應到了今年過年我的單車環島~

當我遇到第一個上坡(一個橋)~ 騎了五分鐘後~ 我就發現我累了~

心裡想說 "完了! 還有幾百公里的路" 才剛騎一個上坡就累了~

不過~ 哈哈~ 後來還是騎到了花蓮~ 其中台東到花蓮連續幾公里的上坡可真是人間煉獄啊!!




而回到家後發現了一件事~

腳力真的變好了~ 騎車不太容易會累~

不過到現在~ 我又發現另一件事~

沒有常常騎~ 腳力又回去了~

所以勤能補拙啊! 還是要靠不停的鍛鍊~
January 22

2008年底金門福建土樓之旅

2008.12.31~2009.1.5的金門福建土樓之旅~

回來已經好幾天了~ 不過偷懶沒寫遊記~

不過真的是很有意思的旅行~

第一次看到金門的戰爭坑道~

第一次遇到巴士開一開行李門打開~ 所以掉了行李~ 便在山路中停下來撿行李~ 真爆笑!

第一次與法國女生巧遇~ 然後便當她很爛的翻譯人(她只會說英文)一起遊了土樓一天多~

第一次看到死亡車禍(在回廈門的長途巴士上)~

第一次遇到可愛的中國女生一起在廈門遊了一天~

許多的第一次~ 令人回味的旅行~
December 09

Youtube高畫質影片


如果發表影片者有放上較高畫質影片
你可以在連結後面加上 &fmt=18 或 &fmt=22 便可看到高畫質(預設是一般畫質)
如:
http://tw.youtube.com/watch?v=StBk0f8u3v8
http://tw.youtube.com/watch?v=StBk0f8u3v8&fmt=18

如果你要將內嵌Embed的影片也放上高畫質
則要在src=影片位址後面加上 &ap=%2526fmt%3D18
以上面影片為例!
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/StBk0f8u3v8&hl=en&fs=1&ap=%2526fmt%3D18
"></param><param
name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/StBk0f8u3v8&hl=en&fs=1&ap=%2526fmt%3D18
" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
November 20

NBA運彩專欄


  感謝球友Harrylalawei提供NBA運動彩卷報牌

  Harrylalawei的NBA運彩專欄
November 04

NBA 50大球星

 
   想更了解NBA百年來的巨星~

   如麥克喬丹、魔術強森、大鳥伯德...等....

  NBA 50大球星
October 23

似乎是個神童!

(Lee Byung Woo) Bird - Sungha Jung
 

 

HTML自訂欄位

Loading...

Sandbox

Loading...

Sandbox

Loading...

Sandbox

Loading...
Photo 1 of 6