Update Terbaru
Loading...
Home » » Cara Memasang Kotak Pencarian Google,Yahoo dan Bing di Blog
Published On : Rabu, 20 Februari 2013
12.47.00 | Admin | No Comments

Cara Memasang Kotak Pencarian Google,Yahoo dan Bing di Blog


SiFadly - Cara Memasang Kotak Pencarian Google,Yahoo dan Bing di Blog. Sekarang Fadly akan memberikan artikel totorial mengenai widget pada blog yang satu ini. Trik ini akan membuat blogspot semakin keren dengan widget Cara Membuat Tombol Like, Tweet dan G+ Melayang di Blog. Penasaran?. . . .


Pada dasarnya Cara Memasang Kotak Pencarian Google,Yahoo dan Bing di Blog Ini supaya pengunjung blogspot bisa mencari link diblog Anda. Dan pembaca pun bisa mendapat apa yang ingin mereka cari dan baca di blog Anda.



 Untuk Memasangnya ikuti langkah - langkah dibawah ini :

1. login ke blogger
2. Langsung ke tata letak > Tambah gadget > Pilih HTML/JavaScript
3. Copy code HTML dibawah ini:

<!--Widget Search Start-->
<form name="jksearch" action="http://www.google.com/search" method="get" onsubmit="jksitesearch(this)" target="_blank">

<input id="hiddenquery" type="hidden" name="q" />
<input name="qfront" onfocus="if(this.value==this.defaultValue)this.value=&#39;&#39;;" value="Search on this site..." type="text" onblur="if(this.value==&#39;&#39;)this.value=this.defaultValue;" style="width: 240px;border:none;padding:8px 10px; font:normal 11px arial;color:#666; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpzXrssFBPIR5OYUxGt65yP5ARDGvMB_GXGJuQipNg5mSEn89h7q1HUKa71cOJV3KN-5w5RPTMYEj7KqmLTX5GSY80UO5CIZbG4DylFpuYZgEJJvjTLN8kEEHqieSmetynkzMxHrkfZoI/s1600/search_field.jpg) no-repeat;" /><input type="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGirlpto1EtqbZszqAlUHB8ehLBLMbqiIpYSikRjh__ttFyli-pPusfmoUncT9FZgawF-TFKbCVx7gZu0Q9T2_hx4mm9mEBmW9UYAkUIs-xsXanPPeITStRTrmXeLtJdRhR-Xvxya3XM0/s1600/search_button.jpg" align="top" value="Search"/>

<div style="font: normal 11px Arial;color:#666;padding:2px 0;">
<input name="se" type="radio" checked /> Google
<input name="se" type="radio" /> Yahoo
<input name="se" type="radio" /> Bing
</div>

<script type="text/javascript">

// All-in-one Internal Site Search script- By http://sifadly.blogspot.com/
// For this and over 400+ free scripts, http://sifadly.blogspot.com/
// This notice must stay intact for use

//Enter domain of site to search.
var domainroot="http://sifadly.blogspot.com/"

var searchaction=[//form action for the 3 search engines
"http://www.google.com/search",
"http://search.yahoo.com/search",
"http://search.msn.com/results.aspx"
]

var queryfieldname=["q","p","q"] //name of hidden query form for the 3 search engines

function switchaction(cur, index){
cur.form.action=searchaction[index]
document.getElementById("hiddenquery").name=queryfieldname[index]
}
function jksitesearch(curobj){
for (i=0; i< document.jksearch.se.length; i++){ //loop through radio to see which is checked
if (document.jksearch.se[i].checked==true)
switchaction(document.jksearch.se[i], i)
}
document.getElementById("hiddenquery").value="site:"+domainroot+" "+curobj.qfront.value
}
</script>
</form>
 <!--Widget Search End-->

4. Pastekan code HTML yang tadi kamu copy di kolom HTML/JavaScript.

5. Klik Simpan. Dan liat hasilnya

NB: Ganti kode yang berwarna merah dengan domain blog Anda.


http://sifadly.blogspot.com/2012/09/cara-memasang-kotak-pencarian.html


Related Post

0 komentar:

Posting Komentar

Referensi : DTE | MDF Blog | MKR Site
Copyright © 2013. Gembulz Blog's - All Rights Reserved
Template Created by Creating Website Modify by Gembulz Blog's
Powered by Blogger Top