Social Network Icon Packgage


วันนี้นั่งว่างๆ เลยแก้ footer เว็บนิดหน่อย โดยใส่ profile ของถิ่นต่างๆ ที่ได้ไปสิงสถิตย์เอาไว้
และเพื่อความสวยงาม แทนที่มันจะเป็นแค่ตัวอักษรธรรมดาก็เลยใช้ icon แทน

ตอนแรกก็ตามหาแบบสวยๆ สุดท้ายก็ไปสะดุดตากับไอคอนสะกิดใจ เลยอยากเอามาแบ่งปัน

http://www.komodomedia.com/blog/2009/06/social-network-icon-pack/


จริงๆ แล้วกะจะรับทำมานานแล้วครับ แต่ว่าไม่ว่างไปโปรโมท
หรือหาลูกค้าเสียที วันนี้ขอมาโม้ไว้ใน Blog ก่อนก็แล้วกันครับ

ตอนนี้ เซนน รับจ้างทำเว็บไซต์แล้ว โดยรูปแบบเว็บไซต์ที่สั่งนั้นจะเป็นอย่างไรก็ได้ ตามแต่
ใจผู้สั่งสั่งมา หากว่า เซนน สามารถทำงานได้ จะรับงานไว้และรีบจัดการงานให้เสร็จเร็วที่สุด
ซึ่งหากงานที่สั่งมานั้นไม่มีรายละเอียดหรืออะไรเยอะมาก ก็อาจจะสามารถทำเสร็จได้ภาย
ในหนึ่งวันหลังจากที่สั่ง

สำหรับเรื่องราคานั้น เป็นกันเองแน่นอน คุยกันได้หลังจากทำเสร็จ จะเสนอราคามาก่อน
หรือจะเสนอหลังทำเสร็จแล้วก็ได้ ตามใจตัวผู้สั่งเลย

ส่วนเรื่องคุณภาพ ตอนนี้ผมยังไม่มีผลงานอะไรมากมายนัก ก็ไม่รู้จะโชว์อะไรเหมือนกัน
แต่ Blog นี้ทำธีมโดยผมเอง แล้วก็ยังมี AutoCommentHi5 แล้วก็มี Rubik’s Cube Timer
รวมถึง Adverslide ด้วย สุดท้ายก็คือ Hi5 ผมเอง

หากท่านใดที่แวะผ่านเข้ามาในหน้านี้ แล้วสนใจอยากจะลองจ้างผมให้ทำเว็บไซต์ให้
ก็ติดต่อมาได้ผ่านทางช่องทางดังนี้ครับ

pb13110@gmail.com
z.t@live.jp
หรือ คอมเมนต์ทิ้งไว้ที่โพสต์นี้ก็ได้ครับ (อย่าลืมอะไรก็ได้ที่ใช้ติดต่อกลับ)



How Addicted to Facebook Are You?


I found the quiz at #oatmeal, then I did it and this is the result.

How Addicted to Facebook Are You?

Created by Oatmeal


Javascript addEventListener


Since I have been thinking about my image gallery project, I have a lot
of things to study for the best work.

Today, I read the article from http://www.quirksmode.org, it mentions to
“addEventListener” method in Javascript.

addEventListener is the method which used to add an event to an element.

Suppose if you want to add the alert event when user clicks on an element,
just do like this.

element.addEventListener('click', function(){ alert("Something"); }, true);

So, if you click on an element, alert window will appear.

But in IE, you can’t use “addEventListener” to add an event to element, it uses
“attachEvent” to add an event.

In IE, the above code won’t work, use the below code.

element.attachEvent('onclick', function(){ alert("Something"); });

It’s complicated to write code for both IE and other browsers right?
So, I have written the simple function to add an event to an element
that works on both.

And here is my function.

var zEvent = {
      'add' : function(el, eventName, fn){
            if(navigator.appName == "Microsoft Internet Explorer") el.attachEvent('on' + eventName, fn);
            else el.addEventListener(eventName, fn, true);
      },
      'remove' : function(el, eventName, fn){
            if(navigator.appName == "Microsoft Internet Explorer") el.detachEvent('on' + eventName, fn);
            else el.removeEventListener(eventName, fn, false);
      }
};

This is how to use it.

zEvent.add(element, 'click', function(){ alert("Something"); });

Hope this useful for you.
Thanks.