Membuat Bacground bertabur bintang

buka blog anda,,,
pilih di tataletak,,
lalu pilih gadget nya,,, dan pilih edit html,, lalu masukan rumus ini,,

–>

today = new Date();
day = today.getDay();
sunday = ” http://1.bp.blogspot.com/-OeiTvX9XLhw/TvnXl-VqeGI/AAAAAAAABNQ/Q7k_6sf-E-0/s320/Rinko-Bintang.gif”;
monday = ” http://i53.tinypic.com/fc7mtd.gif”;
tuesday = ” http://2.bp.blogspot.com/-0HZxVVvW_Aw/TvnYJD_aJ3I/AAAAAAAABNc/5kT49eEsv74/s320/Rinko-dark-night-stars.gif”;
wednesday = ” http://4.bp.blogspot.com/-i-Xdvj9mGUE/TvoHm4m4dnI/AAAAAAAABOw/zVb_BjK8vgQ/s320/animated_background_a2.gif”;
thursday = ” http://2.bp.blogspot.com/-JToqJb6IKCM/T2FxRn3AssI/AAAAAAAABfs/4t2QQKvbELk/s320/Bintang.gif”;
friday = ” http://i43.tinypic.com/2883h3.gif”;
saturday = ” http://1.bp.blogspot.com/-r7yXx89XW7Y/TxZ_lr7uX6I/AAAAAAAABTI/JcMf5iWyyMo/s320/351iljr.gif”;
arday = new Array(sunday, monday, tuesday, wednesday, thursday, friday, saturday);
document.write(“body{background: url(” + arday[day] + “); background-repeat: repeat; background-attachment:fixed;}”);

selamat mencoba ya,,,

Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s