Tutorial : Welcome Note (Blogskin)
Assalamualaikum. Hai semuaa. Hari ni tieqa nak ajar korang cara untuk letak Welcome note dalam blogskin. So, tutorial ni khas untuk pengguna template classic/blogskin sahaja. Take note yeay!
1. Dashboard > Template
2. Tekan Ctrl+f serentak dan cari code </style>
3. Lepas tu, copy code dekat bawah ni
.welcome {
text-align:center;
margin-top: 250px;
}
4. Paste di atas code </style> tadi
5. Then cari code ni pulak
<body oncontextmenu='return false;'>atau
<body>
6. Dah jumpa? Ok bagus. Kemudian, copy code dekat bawah ni
<script language="javascript" type="text/javascript">
/* toggle() checks to see if the images has already been faded
or not and sends the appropriate variables to opacity(); */
function toggle(el,milli) {
// Get the opacity style parameter from the image
var currOpacity = document.getElementById(el).style.opacity;
if(currOpacity != 0) { // if not faded
fade(el, milli, 100, 0);
} else { // else the images is already faded
fade(el, milli, 0, 100);
}
}
/* changeOpacity() uses three different opacity settings to
achieve a cross-browser opacity changing function. This
function can also be used to directly change the opacity
of an element. */
function changeOpacity(el,opacity) {
var image = document.getElementById(el);
// For Mozilla
image.style.MozOpacity = (opacity / 100);
// For IE
image.style.filter = "alpha(opacity=" + opacity + ")";
// For others
image.style.opacity = (opacity / 100);
}
/* fade() will fade the image in or out based on the starting
and ending opacity settings. The speed of the fade is
determined by the variable milli (total time of the fade
in milliseconds)*/
function fade(el,milli,start,end) {
var fadeTime = Math.round(milli/100);
var i = 0; // Fade Timer
// Fade in
if(start < end) {
for(j = start; j <= end; j++) {
// define the expression to be called in setTimeout()
var expr = "changeOpacity('" + el + "'," + j + ")";
var timeout = i * fadeTime;
// setTimeout will call 'expr' after 'timeout' milliseconds
setTimeout(expr,timeout);
i++;
}
}
// Fade out
else if(start > end) {
for(j = start; j >= end; j--) {
var expr = "changeOpacity('" + el + "'," + j + ")";
var timeout = i * fadeTime;
setTimeout(expr,timeout);
i++;
}
}
}
</script>
<div class="welcome" onClick="javascript:toggle('wise', 3000); this.style.display='none'; document.getElementById('june').style.display=''">
<img src="URL GAMBAR"
style="opacity:0.4;filter:alpha(opacity=40)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.7;this.filters.alpha.opacity=40"/>
</div>
<div id="wise" style="filter : alpha(opacity=0); -moz-opacity : 0; opacity : 0;">
<div id="june" style="display : none;">
7. Then paste di atas code <body oncontextmenu='return false;'> atau <body>
8. Gantikan URL GAMBAR dengan gambar yang korang suka. Bole ambil freebies kat bawah ni :)
Berukuran: 800x150
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYDQNebZqObNMttSXf3OY-4kZlLFdtKW4-RXFGX1Ws8oZTUx2aISKandyEE8gADWFHdd-eCSyIZqkiAR5ZeAZ1mYS6Hz-AXhVBkfN3yy-fb4Y_DM1mQYAfKhhIXWN5IkAzTs3UPV0J5g/s1600/pink.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzjNetvdU2PNGqb160PZazsPjnNViXc7W8Rpy5qJ_dObBB0MViY6tf9MIbZ2ZM4_-tDT0GL-98c3bBuMBe-Nozqh30a4izBEjX402swKbdtwAoBGooQI3vptInZtA4HKhZ3z8SztXq6w/s1600/purple.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDN-OZGRq067xzpbjfBaSAd4spsKQ30rUTJptH6XZx4imMN63N8sRHy5UzQL6nIvoMApqNZugAHvueFboJUBTAPmMdrX_FWhu5rkiniCGo5ZcfVoTVHaNcQY-gyhIjGfT8-noS8tB38w/s1600/blue.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy4qIWZ_UMMtaS7cSzUyo4BCE2i-fCJItjPmj3hMlJF3kn5TvUw3DfiS15PfL2VZeHcGsNzDU0VTlTaowulWBt9iksQ9vnl72laU5hUaLAGbpBuDpJOzib1y1CBzO7_NUGv7gN9c1kYg/s1600/orange.png
Credit: FaQihah
18 comment [s]:
akak, bleh request tak? kalau bleh nak welcome note gbr suju a-cha punyer... kaler biru... bleh ke? ^_^
@Queen Eiszarabela Summer: boleh..nt free akak buat :)
kt mana yg kena letak URL gmbr tuh?
@AmyLia : Dekat bahagian yg sy highlight kan warna merah tu~
thanks for the tutor..
kalau takde code yang body body camane ? :)
ambik satu. kalau ada bap lgi best kan?
kenapa takda pun URL yang you highlight warna merah ?
Ambil satu k .
guna :)
tiqah :/ tak de pun code tuh?
thnx a lot...
@Nurul Atiqah Akak tiqah , dok jadi pong ? Alohhh :(
Kak tiqah , dok jadi pong ? Alohh
thanx kak..
Thanks akak . Membantu sangat !
akak boleh buatkan header gambar cartoon with camera?
@Queen Eiszarabela Summer akak boleh tak nak request header gambar perempuan with camera?
Post a Comment