ทำระบบค้นหาด้วย google custom search เหมือน thaiseoboard.com ช่วยแนะนำด้วยครับ
ถาม-ตอบ แนะนำไอเดียว โค้ดตัวอย่าง แนวทาง วิธีแก้ปัญหา ทำระบบค้นหาด้วย google custom search เหมือน thaiseoboard.com ช่วยแนะนำด้วยครับ
ทำระบบค้นหาด้วย google custom search เหมือน thaiseoboard.com ไม่ทราบว่าทำอย่างไรครับ ผมได้ทำการสมัคร www.google.co.th/cse/ (ใช้ของฟรี) เรียบร้อยแล้ว
ได้มาคือ
<div id="cse" style="width: 100%;">Loading</div>
<script src="//www.google.co.th/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'th'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('xxx:xxx');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="//www.google.com/cse/style/look/default.css" type="text/css" />
แต่ผมจะ modify ยังไงให้เหมือน thaicreate.com กดไปแล้ว action ไปอีกหน้าหนึ่งนะครับ แล้วรันผลลัพธ์ออกมากนะครับ
เรียนท่านผู้รู้ช่วยแนะนำผมด้วยนะครับ

คำแนะนำ และการใช้งาน
สมาชิก กรุณา ล็อกอินเข้าระบบ เพื่อตั้งคำถามใหม่ หรือ ตอบคำถาม สมาชิกใหม่ สมัครสมาชิกได้ที่ สมัครสมาชิก
- ถาม-ตอบ กรุณา ล็อกอินเข้าระบบ