New Google AJAX Search API | Tutorial
>> Friday, December 10, 2010
Langkah 1
Login Ke Blogger --> Desgin --> Add Widget
Langkah 2
Edit Kode dibawah ini.
<!-- Google-Search-Element-STARTS-http://jeritanblog.blogspot.com-->
<div id="cse" style="width:100%;">Loading</div><script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">google.load('search', '1', {style: google.loader.themes.BUBBLEGUM});google.setOnLoadCallback(function(){var cse = new google.search.CustomSearchControl();cse.draw('cse');}, true);</script>
<!-- Google-Search-Element-STΟPS-http://inspirasimylife.blogspot.com-->
<div id="cse" style="width:100%;">Loading</div><script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">google.load('search', '1', {style: google.loader.themes.BUBBLEGUM});google.setOnLoadCallback(function(){var cse = new google.search.CustomSearchControl();cse.draw('cse');}, true);</script>
<!-- Google-Search-Element-STΟPS-http://inspirasimylife.blogspot.com-->
Anda boleh ubah kode warna oren tersebut ke pada yang ada dibawah ini.
BUBBLEGUM
ESPRESSO
GREENSKY
MINIMALIST
SHINY
Setelah selesai masukkan kode yang telah disiapkan tadi didalam widget dan klik save.
0 comments:
Post a Comment