วันพุธ, กุมภาพันธ์ 11, 2552

ทำหน้าค้นหาเวปเราจากอากู๋โดยมีเฮดชอตเรายิ้มต้อนรับอย่างอบอุ่น

งงไหมครับ  หัวข้อไรหว่า 

อยากหายงง ลองค้นในช่องค้นหาด้านบน ^ ดูครับ  

เอ   รึจะยิ่งงงกว่าเดิม อิอิ



---------------------------------------------------------------------------------------------------------

ที่มาแนวคิดนี้ ต่อยอดมาจาก


และ


------------------------------------------------------------------------
มาคราวนี้ก็ครบไตรภาคแล้วครับ  ยังกะ แมทริก ลอร์ดออฟเดอะริงค์ พระนเรศวรมหาราช

วิธีทำก็ โค้ดนี้เลยครับ

<form target="_blank" action="http://www.google.com/custom" method="get"><input value="notbirth.multiply.com" name="domains" type="hidden"><input maxlength="255" value="" name="q" id="sbi" size="20" type="text"><input checked="checked" value="notbirth.multiply.com" name="sitesearch" id="ss1" type="hidden"><input value="ค้นหาในนี้ Meng Search" name="sa" id="sbb" type="submit"><input value="pub-1654169123231751" name="client" type="hidden"><input value="1" name="forid" type="hidden"><input value="UTF-8" name="ie" type="hidden"><input value="UTF-8" name="oe" type="hidden"><input value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:100;LW:100;L:http://images.notbirth.multiply.com/logo/18;S:http://multiply.com;LP:1;FORID:1" name="cof" type="hidden"><input value="en" name="hl" type="hidden"></form>


----------------------------------------------------------------
วิธีปรับใช้
สีแดง คือ เวปที่ท่านจะให้อากู๋ค้น
สีเขียว คือ คำที่เชื้อชวนให้กดค้น
สีม่วง คือการกำหนดขนาดของรูปภาพ
สีชมพู คือรูปภาพที่ท่านจะให้ปรากฏต้อนรับคนมาค้นข้อมูลในเวปของท่าน  : )



-----------------------------------------------------------------------------
หมายเหตุ  แจ้งเพื่อทราบ
ผมปรับปรุงโค้ดมาจากกูเกิ้ลเอดเซ้น เพื่ื่อความสะดวกของผู้นำไปประยุกต์ใช้   กูเกิ้ลแอดเซ้นเป็นลักษณะโฆษณาแบบหนึ่ง จึงมีรหัสโค้ดผมติดไปด้วยครับ

กูเกิ้ลแอดเซ้นที่ทำเป็นช่องค้นหาแบบนี้มีดีอย่างนึงคือ  เราสามารถรู้ได้ว่ามีคนมาค้นคำว่าอะไรบ้าง และค้นมากน้อยแค่ไหนครับ


----------------------------------------------------------------------
เวอชั่น เมษา 54

<form target="_blank" method="get" action="http://www.google.com/custom"><input type="text" name="q" size="20" maxlength="255"><input type="submit" name="sa" VALUE="find in site"><input type="hidden" name="hl" value="en"><input type="hidden" name="ie" value="UTF-8">
<input type="hidden" name="as_qdr" value="all"><input type="hidden" name="q" value="site:notbirth.multiply.com"><input type="hidden" name="cof" VALUE="GIMP:darkblue;LW:200;ALC:red;L:http://images.notbirth.multiply.com/logo/18;GFNT:lightblue;LC:red;LH:200;AH:left;VLC:gray;S:http://notbirth.multiply.com/;GALT:blue;AWFID:ba6ecf243ae3d16f;"></form>
 
