This is my blog, my rules, my world. No harsh word, copypigs or any type of childish acts.I HATE those people.Please respect me when you're in my blog.
Entry
Headmistress
FAQ !
No harsh word ! leave me your nice words .
Thanks ♥
Tutorial ::: Last Time You Came Here On blaa...blaa.. blaa
holaa peeps !!
como esta ??
apa habaq ??
sihat ??
oke,kita kembali menulis entry dalam situasi yang sejuk sebab baru lepas hujan..sejukk woo ~oke..entry ni pasal Last Time You Came Here On blaa...blaa.. blaanak try ??
let's do the tuto...
1. Dashboard > Design > Add Gadget > HTML Java Script
2. Copy kod ni dan pastekan kat ruangan HTML/ Java Script tu tau
<center><script type = "text/javascript">//var days = 730; // days until cookie expires = 2 years.var lastvisit=new Object();var firstvisitmsg="thank you for visiting this site !";lastvisit.subsequentvisitmsg="hye , last time you came here was on <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 + " " + ampmdocument.write(lastvisit.subsequentvisitmsg.replace("\[displaydate\]", dispDate))}lastvisit.setCookie("visitc", wh, days);}lastvisit.showmessage();</script></center>
3. Save !
* Psstt :::
Warna Biru ::: Ayat Korang.. Yang lain jangan kacau. Kacau tu je
Older Post | Newer Post
| |