Langkah - Langkah Nya.. :
- Login » blogger.
- Rancangan » Edit HTML.
- Apabila anda belum menggunakan kode JQuery silakan anda pasang kode JQuery dibawah ini tepat di atas Kode </Head>.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2' type='text/javascript'></script>
- Copy-Paste kode di bawah ini tepat di atas Kode </Head>.
//<![CDATA[
$(function(){
// ***
// Scrolling background
// ***
// height of background image in pixels
var backgroundheight = 4000;
// get the current minute/hour of the day
var now = new Date();
var hour = now.getHours();
var minute = now.getMinutes();
// work out how far through the day we are as a percentage - e.g. 6pm = 75%
var hourpercent = hour / 24 * 100;
var minutepercent = minute / 30 / 24 * 100;
var percentofday = Math.round(hourpercent + minutepercent);
// calculate which pixel row to start graphic from based on how far through the day we are
var offset = backgroundheight / 100 * percentofday;
// graphic starts at approx 6am, so adjust offset by 1/4
var offset = offset - (backgroundheight / 1);
function scrollbackground() {
// decrease the offset by 1, or if its less than 1 increase it by the background height minus 1
offset = (offset < 1) ? offset + (backgroundheight - 1) : offset - 1;
// apply the background position
$('body').css("background-position", "50% " + offset + "px");
// call self to continue animation
setTimeout(function() {
scrollbackground();
}, 70
);
}
// Start the animation
scrollbackground();
});
//]]>
</script>
- Copy-Paste Kode CSS di bawah ini tepat di atas Kode </Head> untuk memasang gambar background. Anda dapat mengganti gambar background sesuai dengan yang anda inginkan dengan merubah alamat hosting gambar pada Kode CSS di bawah dengan alamat hosting gambar yang anda pilih.
<style>
body {
background: black url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHn_hTtyCtmQqs73SVlGyYTEpiitgkDrkAkq_HzVRRvmA9Z2qYSAiIg5I6aBQdhqp-oycZJndnZtRpSVVcDVjAzQkTXUhtmB90KMghXyDRQ_karkJ5Ky-YKRIRn9NyS-j_431Tsn7_cJVN/s800/bg.gif) repeat center; background-attachment: fixed;
}
</style>
Keterangan :
- repeat // Pengulangan gambar arah x dan y.
- repeat-x // Pengulangan gambar hanya arah horizontal.
- repeat-y // Pengulangan gambar hanya arah vertikal.
- http://3.bp.blogspot.com/-tS5lZKl3Qag/TtjQUfMzi2I/AAAAAAAAAkA/QZc2FwvhW4o/s200/bg.gif // URL Link gambar.
- center // Lokasi gambar berada di tengah layar.
- Left // Lokasi gambar berada di kiri gambar.
- Right // Lokasi gambar berada di kanan gambar.
Pilihan Gambar Background :
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHn_hTtyCtmQqs73SVlGyYTEpiitgkDrkAkq_HzVRRvmA9Z2qYSAiIg5I6aBQdhqp-oycZJndnZtRpSVVcDVjAzQkTXUhtmB90KMghXyDRQ_karkJ5Ky-YKRIRn9NyS-j_431Tsn7_cJVN/s800/bg.gif
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmLAhNz5klkS79oqf4zjY-8OSOtRGrebYFAz2s18cWmmo6WHQFm7XDcMbtnt2aVqN0a1sk6bKEpxhvZMw1r0zjtXxEyJaMBUj1nENdTboMQZPw5ZQBZdE2PS7kmPVFluwpiFG6ncMNYm6p/s800/bg_star.png
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8MXhqLW2ArNpFjFYZm5FapeQ8-clXa3sVKmA-hDz6ovhBeYU8gjZpWudiMRvNAp3znSjwia5Ahmo3Q1QjcNlkq5WFDTzt1P1ML49kkk3pVPtxP3tbrn9OQevsMTF90IaI5wPbZWRrNbI_/s800/bg-clouds.jpg
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8KiPiWEXbEFRvwpb4DP6xfs7t-_29ZhSrMB25RA2uR33RJ6LIR-EIVChDqac9t9fosaQtWsIEuflHo4-h_9iOHVohFDgnwCi_31nOJRItc6yA8HBDX7sjpnahnIuMNCRdbifA-JDe50ks/s800/skull-fire-monozcore.png
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6k299D0Q-oYygxlh_g2-tnhFQO1hKChhzGuHfhyphenhyphenQNb06C3seJ3OgWMjg_ztrfcvwAA7M6bLE7YKwWuy8QxW4kiv-6NMppsvpSVjP0tnEBsxwiFXQzC8CFUWhjjRgSpBG8UBxRrUfYQAWb/s800/dance_flow.png
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXhXGkHQSVDCn2cayypE_LZUxidjqFQOiLu7B1LiE8lrud3r1i2nhei9Oyq2GzN3AyE-heajZ2Y4gbjA2Hw8wGD5dcG3T0VByM172cdxoVKHt2GE7Qmt_DVw9TUfb9pIBP1ZFhKS17czLN/s800/ThighHeels.png
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvdvsPt8ZEAHx2_ameO6-Be6Nx6-9LQ8Np5W-wVZlhzPVzRQNgcGKcJMlG0JonHJnaB8N13D0jYeYobyA1Ky_ZJ4R4mk2TL8MtCHZrrqA_TTyXowSHlrvVh1ITjLQ89T_hb6W03nE460wr/s800/animated%2520stars.gif
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR699bGKGKFes2QsPAPaUmlmpF7NYmQ7UWPCczv_A6aI39-pTHidE22FuUtRna6S4Bzk3bYdkdFQ3A6fCpTNDBlTd6cyqPUQpvZeZ93K7rD7SwgmdA7D6PizAiu5KlO36URZk04FOKVWMw/s800/animated%2520blue%2520stars.gif
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivJ4i87lMhDtCpbK4iefe-1CtLF20fQGYMXXe_RzQMSJjhKNh-w3OlpSDOj5lE73dODd3u3SUvXeRiI_dyc7A1AB5A6dDZrLG4BQ225L8KlpmlibaVAeWfm9DkYtkmSx4id2H91VWTdhsc/s800/devil_angel_lolita_bg.png
NB : Silahkan Di Coba 1/1 Dari Link di Atas..
.Semoga Bermanfaat ya.. :)
.Thank's ^_^
.Thank's ^_^
No comments:
Terimakasih telah memberikan komentar yang sesuai dengan artikel dan komentar anda sangatlah membantu.