You can also customise the search results page by changing the codes in blue. Below is what each term means. 
GALT = URL COLOUR
DIV = BORDER COLOUR
VLC = VISITED URL COLOUR
BGC = BACKGROUND COLOUR
LBG = LOGO BACKGROUND COLOUR
ALC = LIGHT URL (BUT I'M NOT SO SURE)
T = TEXT COLOUR
GFNT = SIMILAR PAGES AND MORE RESULTS LINKS COLOUR
GIMP = GOOGLE ADSENSE LABEL COLOUR (ADS BY GOOGLE)
LH = LOGO HEIGHT
LW = LOGO WIDTH
For a deeper understanding of what the various settings do:

  S:     site URL
  GL:    Google Logo background colour (0=white, 1=grey, 2=black)
  VLC:   visited link colour
  AH:    horizontal alignment of logo (left, center)
  BGC:   background colour
  LH:    logo height
  LC:    link colour
  L:     location of your logo
  ALC:   active link colour
  LW:    logo width
  T:     text colour
  AWFID: your unique site identifier for the Google Free service

19 ความคิดเห็น:

` aay .. กล่าวว่า...

ค้นหาแล้วงง เพราะมันไม่เปิดค้นหา

明 เม้ง  ^__^ กล่าวว่า...

ด้านบนฮะด้านบน

` aay .. กล่าวว่า...

เจอแล้ว ขอบคุณค่ะ
มีค้นหาหลอกด้วยรึนี่

phyche phyche123 กล่าวว่า...

อิอิ จ๊ะเอ๋เจ้าของเยย

108-1009 HoME กล่าวว่า...

ว่างเน้ออ ทำให้มั่งจิ

phyche phyche123 กล่าวว่า...

แปะๆๆ ลืมปรบมือให้

.. Ong .. กล่าวว่า...

ไม่งงจ้ะกู๊ ..

.. Ong .. กล่าวว่า...

ปล หน้าของกู๊ ยาววววววมากกกกกเรยยยย
(ใช้ google chrome เปิดนะ .. ของเค้าเกือบดีนะ เหลือแต่ตอนโพส ตัวอักษรชอบเพี้ยน)

明 เม้ง  ^__^ กล่าวว่า...

ดีมากอาหมวย

Peem & Pooh กล่าวว่า...

ขอบคุณครับจารย์เม้ง เดี๋ยวจะลองทำดูบ้างนะครับ

Pan PlantLovers กล่าวว่า...

แปะไว้นานแล้วด้วยความช่วยเหลือของแปะเม้ง (๕๕๕)
ขอชื่นชมว่ามันมีประโยชน์มากๆ เลย เราเองก็ค้นภาพตัวเองไม่เจอ
ถ้าไม่มีตัวช่วย

แต่อันใหม่ไม่กล้าใช้ กลัวแก้แล้วเละตุ้มเป๊ะกว่าเดิม
ขอให้จำเริญๆ นะแปะนะ

My--Refresh (^>^) . กล่าวว่า...

มันก้อยังงง งง
แต่จะลองดู ท่าจะซาหนุกจังค่ะ
ขอบคุณค่ะ ^ ^

MookWariN SeanKla กล่าวว่า...

เก๋เนอะ

明 เม้ง  ^__^ กล่าวว่า...

นิดๆ หน่อยๆ

Chadarat Thangthong กล่าวว่า...

ทำได้แล้วค่ะ ขอบคุณค่ะ

明 เม้ง  ^__^ กล่าวว่า...

ยินดีด้วยครับ ; )

明 เม้ง  ^__^ กล่าวว่า...

Free Blogistan
Always trust content from Blogistan Corporation.



June 2003
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
May Jul







Fine-tuning Custom Google Search

After experimenting with a few approaches for adding a Google search box to Radio Free Blogistan (with the help of my readers), I found a satisfactory method. I'm posting the code in this story format so that I can refer to it in a blog post without actually putting the code out there and screwing up people's aggregators.
First of all, I set up a free custom search account with Google (in order to get co-branding on the results page, and because the first example I tried to adapt was done that way).

Google supplies a code example that includes a radio-button option for choosing between searching just the site or searching the whole web. I tweaked it a little without changing the functionality (just the labels on the button and radio-button choices):

;
;




>span class="small">
Search blogs.salon.com
Search the Web



Here's the resulting search form:


Search blogs.salon.com Search the Web
The problem with this approach is that it searched blogs.salon.com (all Salon blogs), not just RFB. (It works just fine, though, if your blog's address is at the root of a domain name.) After I whined about this on my blog, Ian Landsman sent me code that will search just Radio Free Blogistan:











The resulting search form does the trick:


The only drawback is that it doesn't include the co-branding and it doesn't offer another crack at searching just RFB after delivering the first page of results. These really aren't big issues and the solution would be satisfactory, but I wanted to see if I could have my cake and eat it too, so I slammed together the two code examples and tried to make a hybrid version that used my custom Google account but still focused on just my site and not all of Salon blogs.

Here's what I came up with:












Because I didn't know precisely what each element does, I was as conservative as possible, which may mean that there are some un

明 เม้ง  ^__^ กล่าวว่า...

http://radiofreeblogistan.com/stories/2002/09/30/finetuningCustomGoogleSear.html

` aay .. กล่าวว่า...

กว้างไปมั๊ย