ทำเว็บหลายภาษาให้ discuz x1.5
เปิดแฟ้ม header.htm ที่อยู่ใน template/สกินที่ใช้/common/แล้วยัดโค้ดด้านล่างใส่ในตำแหน่งที่ต้องการครับ<img border="0" src="./static/image/language.gif" width="245" height="12" usemap="#Map2">
<map name="Map2">
<Area shape = "rect" alt = "English" target = "_blank" coords = "59,0,76,12" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "French" target = "_blank" coords = "115,1,133,13" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=fr&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "German" target = "_blank" coords = "77,1,94,11" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=de&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "Spanish" target = "_blank" coords = "97,0,112,12" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=es&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "Italian" target = "_blank" coords = "135,1,151,11" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=it&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "Japanese" target = "_blank" coords = "153, -1,171,13" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=ja&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "Korean" target = "_blank" coords = "172,0,188,12" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=ko&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "Portuguese" target = "_blank" coords = "193, -1,209,11" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=pt&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "Russian" target = "_blank" coords = "212,1,227,11" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=ru&u=http%3A%2F%2Fwww.dekloei.net%2F">
<Area shape = "rect" alt = "Dutch" target = "_blank" coords = "229,1,245,12" href = "http://translate.google.com/translate?hl=en&sl=auto&tl=nl&u=http%3A%2F%2Fwww.dekloei.net%2F">
</ Map>อย่าลืมเปลี่ยนที่เว็บเป็น เว็บตัวเองล่ะนะครับ
และนี่คือภาพต้องเอาไปใส่ที่ /static/image/
ตัวอย่างดูได้ที่ dekloei นะครับ
โชคดีทุกท่านครับ ไปและ ผมต้องทำหน้าภาษาต่างๆเพิ่มเหรอครับ sm930dz เปล่าครับมันจะทำให้เอง มันจะใช้ google แปลอ่ะครับผม {:21_826:}
อะจ๋ย
ขอบคุงจ้า แก้ไขครั้งสุดท้ายโดย phanu เมื่อ 2011-1-3 22:54
ปรับไงให้อยู่ตรงกลาง+ไม่ติดขอบ
ขอบคุณครับ
หน้า:
[1]