Tech & Tips




Tech&Tipsลูกเล่นต่างๆบนblog




             1.การทำเมาส์รูปต่างๆ
                   ขั้นตอนการทำเมาส์รูปเค้ก
1.      เข้าไปที่เว็บ http://www.zalim-code.com/cursor.html

2.      เลือกรูปเมาส์ที่ต้องการ

3.      Copy  โค๊ดที่เราต้องการ  ตัวอย่างโค๊ด 
<style type="text/css">body {cursor: url(http://www.myspacecursor.net/birthday/birthday5.ani); }</style><br /><a href="http://www.myspacecursor.net" title="Free Cursors">Free Cursors</a><a href="http://www.freelayoutsnow.com" title="Myspace Layouts">Myspace Layouts</a><a href="http://www.getmyspacecomments.com" title="Myspace Comments">Myspace Comments</a><br /


                  
                  2.ดึงข่าวเว็บอื่นมาติดเว็บไซต์
                                 ตัวอย่าง


วิธีการทำ
นำ Code ด้านล่างไปไว้ในตำแหน่งที่ต้องการให้แสดงข่าว
1. ข่าวบันเทิง
1. <iframe src ="http://www.zabzaa.com/news/entertain/entertain.php"
2. marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=No width=468 height=360> </iframe>
2. ข่าวบันเทิงต่างประเทศ
1.<iframe src ="http://www.zabzaa.com/news/ent/ent.php"
2. marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=No width=468 height=360></iframe>
3. ข่าวการเมือง
1.<iframe src ="http://www.zabzaa.com/news/politic/politic.php"
2.marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=No width=468 height=350></iframe>
4. ข่าวกีฬา
1.<iframe src ="http://www.zabzaa.com/news/sport/sports.php"
2.marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=No width=468 height=350></iframe>
5. ข่าวอาชญากรรม
1.<iframe src ="http://www.zabzaa.com/news/crime/crime.php"
2.marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=No width=468 height=350></iframe>
6. ข่าวเทคโนโลยี
1.<iframe src ="http://www.zabzaa.com/news/technology/technology.php">
2.marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=No width=468 height=360></iframe>



3.ใส่ตัวแปลภาษาของ Google Translate เพื่อแปลเนื้อหาในหน้าเป็นภาษาใดๆ


คำสั่งที่ใช้
<right>
                <div id="google_translate_element"></div>
                <script>
                functiongoogleTranslateElementInit() { 
                newgoogle.translate.TranslateElement({ 
                pageLanguage: 'th', 
                includedLanguages: 'ko,zh-TW,zh-CN,ja,th,fr,ms,de,en' 
                }, 'google_translate_element'); 
                } 
                </script><script.src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</right>
 อธิบายคำสั่ง
<div id="google_translate_element"></div>เป็นคำสั่งที่ใช้ตั้งชื่อกล่องข้อมูลที่สร้างขึ้น
                <script>
                functiongoogleTranslateElementInit() {   เป็นฟังก์ชันที่ใช้สำหรับกำหนดภาษาที่มีให้เลืก
                newgoogle.translate.TranslateElement({ 
                pageLanguage: 'th',  คือการกำหนดภาษาหลักให้เป็นภาษาไทย
                includedLanguages: 'ko,zh-TW,zh-CN,ja,th,fr,ms,de,en'  คือการระบุภาษาที่กำหนดให้เป็นตัวเลือก
                }, 'google_translate_element'); 
                } 
                </script><script.src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>คือคำสั่งที่ส่งค่าตัวเลือกเพื่อไปเรียกใช้ฟังก์ชันจากGoogle Translate
ตัวอย่างเว็บไซต์





                                                  

ไม่มีความคิดเห็น:

แสดงความคิดเห็น