Minggu, 08 Agustus 2010

Tips | Membuat Efek Salju pada Pointer Mouse di Blog

Weh, udah lama sekali saya tidak pernah posting Blog ini hampir 1 bulan lebih, ya soalnya kemarin lagi sibuk meyelenggarakan upacara ngaben, hampir sebulan saya di kampung ( Klungkung). Nah sekarang mumpung ada waktu senggang seharian saya sempatkan Blogwalking dan update artikel Blog ini.

Efek Salju

Ya namanya juga baru mulai nulis, terpaksa deh bikin postingan umum alias orang umum sudah banyak yang tahu. Yakni sesuai dengan judulnya Membuat Efek Salju pada Pointer Mouse di Blog. Efek salju ini akan muncul setiap kali kamu menggerakkan mouse di atas Blog kamu. Pernak-pernik Blog ini hanya berfungsi sebagai hiasan Blog saja, ya diperuntukkan buat kamu yang senang berdandan maksudnya mendadani Blog. Mohon maaf jika artikel ini kurang berkenan dan tidak informatif.

Langsung saja mulai yuk :

1).Pertama-tama silakan duduk manis di depan computer kamu

2). Login ke blogger dengan akun sobat.

3). Pilih Tata Letak / Rancangan.

4). Pada Tab Element Halaman klik Tambah Gadget.

5). Pilih HTML/Java Script.

6). Langkah berikutnya copy paste kode di bawah ini :

<script type='text/javascript'>
// <![CDATA[
var colour="black";
var sparkles=100;

var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();
var tinyy=new Array();
var tinyv=new Array();
window.onload=function() { if (document.getElementById) {
var i, rats, rlef, rdow;
for (var i=0; i<sparkles; i++) {
var rats=createDiv(3, 3);
rats.style.visibility="hidden";
document.body.appendChild(tiny[i]=rats);
starv[i]=0;
tinyv[i]=0;
var rats=createDiv(5, 5);
rats.style.backgroundColor="transparent";
rats.style.visibility="hidden";
var rlef=createDiv(1, 5);
var rdow=createDiv(5, 1);
rats.appendChild(rlef);
rats.appendChild(rdow);
rlef.style.top="3px";
rlef.style.left="0px";
rdow.style.top="0px";
rdow.style.left="3px";
document.body.appendChild(star[i]=rats);
}
set_width();
sparkle();
}}
function sparkle() {
var c;
if (x!=ox || y!=oy) {
ox=x;
oy=y;
for (c=0; c<sparkles; c++) if (!starv[c]) {
star[c].style.left=(starx[c]=x)+"px";

star[c].style.top=(stary[c]=y)+"px";
star[c].style.clip="rect(0px, 5px, 5px, 0px)";
star[c].style.visibility="visible";
starv[c]=50;
break;
}
}
for (c=0; c<sparkles; c++) {
if (starv[c]) update_star(c);
if (tinyv[c]) update_tiny(c);
}
setTimeout("sparkle()", 40);
}
function update_star(i) {
if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
if (starv[i]) {
stary[i]+=1+Math.random()*3;
if (stary[i]<shigh+sdown) {
star[i].style.top=stary[i]+"px";
starx[i]+=(i%5-2)/5;
star[i].style.left=starx[i]+"px";
}
else {
star[i].style.visibility="hidden";
starv[i]=0;
return;
}

}
else {
tinyv[i]=50;
tiny[i].style.top=(tinyy[i]=stary[i])+"px";
tiny[i].style.left=(tinyx[i]=starx[i])+"px";
tiny[i].style.width="2px";
tiny[i].style.height="2px";
star[i].style.visibility="hidden";
tiny[i].style.visibility="visible"
}
}
function update_tiny(i) {
if (--tinyv[i]==25) {
tiny[i].style.width="1px";
tiny[i].style.height="1px";
}
if (tinyv[i]) {
tinyy[i]+=1+Math.random()*3;
if (tinyy[i]<shigh+sdown) {
tiny[i].style.top=tinyy[i]+"px";
tinyx[i]+=(i%5-2)/5;
tiny[i].style.left=tinyx[i]+"px";
}
else {


tiny[i].style.visibility="hidden";
tinyv[i]=0;
return;
}
}
else tiny[i].style.visibility="hidden";
}
document.onmousemove=mouse;
function mouse(e) {
set_scroll();
y=(e)?e.pageY:event.y+sdown;
x=(e)?e.pageX:event.x+sleft;
}
function set_scroll() {
if (typeof(self.pageYOffset)=="number") {
sdown=self.pageYOffset;
sleft=self.pageXOffset;
}
else if (document.body.scrollTop || document.body.scrollLeft) {
sdown=document.body.scrollTop;
sleft=document.body.scrollLeft;
}
else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
sleft=document.documentElement.scrollLeft;
sdown=document.documentElement.scrollTop;
}
else {
sdown=0;
sleft=0;
}
}
window.onresize=set_width;
function set_width() {
if (typeof(self.innerWidth)=="number") {
swide=self.innerWidth;
shigh=self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientWidth) {
swide=document.documentElement.clientWidth;
shigh=document.documentElement.clientHeight;
}
else if (document.body.clientWidth) {
swide=document.body.clientWidth;
shigh=document.body.clientHeight;
}
}
function createDiv(height, width) {
var div=document.createElement("div");
div.style.position="absolute";
div.style.height=height+"px";
div.style.width=width+"px";
div.style.overflow="hidden";
div.style.backgroundColor=colour;
return (div);
}
// ]]>
</script>


