Sep. 11, 2008
header('Content-type: application/javascript');
<script src="phpjava.php" type="text/javascript"></script>
header('Content-type: text/css');
<link href="phpcss.php" rel="stylesheet" type="text/css" /> TAGS :
css javascript content type stylesheet เทคนิค Aug. 31, 2008
เท่าที่อ่านดูรู้สึกว่า jQuery นอกจากจะต้อง include jquery.js จาก website www.jquery.com แล้ว
จะต้องเขียนคำสั่งต่าง ๆ ภายใต้คำสั่ง $(document).ready ด้วยนะ ไม่งั้นคำสั่งของ jQuery จะไม่ทำงานจ้า
<script type="text/javascript">
$(document).ready(function() {
...
...
});
</script>
หรือใช้รูปย่อ
<script type="text/javascript">
$(function() {
...
...
});
</script>
TAGS :
jquery start document ready Aug. 31, 2008
ตอนนี้ผมรู้สึกว่าอยากจะเพิ่มเทคนิคในการเขียนเวปไซด์
ให้มันมีการเคลื่อนไหวมากกว่านี้
ผมจึงได้ไปหาเทคนิคต่าง ๆ ในอินเตอร์เนต จึงได้ค้นพบว่ามีอยู่ 3 ค่าย เด่น ๆ
1. protoType
2. Ext
3. jQuery
ผมจึงตัดสินว่าจะลองใช้ jQuery ดูก่อน เนื่องจากมี Plugin เยอะ (ดูจากเวปไซด์ jQuery แหะ ๆ)
ไว้จะเขียนอะไรต่าง ๆ ที่ผมเจอใน jQuery ให้อ่านกันล่ะกัน
TAGS :
protoType ext jquery เลือก Aug. 26, 2008
1) 1 , 2 , 6 , 42 , 1806 , ....
2) 1 , 3 , 12 , 168 , 28392 , ...
ตัวเลขหลักที่ 6 คืออะไร ? (^^)
มี 2 ข้อนะครับบบ
ปล. อย่าเขียนวิธีคิดนะครับ เขียนแค่คำตอบก็พอน๊าาา
TAGS :
ตัวเลข ค่า หาย