Pages

Sabtu, 05 Mei 2012

Cara Menampilkan Kupu-kupu Terbang pada Blog

Bagaimana cara nya Membuat kupu kupu terbang di blog dan dia terbang pada halaman blog. entah apa tutjuan pemasangan kupu - kupu ini mungkin untuk mempercantik blog atau apalah......
Berikut adalah tutorial nya kupu - kupu terbang di blog halaman blog. 


Tip: "ini akan membuat loading blog anda semakin berat"
Caranya cukup mudah anda cukup memasukkan java sript untuk memunculkan kupu-kupu indah di blog anda. Baiklah langsung saja akan saya tuliskan cara membuatnya :

1. Login ke Blogger
2. Masuk ke Tata Letak
3. Trus Edit HTML
4. Trus copy-paste kode java script di bawah ini tepat
sebelum kode </head> untuk mempermudah pencarian tekan ctrl+f.

<script type='text/javascript'>
//<![CDATA[
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION
var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION
var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES

//FLOATING IMAGE URLS FOR EACH IMAGE. ADD OR DELETE ENTRIES. KEEP ELEMENT NUMERICAL ORDER STARTING WITH "0" !!

var floatimages=new Array();
floatimages[0]='http://i363.photobucket.com/albums/oo72/herisys/butterfly.gif';
floatimages[1]='http://i363.photobucket.com/albums/oo72/herisys/butterfly.gif';