7). Dan terakhir jangan lupa simpan gadget baru kamu dan nikmati hasilnya.



Artikel Menarik Lainnya





125 komentar:

salam mengatakan...

Salam Sukses selalu Sob...!

Blogger mengatakan...

wah kalo pake efek mungkin lebih menark ya sob untuk aksesories blog...sayang blog saya sudah lelet banget hehe..
Sukses Slalu!

Software House Production mengatakan...

Sukses dech pak.Sebenernya aku mau pake script ini. Cuma sayang..agak bikin lelet

man mengatakan...

suskses bro...mantap

Info-Lagu Lawas mengatakan...

Ty sob ..
Get succes.

ninja saga mengatakan...

makasih gan akhirnya juga gan gue dapet

gelang mengatakan...

jual aksesoris gelang
korea hrga murah

Refurbished Used Pc mengatakan...

I have been really glad after reading this blog as the knowledge which has been given via this blog is simply tremendous. I would congratulate and appreciate the blogger for doing this much hard work.

mengatakan...

Coach believe many young friends will coach factory outlet like this brand of clothing products, because this brand clothing is mainly for young people make a professional fashion brand, and Coach dress sort is various, full of beautiful things in eyes clothing products for you to choose not to finish,Coach Necklaces cheap price also is one of the features of chi ndonko
Jack008

Nunaz mengatakan...

xjd pon

blog reviews mengatakan...

I found this post while doing an internet search for the topic. This will help me complete my research term paper

joomla web design mengatakan...

Yes, well written article. I could find out some useful information on your blog guys. This is really useful for everyone. I love this post. Thanks for sharing it.

Ecommerce website developers mengatakan...

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. I love reading this kind of stuff. Your blog is one of a kind, i love the way you organize the topics.

pulsamurah mengatakan...

mohon ijin mampir, thx infonya...

Sign mengatakan...

Very useful information there! I just thought of to became your regular reader but the problem is your sweet blog does not seem friendly when it show in KMeleon browser which I use regularly other than the old school IE 6, hope you can get it fix soon, thanks in advance. Sign

tonethephone mengatakan...

I m happy to visit your blog. I got lots of information the which i search. Thanks a lot.

Si'her mengatakan...

Mantap, mksi sob :)
Bntu donk bgimn blog jd menarik, please saran

Techbee mengatakan...

Sukses dech pak.Sebenernya aku mau pake script ini. Cuma sayang..agak bikin lelet..
Good..
Job Interview Questions

