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>

Thursday, July 21, 2011

h0w t0 make a curs0rs..

0hayo minna-san!! hri ni aq nk jdi ckgu jap. aq nk ajr cara nk wat curs0rs. nk tau x ap tu curs0rs?? cursors tu bnda yg ada kt mouse korg tu.. klau kt blog aq curs0r dy hello kitty. so ni cara2 nk wat curs0rs.. 
  • first, korg cri cursor mne yg korg nk kt web ni: http://www.cursors-4u.com/
  • second, korg copy & paste code dy kt Design->Add Gadget->HTML/Javascript. FYI: animated cursors only work for Internet Explorer only.
  • third, korg delete bnda ni dri code tu: <a href="http://www.cursors-4u.com/cursor/2011/03/21/tsukasa-hiiragi-lucky-star.html" target="_blank" title="Tsukasa Hiiragi - Lucky Star"><img src="http://cursors-4u.com/support.gif" border="0" alt="Tsukasa Hiiragi - Lucky Star" style="position:absolute; top: 0px; right: 0px;" /></a>
  • pastu korg nye cursor dh siap!!

Sunday, July 17, 2011

Joe Jonas ~ See No More lyrics

hye sume.. hri ni aq nk post lirik lagu kgmrn aq. tjuk dy see no more by joe jonas. harap korg sume ske..


It was Saturday when I got that call 
Far away from feeling tall 
I know, I know, I know what the truth is, yeah 
I tried to look away from what you did 
Heartache became my friend 

You walked away from me baby 
I would've never done the same 
You made me feel like our love was not real 
You threw it all away, so... 

[Chorus] 

I don't wanna wait for you 
I don't wanna wake up thinkin', hopin' 
You'll get it right this time 
'Cause you know that you're so cold 
I don't wanna see no more 
And I can't get away from you 

It's one of the reasons why 
That I just can't get you out my mind 
And all I keep seein' is your picture 
But I don't wanna see no more 
But I don't wanna see no more 
I don't wanna see no more 
I don't wanna see no more 
I don't wanna see no more 

It was so easy to trust you baby 
Guess I was so stupid baby 
I didn't ever think that this would come 
You're runnin' right to another one 

You walked away from me baby 
You threw it all away, so 

[Chorus] 

I don't wanna wait for you 
I don't wanna wake up thinkin', hopin' 
You'll get it right this time 
'Cause you know that you're so cold 

I don't wanna see no more 
And I can't get away from you 

It's one of the reasons why 
That I just can't get you out my mind 
And all I keep seein' is your picture 
But I don't wanna see no more 
But I don't wanna see no more 
I don't wanna see no more 
I don't wanna see no more 
I don't wanna see no more 

[Bridge] 

I used to be afraid of letting go 
The fragile part me, i'm here right now 
I need you to set me free 
I can see it in your eyes 
That you won't blame on me this time 
No, never 
And I want you back but I won't look back, no 

[Chorus] 

I don't wanna wait for you 
I don't wanna wake up thinkin', hopin' 
You'll get it right this time 
'Cause you know that you're so cold 
I don't wanna see no more 
And I can't get away from you 

It's one of the reasons why 
That I just can't get you out my mind 
And all I keep seein' is your picture 
But I don't wanna see no more 
But I don't wanna see no more 
I don't wanna see no more 
I don't wanna see no more 
I don't wanna see no more

Saturday, July 16, 2011

First Entry...

Saturday-16th.July,2011
hye sume.. this is my first entry. bangga nye... sbnrnye aq dh lma nk wat blog tpi x brpe reti r. hri ni bru rsa rajin nk wat. btw, pg tdy kene g sklh utk tlg ckgu hias blik msyuarat. ble dh smpi sklh lbih krg kul 9 pg, ckgu len g mntk tlg plak. ish. but i couldn't say no to a teacher. yelah. dy yg doakn kte nnti wktu priksa. so aq n ain (one of my bestie) pn tlg r ckgu tu.. kterg tlg smpi kul 1 ptg tau. pnat gler! pstu kteorg tlg ckgu mai hias blik msyuarat n blik ppriksaan. ad sorg dak form 1 ni tlg skli. nme dy intan. n sanah (another bestie) tlg gak kt blik ppriksaan. wktu tgh best2 wat keje amal tetiba appa aq kol tnye npe aq x blek lg. aq kta la yg aq bz tlg ckgu. appa trus ptuskn talian. hampeh tul. n lps abs tlg ckgu, aq pn trus blek rmh. aq smpi rmh kul 4 ptg. that's all for this entry. wait for the next one, k..