//Forever Love♥
visitor notes.

Tuesday, 29 March 2011 @ 18:42 | 2 Flying kisses ❤


Hye blogger-blogger comell sekalian :)
Korang nak tau ni sama ada ni adalah first time korang singgah blog wawa or bila kali terakhir korang jenguk wawa dekat sini? Sila tengok dekat atas menubar wawa.


Korang pun nak buat macam ni juga? Boleh saja, jom laa kita belajar sama-sama.





1. Korang tekan dashboard ♥ design ♥ page elements ♥ add gadget ♥ HTML/javascript

2. Korang copy code dekat bawah ni.
<center><script type = "text/javascript">
//
var days = 730; // days until cookie expires = 2 years.
var lastvisit=new Object();
var firstvisitmsg="hye budak comell :)";
lastvisit.subsequentvisitmsg="kamu last singgah blog wawa adalah pada <b>[displaydate]</b>";
lastvisit.getCookie=function(Name){
var re=new RegExp(Name+"=[^;]+", "i");
if (document.cookie.match(re))
return document.cookie.match(re)[0].split("=")[1];
return'';
}
lastvisit.setCookie=function(name, value, days){
var expireDate = new Date();
var expstring=expireDate.setDate(expireDate.getDate()+parseInt(days));
document.cookie = name+"="+value+"; expires="+expireDate.toGMTString()+"; path=/";
}
lastvisit.showmessage = function() {
var wh = new Date();
if (lastvisit.getCookie("visitc") == "") {
lastvisit.setCookie("visitc", wh, days);
document.write(firstvisitmsg);
}
else {
var lv = lastvisit.getCookie("visitc");
var lvp = Date.parse(lv);
var now = new Date();
now.setTime(lvp);
var day = new Array("Sun", "Mon", "Tues", "Wed", "Thur", "Fri", "Sat");
var month = new Array ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
var dd = now.getDate();
var dy = now.getDay();
dy = day[dy];
var mn = now.getMonth();
mn = month[mn];
yy = now.getFullYear();
var hh = now.getHours();
var ampm = "AM";
if (hh >= 12) {ampm = "PM"}
if (hh >12){hh = hh - 12};
if (hh == 0) {hh = 12}
if (hh < 10) {hh = "0" + hh};
var mins = now.getMinutes();
if (mins < 10) {mins = "0"+ mins}
var secs = now.getSeconds();
if (secs < 10) {secs = "0" + secs}
var dispDate = dy + ", " + mn + " " + dd + ", " + yy + " " + hh + ":" + mins + ":" + secs + " " + ampm
document.write(lastvisit.subsequentvisitmsg.replace("\[displaydate\]", dispDate))
}
lastvisit.setCookie("visitc", wh, days);
}
lastvisit.showmessage();
</script>
</center>
3. Sekarang korang edit laa ayat yang wawa boldkan tu dengan ayat yang korang suka.
var firstvisitmsg="hye budak comell :)";
lastvisit.subsequentvisitmsg="kamu last singgah blog wawa adalah pada <b>[displaydate]</b>";
var firstvisitmsg="TUKAR AYAT KORANG";
lastvisit.subsequentvisitmsg="TUKAR AYAT KORANG<b>[displaydate]</b>";

4. Kalau korang dah puas hati,boleh laa tekan save dan pegi preview blog korang tu.










Older Post | Newer Post
3 applelovelove[s]


Hello little earthling jello, awkward strangers and mysterious stalkers (:



please click the like button to support my blog. :) i love♥ you guys so much.rawr!






Blog's name: ujawa4ever.blogspot.com
Blog's owner: Alwani Zulhilman

I'm using this template from blogskin, tweak and twist the coding and made it mine.

Background :Glitter-graphics
Icons : Iconspedia
Images : We❤it,Glitter-graphics