sarabose mengatakan...

I just came across your blog and wanted to drop you a note telling you how impressed I was with the information you have posted here.HP LaserJet P1505 Driver

Missouri web design mengatakan...

this is really interesting. thank you for sharing.

Compare Life Insurance Policies mengatakan...

Wow, I’m blown away by the variety of material on this site. I’ve found a load of good resources here. I know I will visit this place often.

Small Business Loans mengatakan...

This is a fantastic post,very well authored and easy to understand.Thanks so much for this

Tourist Places in Kanyakumari mengatakan...

This is a wonderful content. I will bookmark this site and visit again. It is very informative.

web hosting company mengatakan...

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities attract us.

Ongky Himawan mengatakan...

tenkyu nih gan...berguna buat ane...

:)

dhanushnewupdates mengatakan...

Thank you, thats very interesting information. I need to share with my friends.

Web Development Company Chennai mengatakan...

I prefer to read this kind of stuff. The quality of content is fine and the conclusion is good. Thanks for the post

Obat Herbal Maag Kronis mengatakan...

Wah keren gan, muantapp dech.. terima kasih banyak atas infonya.
sukses selalu buat agan.

Agen Xamthone Plus Salak mengatakan...

Hallo apa kabar ?

Agen Xamthone Plus Sibolga mengatakan...

Ikut gabung sini ya

Agen Xamthone Plus Siboronggobong mengatakan...

bagus banget infonya gan

Obat Tradisional Ginjal mengatakan...

terima kasih

obat penyakit asma mengatakan...

sukses ya,,,,,,

obat penyakit tbc mengatakan...

salam kenal..........

Obat Penyakit Nyeri Haid mengatakan...

terima kasih ya infonya...

Obat Penyakit Gagal Ginjal mengatakan...

sukses buat kamu..........

Obat Penyakit Insomnia mengatakan...

good artikel........

Creation site web maroc mengatakan...

This blog is wonderful, thank you propose. Glad to see new projects! I wish you much success.

pulsa online mengatakan...

mantapp, trims infonya :)

idzulia mengatakan...

Hallo sobat ? ikut gabung sini lagi ya

idzulia mengatakan...

saya numpang buat nambah backlink di sini ya

obat jelly gamat mengatakan...

bagus banget ya ceritanya

obat jelly gamat mengatakan...

salam kenal dan sukses slalu ya

obat tradisional kelenjar getah bening mengatakan...

hai,apa kabar

obat tradisional insomnia mengatakan...

sukses selalu ajach ya gan

obat tradisional ginjal mengatakan...

informasinya bermanfaat gan, mantap

obat tradisional kanker tumor otak mengatakan...

hai,selamat sore ajach ya gan

obat tradisional keputihan mengatakan...

izin menyimak ajach dulu soalnya belum paham benar

obat tradisional darah tinggi mengatakan...

good luck dan semoga berhasil ya

obat penyakit mengatakan...

Mudah- mudahan semakin mantab lagi ya

obat jelly gamat mengatakan...

Salam kenal dan sukses slalu

nove mengatakan...

selamat siang dan salam kenal ya

nove mengatakan...

semoga sukses selalu ya

nove mengatakan...

ijin menyimak dan backlink disini ya

leo mengatakan...

izin gabung sini ya sobat

riska mengatakan...

nice artikel

riska mengatakan...

thanks yah gan

riska mengatakan...

mantap nih informasinya

riska mengatakan...

hai

akbar mengatakan...

info yang menarik

zul mengatakan...

Halllo, numpang untuk nambah backlink di sini ya !!

Setelah saya menyimak ternyata info-infonya sangat bermanfaat bagi saya untuk menambah pengetahuan saya

Thanks



obat tradisional sinusitis mengatakan...

trimakasih info gan....

obat tradisional kanker darah / leukemia mengatakan...

hai,selamat pagi semuanya. salam kenal ajach ya

obat tradisional diare mengatakan...

semoga sukses selalu ya. ditunggu info selanjutnya.

