Wednesday, November 9, 2011

Annyeong!!

Long time no see!! rindu gler kt korg. rindu sgt2. today, aq akn ajar nk wat ssuatu. sng je nk wat. sperti biasa, g kt Add Gadget -> HTML/JavaScript. pstu c & p bnda ni: <script>language="JavaScript">confirm("Put your greetings here")</script>
Save bnda tu. and g 'view blog'. tgk la ap dh jdi. hahaha. lg satu yg aq nk ajar ialah rainbow link. msti korg trtnye2 ap bnda tu kn?? ok. klau korg nk tau, wat bnda ni:

  • g kt Add Gadget -> HTML/JavaScript
  • c & p: <script src="https://sites.google.com/site/unwanted86/javascript/rainbowlink.js" type="text/javascript"> </script>
  • save
and g la view. and last pmbelajan utk hri ni ialah warning!!! klau korg x nk ada scpe c & p korg nye post kt blog, blh la wat ni:
- g kt Add Gadget -> HTML/JavaScript
- c & p: 

center><script language="JavaScript">
<!-- 
var message="Warning yg korg nk bg"; 
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;

document.oncontextmenu=new Function("alert(message);return false") 
// -->
</script>
- and then siap la. k la. aq nk out. cya!!

Friday, August 26, 2011

DiArY..


  hye korg!! rindu korg sume sgt2. hehe.. aq ni dh gler agknye. dh la blog ni ada 5 follower je pstu msti la x de yg nk bce post aq yg mrepek ni. mmpos r. Hello!!! blog aku,Ok!!aku punya pasal la,ada aku kisah! hehe. grau je ok. jgn ada yg trasa. anyway, hri ni aq nk cite psl sorg dak cute ni.


   pd hri isnin mggu ni, aq n dak form 2 kt sklh aq g brlatih kt stadium putra bukit jalil. brlatih wat ap ntah utk kmerdekaan. sklh aq trpilih masuk bhgian pyung merah. wktu tu ada 4 wrna pyung yg len:

  • pyung merah - SMK Seksyen 11
  • pyung kuning - SMK Seksyen 19
  • pyung biru - SMK Seksyen 16
  • pyung putih - SMK Sri Muda
  • pyung hijau - SMK Seksyen 18
 dorg sume sombong tau x?? bru igt nk brknalan. pstu pd kdua pn still sme. pd hri ktige that is on wednesday, ada sorg dak cute ni pkai sme pyung dgn aq. yeah!! hepy tau x!! tpi aq x brani nk mntk fb dy. so keesokkn hrinye, aq pn mntk 2 org best friend aq g mntk fb dak tu. tpi aq srh wktu blek la. tpi dak pyung kuning sume blah naik bas cpt gler. x de mse nk mntk fb dak cute tu. n keesokkn hrinye lg iaitu hri ni, kteorg brlatih kt sklh je. kteorg akn brlatih sme lg pd 6 Sept iaitu sminggu lps raya. rindu nye kt dy..


   Yeah!! raya!! ckp psl raya plak. thn ni, aq pkai baju wrna putih (plus blue) dgn bju wrna pink. ksut tumit tnggi (ayah aq yg plih kn k) eck kteorg nk wat kuih raya. dpt la aq rse eck. dh la. aq nk men SIM Social kt fb. scpe yg men game tu leh la jdi neighbor aq. k la bye2. 


   

Tuesday, August 16, 2011

Hey guys.. dh lama aq x post ap2 kt blog ni kn..gomenasai..sbgai gnti aq dh tkr lagu kt blog aq ni.. tjuk dy Be Mine dri kumpulan kpop iaitu Infinite!! best gler lagu2 dyorg. cbe la dgr kt youtube eh.. anyway, aq nk bgtau korg sume npe aq lama x post kt cni.. bkn aq sngje x post ap2 juz that aq bz dgn page2 aq kt fb. antaranye:

tiga2 tu page aq r. 2 pages dh ada >100 likers lg satu tu plak bru wat minggu ni. so secpe yg ada fb, tlg la tkn butang like yg ada kt page2 di atas.. trimas ye.. ok la.. i'm bz rite now. i'll post another tutorial later (maybe this weekends). tata. wassalam..

Wednesday, August 3, 2011

h0w t0 insert a favic0n

konbanwa minna!! hri ni kte blajar psl favicon. msti korg tgh pikir favicon tu apa kn?? favicon tu simbol or gmbr yg ada kt tab korg tu.. kt blog ni, favicon dy -> arnab wrna putih. cbe cari. klau korg dh jmpe, tu la favicon.. this is the procedure to make a favicon:



  • Log into your account.
  • Then click on the dashboard after opening your Account.
  • Then from the various tabs select the Layout tab.
  • Then you will see the first option as the Favicon. Simply click on the EDIT button of favicon. After this the following screen will appear:
  • Just click on Choose File and select your custom Favicon (you can the favicon at any webs). That's all. click on Save .
Your blogger favicon is now added to your blogger blog. hope you think that this one is better than the previous one. If you have any doubts then please let me know using comments.

Wednesday, July 27, 2011

h0w t0 in$ert a y0utube player

konbanwa minna-san!!! hri ni teacher myra akn ajar korg sume cara2 nk letak y0utube player kt blog korg.. senang je nk wat ni. nmpk je susah. ok. cara dy cmni:

  • first, korg g kt youtube n cri video mne yg korg nk..
  • next, korg tekan "share" (ada kt bwh video, tepi "like" & "add to").
  • then, korg tekan plak "embed". pndai2 korg cri. klau x jmpe,  sila komen kt blog aq..
  • lps tu, korg tick check kt "use old embed code". yg lg tiga tu, pstikn dy uncheck.
  • copy code yg ada kt situ n paste kt HTML/JavaScript.
