Need to say

ใจอยากบอกรักแต่มันไม่กล้า .. เพราะเธอนั้นดี เธอนั้นพร้อม เธอนั้นใช่

ส่วนฉัน ไม่

Diablo III

15.05.12 วันนี้เป็นอีกวันต้องจารึกไว้ใน blog ของกระผม ช่ายแล้ว Diablo 3 เปิด server 2 PM (Thailand) ทั่วโลก
สนุกแน่งานนี้ ไปงานมาเจอบอย เจอโอ๊ตสอยมา 4 กล่อง ของ ก้อง ตี๋ โอ๊ต และของผมเอง


(สภาพในงาน)



(บัตรคิว 1202)


(จัดมา 4 กล่อง)

ps. เอาล่ะจากไม่ว่างคราวนี้ ไม่ว่างแบบสุดๆ

My SKY

เพราะว่าฟ้าไม่เคยเหมือนเดิม ฉันเลยถ่ายมันเก็บไว้ทุกวัน

StyleSheet not work when use apple-mobile-web-app-capable

Easy way when you use tag

<meta name="apple-mobile-web-app-capable" content="yes" />

And you save to your iPad ‘s home screen.

Then your css file was not load you can changed html tag like this.

<link rel="stylesheet" href="css/style.css" media="all, handheld"/>

Work for me :) Good luck

HTML Stop auto-zoom on dropdown select (mobile)

That ‘s easy way you choose tag META like this

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>

last month 2011

เดือนสุดท้ายแล้ว น่าสนุกดีนี่ มีไปเที่ยวทะเล 10 11 12 แต่ก็คงไม่ได้ไป หรอก
ลองหาไปเที่ยวคนเดียวดีกว่า คง สนุกดี มีหลายที่เลย ที่อยากไป หากล้องถูกๆ สักตัว ละกัน กลับมาบ้าน ก็ ok นะ เรื่อยเปื่อย ดี ชิวๆ สบายๆ ขับรถ ออโต้ คล่องแล้ว
จริงๆ อยากอยุ่เขียนโปรแกรมนะ อยากทำ โปรเจคลับให้เสร็จ แต่ก็เอาเถอะ
นั่งรถ นครชัยกลับบ้านเพลง โอเคดีนะ คนนั่งข้างหน้า ด้านข้างด้านหลัง โอเคอยู่ มารยาทดี เหนื่อยๆ เหนื่อยใจ มากกว่า
นั่ง พิมพ์ผ่านไอโฟน ก็โอเคนะ ท่าจะพิมพ์ผิดเยอะ

เบื่อ เบื่อเวลา มีคนมาว่า เวลาเราไม่ได้ทำอะไรผิด ช่างแม่งเหอะ
พิมพ์มายาว กุ จะอัพ ขึ้นได้มะเนี่ย สัญย
ญาณไม่มี แสรด
เสาทิดที่จะถึง เลเซอร์ดีกว่า แล้ว อาทิตต่อไป ไปเชียงใหม่ดีไหมนะ
:) อยากมีรถ มีกล้อง ตะลุยถ่ายวิวให้หมดเลย

How to disable text selection using jquery?

Selection or Highlight text in a html document if you use jQuery you can use this funciton to solved it.

(function($){
$.fn.disableSelection = function() {
    return this.each(function() {
        $(this).attr('unselectable', 'on')
               .css({
                   '-moz-user-select':'none',
                   '-webkit-user-select':'none',
                   'user-select':'none'
               })
               .each(function() {
                   this.onselectstart = function() { return false; };
               });
    });
};
})(jQuery);

thx code from slaks :)

Facebook Like Button – how to disable Comment pop up?

I’d like to disable the Comment box that pops up when a user clicks the Facebook (fbml) Like button I’ve placed on my site. Is this possible to do? I can’t find any details in the documentation.

—- < WTF about this problem, I am same problem Damn!!!

so ... I got a easy way to solved it.

1> add data-send=”false” for HTML5 or send=”false” for xfbml
2> Hack css with

.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr {
    display: none !important;
}

3> use iframe …

:wink:

Facebook API : Uncaught Error: FB.Auth.setAuthResponse only compatible with OAuth2

I found this error when I use an original source code from FB Dev Site.

But I solved with this code:

     window.fbAsyncInit = function () {
        FB.init({
            appId: '*******',
            status: true,
            cookie: true,
            xfbml: true
        });
    }

    (function (d) {
        var js, id = 'facebook-jssdk'; if (d.getElementById(id)) { return; }
        js = d.createElement('script'); js.id = id; js.async = true;
        js.src = "//connect.facebook.net/en_US/all.js";
        d.getElementsByTagName('head')[0].appendChild(js);
    } (document));

Facebook Page Tab Iframe size

I have some issue when I create Facebook Page Tab, when I add my app to my page It’s show a scroll bar but size of my iframe is setting to 520px.

So I found a right way to solved this problem as below:

<div id="fb-root"></div>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script><script charset="utf-8" type="text/javascript">// <![CDATA[
     FB.Canvas.setSize();
// ]]></script>

Add that source code in to your code, after Facebook Tab was called by Facebook It’s will resize of Height ~

return top