Obat Penyakit Kanker Usus mengatakan...

Beritanya mennarik untuk di simak,

makasih ya gan atas infonya



Obat Herbal Penyakit ginjal mengatakan...


lanjutkan ,, good luck

Obat Penyakit Alzheimer mengatakan...


hallo gan

Obat Penyakit Darah Tinggi mengatakan...


ikut gabung di sini ya

Obat Penyakit Jantung Koroner mengatakan...

infonya cukup bermanfaat banget bagi saya

Obat Penyakit Kanker Usus mengatakan...


terimakasih ya atas info nya

Obat Penyakit Kanker Paru Paru mengatakan...

salam kenal

obat herbal insomnia mengatakan...

makasih buat infonya

Obat Herbal Penyakit Infeksi Saluran Kemih mengatakan...


hallo:)

Obat Herbal Penyakit Kanker Payudara mengatakan...

makasih ya atas infonya , mudah mudahan bermanfaat trus .

Obat Herbal Penyakit Nyeri Haid mengatakan...

salam hangat slalu

Obat Herbal Penyakit Psoriasis mengatakan...


jangan lupa mampir dulu ya , Good luck !!!

Jual Obat Hepatitis mengatakan...

sukses terus ya ..

obat herbal darah rendah mengatakan...

nice post and thanks y gan.

obat herbal ambeien mengatakan...

sukses selalu ya gan!

obat tradisional sifilis mengatakan...

thanks you very much

obat herbal ace maxs mengatakan...

ditunggu yah kunjungannya,,,

cara mengobati penyakit kuning mengatakan...

salam kenal dari saya

cara mengobati usus buntu mengatakan...

makasih buat infonya

cara mengobati komplikasi mengatakan...

Hallo sobat ? ikut gabung sini lagi ya

obat tradisional ace maxs mengatakan...

hai....

Obat Penyakit Stroke mengatakan...

pusing juga ya kalau belum paham betul caranya ,terima kasih sudah mau berbagi informasi

obat tradisional kolesterol mengatakan...

kemana ajach ne baru muncul ngeblog lagi

obat tradisional tumor lambung mengatakan...

saya sudah coba semua caranya, tapi ko susah banget ya

Obat Tradisional Penyakit Gagal Ginjal mengatakan...

makasih buat tips nya ..

Obat Tradisional Penyakit Kanker Prostat mengatakan...

cukup panjang juga ya langkah-langkah nya

Obat Penyakit Kanker Otak mengatakan...

kalau mau masangnya di postingan website bisa engga ya gan ??

motor advisor mengatakan...

Thanks for sharing information! I appreciate the useful information which you discussed here and I enjoyed

to read such interesting post.

dissertation proposal mengatakan...

I am just catching up but holy crapoly, that sounds like an awesome tailgate! I have to say - they aren't all that amazing. Deep fried Prime Rib? My god. Thank you for providing this information.

toko aksesoris mobil mengatakan...

pengen bnget punya effect dalam blog saya...thx ya gan sharenya...thx juga tips an tutorialnya...

Anonim mengatakan...

That’s a really interesting post, lots of food for thought. I run a computer repair business in London and I’m sure this will help.

chela mengatakan...

SEO Services, find great SEO tips and more about internet marketing

voyance gratuite par mail mengatakan...

Ini bagus sebagai blog !!
semoga sukses untuk Anda!

Microhost mengatakan...

Nice Post!!
Dedicated Windows Hosting

rosy123 mengatakan...

J’ai de plus en plus besoin de me rendre sur ton site. en fait pas un jour ne passe sans que j'admire ce blog supérieur
tirage carte gratuit amour

creativehighs mengatakan...

Its hard to find knowledgeable person on this topic. Thanks for sharing.
Advertising Agency

Unknown mengatakan...

thanks for sharing..
Advertising Agency

rosi mengatakan...


Voilà une description qui donne envie... Je le note dans un coin ! :)

voyance gratuite en ligne

rosi mengatakan...

Merci pour cet article très complet encore une fois
voyance gratuitement