klau korg nk letak video kt blog, kt atas tu caranye..hihi.. tpi klau korg x nk video but juz nk dy nye player dy please follow this instructions:

  • dkt code yg korg paste tdy, sila delete code ini: <object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/9L6Taa9Upm0?version=3&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
  • pastu tambah bnda merah ni kt code korg: <embed src="http://www.youtube.com/v/9L6Taa9Upm0?version=3&amp;hl=en_US&amp;rel=0xe87a9f" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object>
  • and then, tambah plak code oren ni..  : <embed src="http://www.youtube.com/v/9L6Taa9Upm0?version=3&amp;hl=en_US&amp;rel=0xe87a9f&autoplay=1" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object>
  • your y0utube player is finish!!
FYI, korg boleh tukar width & height video and player korg. (aq dh wrnakn width & height wrna purple). tpi aq suggest korg wat height player korg kpd 25 je. 25 tu pn dh cukup bsr utk player tau x. and bg yg video plak, aq suggest korg x yah tkr dy nye width & height. tpi klau korg still nk tkr, tkr jelah. it's your blog not mine. ok. tu je pmbelajaran hri ni. sayonara!!

Friday, July 22, 2011

h0w t0 make a sparkly curs0r..

annyeong sume.. hri ni kte akn bljr cmne nk wat sparkly curs0r. sparkly curs0r ialah bnda yg mcm glitter jatuh dri mouse korg tu.. dlm blog ni sparkly curs0r dy warna maroon. korg bleh tkr warna ap pn.


korg juz copy & paste code ni kt Add Gadget->HTML/JavaScript : 
 <script type='text/javascript'>
// <![CDATA[
var colour="TYPE THE C0L0R THAT U WANT F0R UR CURS0R"
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();
var tinyy=new Array();
var tinyv=new Array();
window.onload=function() { if (document.getElementById) {
var i, rats, rlef, rdow;
for (var i=0; i<sparkles; i++) {
var rats=createDiv(3, 3);
rats.style.visibility="hidden";
document.body.appendChild(tiny[i]=rats);
starv[i]=0;
tinyv[i]=0;
var rats=createDiv(5, 5);
rats.style.backgroundColor="transparent";
rats.style.visibility="hidden";
var rlef=createDiv(1, 5);
var rdow=createDiv(5, 1);
rats.appendChild(rlef);
rats.appendChild(rdow);
rlef.style.top="3px";
rlef.style.left="0px";
rdow.style.top="0px";
rdow.style.left="3px";
document.body.appendChild(star[i]=rats);
}
set_width();
sparkle();
}}
function sparkle() {
var c;
if (x!=ox || y!=oy) {
ox=x;
oy=y;
for (c=0; c<sparkles; c++) if (!starv[c]) {
star[c].style.left=(starx[c]=x)+"px";
star[c].style.top=(stary[c]=y)+"px";
star[c].style.clip="rect(0px, 5px, 5px, 0px)";
star[c].style.visibility="visible";
starv[c]=50;
break;
}
}
for (c=0; c<sparkles; c++) {
if (starv[c]) update_star(c);
if (tinyv[c]) update_tiny(c);
}
setTimeout("sparkle()", 40);
}
function update_star(i) {
if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
if (starv[i]) {
stary[i]+=1+Math.random()*3;
if (stary[i]<shigh+sdown) {
star[i].style.top=stary[i]+"px";
starx[i]+=(i%5-2)/5;
star[i].style.left=starx[i]+"px";
}
else {
star[i].style.visibility="hidden";
starv[i]=0;
return;
}
}
else {
tinyv[i]=50;
tiny[i].style.top=(tinyy[i]=stary[i])+"px";
tiny[i].style.left=(tinyx[i]=starx[i])+"px";
tiny[i].style.width="2px";
tiny[i].style.height="2px";
star[i].style.visibility="hidden";
tiny[i].style.visibility="visible"
}
}
function update_tiny(i) {
if (--tinyv[i]==25) {
tiny[i].style.width="1px";
tiny[i].style.height="1px";
}
if (tinyv[i]) {
tinyy[i]+=1+Math.random()*3;
if (tinyy[i]<shigh+sdown) {
tiny[i].style.top=tinyy[i]+"px";
tinyx[i]+=(i%5-2)/5;
tiny[i].style.left=tinyx[i]+"px";
}
else {
tiny[i].style.visibility="hidden";
tinyv[i]=0;
return;
}
}
else tiny[i].style.visibility="hidden";
}
document.onmousemove=mouse;
function mouse(e) {
set_scroll();
y=(e)?e.pageY:event.y+sdown;
x=(e)?e.pageX:event.x+sleft;
}
function set_scroll() {
if (typeof(self.pageYOffset)=="number") {
sdown=self.pageYOffset;
sleft=self.pageXOffset;
}
else if (document.body.scrollTop || document.body.scrollLeft) {
sdown=document.body.scrollTop;
sleft=document.body.scrollLeft;
}
else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
sleft=document.documentElement.scrollLeft;
sdown=document.documentElement.scrollTop;
}
else {
sdown=0;
sleft=0;
}
}
window.onresize=set_width;
function set_width() {
if (typeof(self.innerWidth)=="number") {
swide=self.innerWidth;
shigh=self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientWidth) {
swide=document.documentElement.clientWidth;
shigh=document.documentElement.clientHeight;
}
else if (document.body.clientWidth) {
swide=document.body.clientWidth;
shigh=document.body.clientHeight;
}
}
function createDiv(height, width) {
var div=document.createElement("div");
div.style.position="absolute";
div.style.height=height+"px";
div.style.width=width+"px";
div.style.overflow="hidden";
div.style.backgroundColor=colour;
return (div);
}
// ]]>
</script>