//*********DO NOT EDIT BELOW***********
var NS4 = (navigator.appName.indexOf("Netscape")>=0 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5)? true : false;
var IE4 = (document.all)? true : false;
var NS6 = (parseFloat(navigator.appVersion) >= 5 && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var wind_w, wind_h, t='', IDs=new Array();
for(i=0; i<floatimages.length; i++){
t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="javascript:hidebutterfly()">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="javascript:hidebutterfly()">';
t+='<img src="'+floatimages[i]+'" name="p'+i+'" border="0">';
t+=(NS4)? '</a></layer>':'</a></div>';
}
document.write(t);
function moveimage(num){
if(getidleft(num)+IDs[num].W+IDs[num].Xstep >= wind_w+getscrollx())IDs[num].Xdir=false;
if(getidleft(num)-IDs[num].Xstep<=getscrollx())IDs[num].Xdir=true;
if(getidtop(num)+IDs[num].H+IDs[num].Ystep >= wind_h+getscrolly())IDs[num].Ydir=false;
if(getidtop(num)-IDs[num].Ystep<=getscrolly())IDs[num].Ydir=true;
moveidby(num, (IDs[num].Xdir)? IDs[num].Xstep : -IDs[num].Xstep , (IDs[num].Ydir)? IDs[num].Ystep: -IDs[num].Ystep);
}
function getnewprops(num){
IDs[num].Ydir=Math.floor(Math.random()*2)>0;
IDs[num].Xdir=Math.floor(Math.random()*2)>0;
IDs[num].Ystep=Math.ceil(Math.random()*Ymax);
IDs[num].Xstep=Math.ceil(Math.random()*Xmax)
setTimeout('getnewprops('+num+')', Math.floor(Math.random()*Tmax));
}
function getscrollx(){
if(NS4 || NS6)return window.pageXOffset;
if(IE4)return document.body.scrollLeft;
}
function getscrolly(){
if(NS4 || NS6)return window.pageYOffset;
if(IE4)return document.body.scrollTop;
}
function getid(name){
if(NS4)return document.layers[name];
if(IE4)return document.all[name];
if(NS6)return document.getElementById(name);
}
function moveidto(num,x,y){
if(NS4)IDs[num].moveTo(x,y);
if(IE4 || NS6){
IDs[num].style.left=x+'px';
IDs[num].style.top=y+'px';
}}
function getidleft(num){
if(NS4)return IDs[num].left;
if(IE4 || NS6)return parseInt(IDs[num].style.left);
}
function getidtop(num){
if(NS4)return IDs[num].top;
if(IE4 || NS6)return parseInt(IDs[num].style.top);
}
function moveidby(num,dx,dy){
if(NS4)IDs[num].moveBy(dx, dy);
if(IE4 || NS6){
IDs[num].style.left=(getidleft(num)+dx)+'px';
IDs[num].style.top=(getidtop(num)+dy)+'px';
}}
function getwindowwidth(){
if(NS4 || NS6)return window.innerWidth;
if(IE4)return document.body.clientWidth;
}
function getwindowheight(){
if(NS4 || NS6)return window.innerHeight;
if(IE4)return document.body.clientHeight;
}
function init(){
wind_w=getwindowwidth();
wind_h=getwindowheight();
for(i=0; i<floatimages.length; i++){
IDs[i]=getid('pic'+i);
if(NS4){
IDs[i].W=IDs[i].document.images["p"+i].width;
IDs[i].H=IDs[i].document.images["p"+i].height;
}
if(NS6 || IE4){
IDs[i].W=document.images["p"+i].width;
IDs[i].H=document.images["p"+i].height;
}
getnewprops(i);
moveidto(i , Math.floor(Math.random()*(wind_w-IDs[i].W)), Math.floor(Math.random()*(wind_h-IDs[i].H)));
if(NS4)IDs[i].visibility = "show";
if(IE4 || NS6)IDs[i].style.visibility = "visible";
startfly=setInterval('moveimage('+i+')',Math.floor(Math.random()*100)+100);
}
function hidebutterfly(){
for(i=0; i<floatimages.length; i++){
if (IE4)
eval("document.all.pic"+i+".style.visibility='hidden'")
else if (NS6)
document.getElementById("pic"+i).style.visibility='hidden'
else if (NS4)
eval("document.pic"+i+".visibility='hide'")
clearInterval(startfly)
}
}

if (NS4||NS6||IE4){
window.onload=init;
window.onresize=function(){ wind_w=getwindowwidth(); wind_h=getwindowheight(); }
}

//]]>
</script>

5. Save...buka blog anda dan refresh browser....sekarang ada sesosok binatang yang indah menawan di blog anda....

Apabila anda belum berhasil membuatnya gunakan cara kedua di bawah ini:

1. Login ke Blogger
2. Klik Tata letak
3. Klik Tambah Gadget
4. Pilih HTML/Java Script
5. Masukkan kode Java script seperti di bawah ini.
<script src="http://sites.google.com/site/javascriptnew/java-script/butterfly.js" type="text/javascript"> 
6. Save.
selamat mencoba. 


Sumber : http://www.uc1n.com/2008/08/cara-menampilkan-kupu-kupu-terbang-pada_04.html
»»  Readmore...

Jumat, 04 Mei 2012

Google Translate

Bagaimana cara memasang/membuat Google translator/translate yang bentuk bendera negara di blog Blogger?...
Beberapa hari yang lalu saya memasang Google Translate untuk blog ini yang tujuannya adalah untuk mempercantik blog, selain mempercanti blog saya pikir blog ini juga sangat bermanfaat dan memang perlu di pasang di blog berbahsa indonesia. Siapa tau saja ada bule yang mampir ke blog ini
Ok lalu bagaimana cara pasang google translate yang ada gambarnya di blogger?...
Santai dulu bos... sebelum saya tuliskan cara membuat/pasang Google translator di blogger saya akan jelsakan dulu bahwa gambar latar belakang bendera negaranya nanti transparan.

Mari Kita Mulai.......

Panduan Cara Pasang Google Translate di Blogger

Untuk memasang translator/translate Google di blog blogger anda maka langkah pertama yang harus anda lakukan adalah login ke akun blogger anda dulu.

Kemudian Pergi Ke Design => Page Elements, di sana anda akan menemukan tempat untuk meletakkan Gadget Google Translate ini.

Untuk melihat bagaimana sih bentuk dari Page Elements ini salahkan baca : Panduan Cara Menghias Blog Blogger

Klik Add a Gatget, kemudian pilih Gadget HTML/JavaScript.

Setelah itu masukkan script Google Translate di dalam gadget HTML/JavaScript tersebut, berikut script Google Translate yang harus anda masukkan di sana:
<style>
.google_translate img {filter:alpha(opacity=100);-moz-opacity: 1.0;opacity: 1.0;border:0;}
.google_translate:hover img {filter:alpha(opacity=30);-moz-opacity: 0.30;opacity: 0.30;border:0;}
.google_translatextra:hover img {filter:alpha(opacity=0.30)-moz-opacity: 0.30opacity: 0.30;border:0;}
</style>
<center>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1lxQVTbyAgKVG50gmrHbOYJ5gzkge6O9G4mhzzTfJkOWp7fm4NQfP_Li1l2s7Jc6ZkexBj-g4a4_bI4wPgdZWu93jomJdJzoZgQzFBJs5xVo_35QHkuQDO7oHnFDxbyV9RIC1IAZ08AI/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCAfhrq54fc-XETbWW0pjyrcP83PMHwl3m43ox0cU01rNGJ07iSu6-K3WaNlszb4rglGdtAS00ioCTQlxgPlMl_AcQFL2qx2W6SeHyH7_rX7d7AurX2aYyzo0RABPW4Nf5ED4OPsUWEMs/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxDbrvqR-UH9HDLZv-Yy47vJe7xkfW0DpIYt-THpzrz-B6S97VkxJc8Vy074bOulg8ILrXHiapGcxDmgCfRCUyaMt0hQdZWvc8sTk7sS2X4aP790WHf_xCJboJcSvWhuiWGO2Q9_HjqxB3/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGaws-zzEhDimBxcM8oCcoOfEOvKiLDVXM8Dv2wGod68bJ9M4T9xAIVR4QoAqTN56gu1R-IsrzOdUThFKwfHM9ckpLLzFJI1TWXJD1T4rYbRSpZCi_syopyIDB1qPnrAdCMKuyXc1RjJ_T/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh38rQdl1iK_YUpOyx8UXMhyphenhyphenAKQWFE84JfjmReqenEA_OQj9_CtJA74FMy_opXgBbTdPgrLRdyGjpj8vc_8MAjgdj0k8MHfXiT7ogtdQRyeD5tNrj6SvQzdVfkKNaWuy689qcsKhh1l3xs/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiykwg7zrT7bndJe21RJ62XlVwzEtKqxh4Sxi-k8qWBj2ryBimiQ1qfC4rT5YtU3pfYFzRXl3LJsbpo-pqF9hijkckVrf4BZ_TTPSBB6XJf4Tl1yqbFG3ASde5jpHnN2mdzNL16uVZlynY/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a>
<br />
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiADWoZSwNdSkCKk7v2WWgsznUIYBcO1xpyHvMEd0rqM5ib7BgwVFnbWu9OnNuuVOSzDG-tTsGHwHVFX99TChd9X14wMHppSwTpWQXsdDIRTqdyc_8b0icvZ-KW1HF-p5pJQc7Sba4rPOk/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIgSoee738IoUESlJAv62oTIKhw5y3uEXUuZ2hmw74IyLI5RMQY_lXSvI0i1GBqOyUgWQ_CrwTbB1Vo01nR8Dc3IDEcBlVt5kyiePy29LX4siDlkXiWoBDCh2LSiY3sh7bP_qDuiaBI4U/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifZD-VVcDuyhWNjdU-yDsiwFqBFunsiE2dGIQ5OHNk2QFbubIOtByCs6jTzilQPY4U5v__dKTPzakqhptINnwJrIyTS2VKObJBDppb14bJdh2_3GnZ9_zVZXwpCA4jBI1nXKUk6uZF-Iac/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX5zWnO7QYqViElKqOjXS8pj1FGzYqYlFPoGrtIQzDcIk6GnkCk-J_3n6a1CkpfJcydOboIXeCdZcU4GvizXQob1iDV_ZC4zREDpfVf9PDdqMMAlCC_YocWYEYP8CELDKwJp9IC9O4NQ4/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ9XChreSWpSYhPsbQj9MCEPwn9srqQmfD_73ia9bQt71IEwxW79mBauvFdn1uS9qHgfoTVof3BrXx1Lry8mUz4al4kpOrqcbosGUCVWCCrCeujVlwi3I8-FzHguSRaHcDvJAwyy63ayQ/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP4goPGGQ8rzM4zWFdm5OKn0EMyeh08yoRNhIO-YzKqvYHfVeY7X3U1qjShrCKpYIylOWxugF0-fZUyfvIicg8l92wvdpPVJ-a3IIw89YSWKbtjLLLDUROwb4d0mtyBhRpO2jztYdXByw/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a>
</center>
Setelah itu klik Save (Simpan).

Nah itulah cara memasang google translator/translate di blogger, cara tersebut menurut saya adalah cara termudah untuk memasang google translator yang ada gambar bendera negaranya di blogger.

Sebenarnya masih ada cara lainnya, namun hasilnya sama saja, jadi saya rasa 1 cara saja sudah cukup dan lagi untuk apa juga pakai cara yang susah kalau cara yang mudah ada.
Selamat mencoba dan semoga berhasil

sumber : http://blog.ahmadrifai.net/2010/09/pasang-google-translator-di-blogger.html
»»  Readmore...

Selasa, 01 Mei 2012

Contoh Upload Video ke Blog

inilah contoh upload yang diambil dari komputer
»»  Readmore...