rosi mengatakan...


Voilà une description qui donne envie... Je le note dans un coin ! :)
voyance serieuse gratuite par mail

rosi mengatakan...

Mille merci pour tout.
Tu es incroyable, mille bisous pour toi.
voyance gratuitement par mail

Priyanka mengatakan...

Thanks for sharing article with us..
Advertising agency

Cara Jualan Pulsa mengatakan...

efek di poniter mouse bukanya malah ganggu mata pembaca ya bos?

flyingcakes mengatakan...

Flying cakes is a standout amongst the best online cake Delivery shop, we serve our best quality crisply made cakes and furthermore we guarantee a conveyance inside a hour, we are best for midnight cake conveyance, birthday cake conveyance in delhi, wedding commemoration cake, so request cake online just on flyingcakes.in
best cakes provider in gurgaon

Vanky Nails on Wheels mengatakan...

I am glad when perusing your blog with refreshed data! Much obliged and trust that you will post more site that are identified with this site.
Vanky Beauty Salon on Wheels

Best Dermatologist in Gurgaon mengatakan...

I am glad when perusing your blog with refreshed data! You rock and expectation that you will post more site that are identified with this site.
Best Dermatologist in gurgaon

reverhomes mengatakan...

Thanks for sharing the needful information !!
construction service providers in gurgaon

Ayyappa mengatakan...

Very Informative Article. Worth visiting as well as worth Recommending to the people.Thanks to you for sharing this helpful information with us. Keep posting.|Video Editing Training Institute In Hyderabad

vikaschoteyle mengatakan...

Really nice blog on this topic... keep doing well.

HP Laptop Service Center in Mumbai
Del Laptop Service Center
HP Laptop Service Center in Gurgaon

rosy mengatakan...

re bonjour,
je viens de parcourir une grande partie de votre site... une merveille !!! merci d'exister

voyance par mail gratuit en ligne

rosy123 mengatakan...


re bonjour,
je viens de parcourir une grande partie de votre site... une merveille !!! merci d'exister

voyance gratuite en ligne

best digital watch mengatakan...

An incredible substance recognizes your work from others.The target crowd turns out to be effectively agreeable through an ideal visual introduction of a planned substance and will admire you to tackle their specific issue.
best digital watch

best digital marketing agency in delhi mengatakan...

We stay ahead of the curve with digital marketing trends. Our success has us leading the pack amongst our competitors with our ability to anticipate change and innovation !!
best digital marketing agency in delhi

Unknown mengatakan...

I read your article its truly educational continue to share
coworking space in nehru place
co working space in delhi

rosy123 mengatakan...

Votre blog est simplement génial. J'y ai découvert de superbes images, signatures, citations. Je ne ma lasse pas de le regarder.
voyance gratuite en ligne par mail en direct

TwachaSkinClinic mengatakan...

I feel immovably about it and love learning more on this subject. If possible, as you procure capacity, would you mind reviving your blog with more information? It is exceptionally helpful for me.
Best Skin Clinic in Delhi

Skin Care Products mengatakan...

I'm happy when scrutinizing your blog with revived information! Thankful and believe that you will post more site that are related to this site.
Body care products

rosy123 mengatakan...

Vraiment sympa ce site web

voyance gratuite par mail en ligne gratuitement

Bhushan mengatakan...

Very Nice blog
learn too many thing
kindly visit our website smart board / Interactive whiteboard
Interactive Flat panel
Interactive Teaching Pad
Document Camera
Smart Classroom Solutions
Virtual Classroom Solution

Ronny Osbourne mengatakan...

Hp Service Center Malad
Hp Service Center Goregaon
Hp Service Center Jogeshwari
Hp Service Center Powai
Hp Service Center Wadala

Anonim mengatakan...

Here we provide jobs in Mumbai from Job vacancy result company . And we also provide jobs in different state. Thanks for commenting.
Jobs in Mumbai
Jobs in Mumbai
Jobs in Mumbai
Jobs in Mumbai

Posting Komentar