okay tema minggu yang yana akan edit ialah tema
bacground : cute and adorable
colour : pink,blue,green,purple and colourful
minggu ni minggu special (sebab cuti sekolah)
yana akan edit-kan sekali :
*header
boring kodd
at
7:50 PM
serious boring gilaaa .
teramat boring !!!
so aku ade idea untuk buat service edit blog .
padahal dah lame aku edit blog org
blog nih yg aku pernah edit-kan
(tapi die dah tukar background)
so sesape nak suroh aku edit blog korang ,,,
follow aku n tengok syarat2 yg tertera di dalam gambar ini
luahan hati daripada
diaERRYna.com
cute star follow cursor
at
2:01 AM
haha yg ke enam tuto yg aku buat hari nie :D
jom start !!
1. Dari dashboard > design > add a gadget > HTML/javasrcript [link]
2. Copy code di bawah mengikut kesukaan anda dan paste ke dalam HTML/javascript
i) Following star warna warni
ii) Following star warna biru
iii) Following star warna purple
jom start !!
1. Dari dashboard > design > add a gadget > HTML/javasrcript [link]
2. Copy code di bawah mengikut kesukaan anda dan paste ke dalam HTML/javascript
i) Following star warna warni
<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/rainbows.js"></script>
ii) Following star warna biru
<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/blues.js"></script>
iii) Following star warna purple
<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/purples.js"></script>
luahan hati daripada
diaERRYna.com
perkataan follow cursor
at
1:59 AM
Tutorial untuk buat perkataan bergerak mengikut cursor adalah seperti berikut.
1. Dari dashboard > design > add a gadget > HTML/javascript
2. Copy dan paste kod berikut dalam html/javascript yang anda buka.
Note: Tukar 'Perkataan anda disini' dengan apa yang anda mahu.
3. Save dan lihat hasilnya.:)
Bagi yang ingin sedikit ubahsuai, boleh rujuk beberapa perkara berikut.
1.Tukar style
font-style: normal; (pilihan lain italic, oblique, atau inherit)
2. Tukar warna perkataan
color: #FF0080; (untuk code warna, rujuk entri ini HTML color code
3. Tukar jenis tulisan
font-family: 'impact'; (pelbagai lagi bentuk perkataan yang ada, boleh rujuk dibawah)
1. Dari dashboard > design > add a gadget > HTML/javascript
2. Copy dan paste kod berikut dalam html/javascript yang anda buka.
<style type="text/css">
/* Circle Text Styles */
#outerCircleText {
font-style: normal;
font-weight: normal;
font-family: 'comic sans';
color: #FF0080;
position: absolute;top: 0;left: 0;z-index: 3000;cursor: default;}
#outerCircleText div {position: relative;}
#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}
</style>
<script type="text/javascript">
;(function(){
var msg = "Perkataan anda di sini";
var size = 24;
var circleY = 0.75; var circleX = 2;
var letter_spacing = 5;
var diameter = 10;
var rotation = 0.4;
var speed = 0.2;
if (!window.addEventListener && !window.attachEvent || !document.createElement) return;
msg = msg.split('');
var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20,
ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [],
o = document.createElement('div'), oi = document.createElement('div'),
b = document.compatMode && document.compatMode != "BackCompat"? document.documentElement : document.body,
mouse = function(e){
e = e || window.event;
ymouse = !isNaN(e.pageY)? e.pageY : e.clientY; // y-position
xmouse = !isNaN(e.pageX)? e.pageX : e.clientX; // x-position
},
makecircle = function(){ // rotation/positioning
if(init.nopy){
o.style.top = (b || document.body).scrollTop + 'px';
o.style.left = (b || document.body).scrollLeft + 'px';
};
currStep -= rotation;
for (var d, i = n; i > -1; --i){ // makes the circle
d = document.getElementById('iemsg' + i).style;
d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px';
d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px';
};
},
drag = function(){ // makes the resistance
y[0] = Y[0] += (ymouse - Y[0]) * speed;
x[0] = X[0] += (xmouse - 20 - X[0]) * speed;
for (var i = n; i > 0; --i){
y[i] = Y[i] += (y[i-1] - Y[i]) * speed;
x[i] = X[i] += (x[i-1] - X[i]) * speed;
};
makecircle();
},
init = function(){ // appends message divs, & sets initial values for positioning arrays
if(!isNaN(window.pageYOffset)){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
} else init.nopy = true;
for (var d, i = n; i > -1; --i){
d = document.createElement('div'); d.id = 'iemsg' + i;
d.style.height = d.style.width = a + 'px';
d.appendChild(document.createTextNode(msg[i]));
oi.appendChild(d); y[i] = x[i] = Y[i] = X[i] = 0;
};
o.appendChild(oi); document.body.appendChild(o);
setInterval(drag, 25);
},
ascroll = function(){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
window.removeEventListener('scroll', ascroll, false);
};
o.id = 'outerCircleText'; o.style.fontSize = size + 'px';
if (window.addEventListener){
window.addEventListener('load', init, false);
document.addEventListener('mouseover', mouse, false);
document.addEventListener('mousemove', mouse, false);
if (/Apple/.test(navigator.vendor))
window.addEventListener('scroll', ascroll, false);
}
else if (window.attachEvent){
window.attachEvent('onload', init);
document.attachEvent('onmousemove', mouse);
};
})();
</script>
Note: Tukar 'Perkataan anda disini' dengan apa yang anda mahu.
3. Save dan lihat hasilnya.:)
Bagi yang ingin sedikit ubahsuai, boleh rujuk beberapa perkara berikut.
1.Tukar style
font-style: normal; (pilihan lain italic, oblique, atau inherit)
2. Tukar warna perkataan
color: #FF0080; (untuk code warna, rujuk entri ini HTML color code
3. Tukar jenis tulisan
font-family: 'impact'; (pelbagai lagi bentuk perkataan yang ada, boleh rujuk dibawah)
luahan hati daripada
diaERRYna.com
tutorial gambar magic ! :D
at
1:56 AM
tuto ke 5 yg aku buat hari ni (haha)
jom start !
1. Gunakan kod di bawah, tukarkan link yang anda mahu, url gambar pertama dan url gambar kedua.
Contoh untuk kod untuk demo di atas adalah
2. Anda boleh post di dalam entri bloganda seperti biasa ataupun boleh letakkan di sidebar.
Senang dan mudah bukan.?.:)
Nota: Jika mahu gambar sahaja tanpa link, kodnya seperti dibawah.
Selamat mencuba.:)
jom start !
1. Gunakan kod di bawah, tukarkan link yang anda mahu, url gambar pertama dan url gambar kedua.
<a href="Target link" target="_blank"><img src="URL gambar pertama" onmouseover="this.src='URL gambar kedua'" onmouseout="this.src='URL gambar pertama'" /></a>
Contoh untuk kod untuk demo di atas adalah
<a href="http://ohbest.blogspot.com" target="_blank"><img src="http://i.imgur.com/Z5B1M.png" onmouseover="this.src='http://i.imgur.com/PlE1J.jpg'" onmouseout="this.src='http://i.imgur.com/Z5B1M.png'" /></a>
2. Anda boleh post di dalam entri bloganda seperti biasa ataupun boleh letakkan di sidebar.
Senang dan mudah bukan.?.:)
Nota: Jika mahu gambar sahaja tanpa link, kodnya seperti dibawah.
<img src="URL gambar pertama" onmouseover="this.src='URL gambar kedua'" onmouseout="this.src='URL gambar pertama'" />
Selamat mencuba.:)
luahan hati daripada
diaERRYna.com
tutorial snow effect version 2
at
1:53 AM
Let's start the tuto! Caranya begini :
1. First, sila buka dashbord-->Design-->Add a gadget-->Html/Javascript
2. Copy dan paste code ini di Html/Javascript
<script type="text/javascript">/******************************************* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code* Last updated Nov 9th, 05' by DD. This notice must stay intact for use******************************************///Configure below to change URL path to the snow imagevar snowsrc="URL SNOW ANDA"// Configure below to change number of snow to rendervar no = 10;// Configure whether snow should disappear after x seconds (0=never):var hidesnowtime = 0;// Configure how much snow should drop down before fading ("windowheight" or "pageheight")var snowdistance = "windowheight";///////////Stop Config//////////////////////////////////var ie4up = (document.all) ? 1 : 0;var ns6up = (document.getElementById&&!document.all) ? 1 : 0;function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}var dx, xp, yp; // coordinate and position variablesvar am, stx, sty; // amplitude and step variablesvar i, doc_width = 800, doc_height = 600;if (ns6up) {doc_width = self.innerWidth;doc_height = self.innerHeight;} else if (ie4up) {doc_width = iecompattest().clientWidth;doc_height = iecompattest().clientHeight;}dx = new Array();xp = new Array();yp = new Array();am = new Array();stx = new Array();sty = new Array();snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrcfor (i = 0; i < no; ++ i) {dx[i] = 0; // set coordinate variablesxp[i] = Math.random()*(doc_width-50); // set position variablesyp[i] = Math.random()*doc_height;am[i] = Math.random()*20; // set amplitude variablesstx[i] = 0.02 + Math.random()/10; // set step variablessty[i] = 0.7 + Math.random(); // set step variablesif (ie4up||ns6up) {if (i == 0) {document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");} else {document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");}}}function snowIE_NS6() { // IE and NS6 main animation functiondoc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;for (i = 0; i < no; ++ i) { // iterate for every dotyp[i] += sty[i];if (yp[i] > doc_height-50) {xp[i] = Math.random()*(doc_width-am[i]-30);yp[i] = 0;stx[i] = 0.02 + Math.random()/10;sty[i] = 0.7 + Math.random();}dx[i] += stx[i];document.getElementById("dot"+i).style.top=yp[i]+"px";document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";}snowtimer=setTimeout("snowIE_NS6()", 10);}function hidesnow(){if (window.snowtimer) clearTimeout(snowtimer)for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"}if (ie4up||ns6up){snowIE_NS6();if (hidesnowtime>0)setTimeout("hidesnow()", hidesnowtime*1000)}</script>
Tulisan merah itu boleh gantikan snow-snow dibawah ini.
white
http://i13.servimg.com/u/f13/11/52/70/02/snowba10.png
pink
http://i1104.photobucket.com/albums/h329/anisdiyana97/pink1.png
orange
http://i1104.photobucket.com/albums/h329/anisdiyana97/orange1.png
grey
http://i1104.photobucket.com/albums/h329/anisdiyana97/grey1.png
green
http://i1104.photobucket.com/albums/h329/anisdiyana97/green1.png
chocolate
http://i1104.photobucket.com/albums/h329/anisdiyana97/chocolate1.png
blue
http://i1104.photobucket.com/albums/h329/anisdiyana97/blue1.png
black
http://i1104.photobucket.com/albums/h329/anisdiyana97/black1.png
That's all. Boleh save kalau dah siap.
luahan hati daripada
diaERRYna.com
tutorial change highlight colour
at
1:52 AM
1.Dashbord-->Design-->Edit Html
2.Search code bawah ini
a:link {
::selection {background: #ffffff; /* Safari */color: #000000;}::-moz-selection {background: #ffffff; /* Firefox */color: #000000;}
- Nampak tak ada yang saya bold kat code atas tu? Code colour tu korang ubahlah ikut suka hati korang ya!
4.Preview dan baru save!
luahan hati daripada
diaERRYna.com
Tutorial jquery tab menu accordion
at
1:50 AM
hi hi hi !!
dah lame tak buat tuto kan ?
hari nie aku nak buat
Colour oren tu untuk tajuk tab menu korang dan colour merah tu untuk korang masukkan text atau kod.
siap !!!
dah lame tak buat tuto kan ?
hari nie aku nak buat
Tutorial jquery tab menu accordion
let's start ! ^^
step one ~~
korang Pergi dashbord-->Design-->Add a gadget-->Html javascript
2. Copy dan paste code bawah ini kat html javascript.
<style type="text/css">h5 {font-family: trebuchet-ms, arial, tahoma;font-size: 13px;padding: 0 0 1em;font-weight:bold;color: #ffffff;}.msg_list {list-style: none;margin: 0;padding: 0;width: 100%;}.msg_head {padding: 5px 10px;cursor: pointer;position: relative;background-color:#FAAFBA;margin:1px;}.msg_body {padding: 5px 10px 15px;background-color:#FFFFFF;}</style><script type="text/javascript" src="https://sites.google.com/site/jquery01/tabmenuaccordion.js"></script><script type="text/javascript">$(document).ready(function(){//hide the all of the element with class msg_body$(".msg_body").hide();//slides the element with class "msg_body" when paragraph with class "msg_head" is clicked$("#firstpane h5.msg_head").click(function(){$(this).next("div.msg_body").slideToggle(700).siblings("div.msg_body").slideUp("slow");});//slides the element with class "msg_body" when mouse is over the paragraph$("#secondpane h5.msg_head").mouseover(function(){$(this).next("div.msg_body").slideDown("slow").siblings("div.msg_body").slideUp("slow");});});</script><div class="msg_list" id="secondpane"><h5 class="msg_head">Tajuk 1</h5><div class="msg_body">Masukkan kod /text disini</div><h5 class="msg_head">Tajuk 2</h5><div class="msg_body">Masukkan kod/text disini</div></div>
Title font colour : #ffffff
Background title box : #FAAFBA
Background accordion box : #FFFFFF
siap !!!
luahan hati daripada
diaERRYna.com
normal kea ?
at
8:06 PM
bila time sekolah sebok nak cuti
bila dah cuti sebok nak sekolah pula (!)
normal kan ?
seorang pelajar merasakan mcm tuh ? =.='
bila dah cuti sebok nak sekolah pula (!)
normal kan ?
seorang pelajar merasakan mcm tuh ? =.='
luahan hati daripada
diaERRYna.com
Subscribe to:
Posts (Atom)
Tuesday, June 7
service edit blog ^^
okay tema minggu yang yana akan edit ialah tema
bacground : cute and adorable
colour : pink,blue,green,purple and colourful
minggu ni minggu special (sebab cuti sekolah)
yana akan edit-kan sekali :
*header
bacground : cute and adorable
colour : pink,blue,green,purple and colourful
minggu ni minggu special (sebab cuti sekolah)
yana akan edit-kan sekali :
*header
Monday, June 6
boring kodd
serious boring gilaaa .
teramat boring !!!
so aku ade idea untuk buat service edit blog .
padahal dah lame aku edit blog org
blog nih yg aku pernah edit-kan
(tapi die dah tukar background)
so sesape nak suroh aku edit blog korang ,,,
follow aku n tengok syarat2 yg tertera di dalam gambar ini
cute star follow cursor
haha yg ke enam tuto yg aku buat hari nie :D
jom start !!
1. Dari dashboard > design > add a gadget > HTML/javasrcript [link]
2. Copy code di bawah mengikut kesukaan anda dan paste ke dalam HTML/javascript
i) Following star warna warni
ii) Following star warna biru
iii) Following star warna purple
jom start !!
1. Dari dashboard > design > add a gadget > HTML/javasrcript [link]
2. Copy code di bawah mengikut kesukaan anda dan paste ke dalam HTML/javascript
i) Following star warna warni
<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/rainbows.js"></script>
ii) Following star warna biru
<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/blues.js"></script>
iii) Following star warna purple
<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/purples.js"></script>
perkataan follow cursor
Tutorial untuk buat perkataan bergerak mengikut cursor adalah seperti berikut.
1. Dari dashboard > design > add a gadget > HTML/javascript
2. Copy dan paste kod berikut dalam html/javascript yang anda buka.
Note: Tukar 'Perkataan anda disini' dengan apa yang anda mahu.
3. Save dan lihat hasilnya.:)
Bagi yang ingin sedikit ubahsuai, boleh rujuk beberapa perkara berikut.
1.Tukar style
font-style: normal; (pilihan lain italic, oblique, atau inherit)
2. Tukar warna perkataan
color: #FF0080; (untuk code warna, rujuk entri ini HTML color code
3. Tukar jenis tulisan
font-family: 'impact'; (pelbagai lagi bentuk perkataan yang ada, boleh rujuk dibawah)
1. Dari dashboard > design > add a gadget > HTML/javascript
2. Copy dan paste kod berikut dalam html/javascript yang anda buka.
<style type="text/css">
/* Circle Text Styles */
#outerCircleText {
font-style: normal;
font-weight: normal;
font-family: 'comic sans';
color: #FF0080;
position: absolute;top: 0;left: 0;z-index: 3000;cursor: default;}
#outerCircleText div {position: relative;}
#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}
</style>
<script type="text/javascript">
;(function(){
var msg = "Perkataan anda di sini";
var size = 24;
var circleY = 0.75; var circleX = 2;
var letter_spacing = 5;
var diameter = 10;
var rotation = 0.4;
var speed = 0.2;
if (!window.addEventListener && !window.attachEvent || !document.createElement) return;
msg = msg.split('');
var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20,
ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [],
o = document.createElement('div'), oi = document.createElement('div'),
b = document.compatMode && document.compatMode != "BackCompat"? document.documentElement : document.body,
mouse = function(e){
e = e || window.event;
ymouse = !isNaN(e.pageY)? e.pageY : e.clientY; // y-position
xmouse = !isNaN(e.pageX)? e.pageX : e.clientX; // x-position
},
makecircle = function(){ // rotation/positioning
if(init.nopy){
o.style.top = (b || document.body).scrollTop + 'px';
o.style.left = (b || document.body).scrollLeft + 'px';
};
currStep -= rotation;
for (var d, i = n; i > -1; --i){ // makes the circle
d = document.getElementById('iemsg' + i).style;
d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px';
d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px';
};
},
drag = function(){ // makes the resistance
y[0] = Y[0] += (ymouse - Y[0]) * speed;
x[0] = X[0] += (xmouse - 20 - X[0]) * speed;
for (var i = n; i > 0; --i){
y[i] = Y[i] += (y[i-1] - Y[i]) * speed;
x[i] = X[i] += (x[i-1] - X[i]) * speed;
};
makecircle();
},
init = function(){ // appends message divs, & sets initial values for positioning arrays
if(!isNaN(window.pageYOffset)){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
} else init.nopy = true;
for (var d, i = n; i > -1; --i){
d = document.createElement('div'); d.id = 'iemsg' + i;
d.style.height = d.style.width = a + 'px';
d.appendChild(document.createTextNode(msg[i]));
oi.appendChild(d); y[i] = x[i] = Y[i] = X[i] = 0;
};
o.appendChild(oi); document.body.appendChild(o);
setInterval(drag, 25);
},
ascroll = function(){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
window.removeEventListener('scroll', ascroll, false);
};
o.id = 'outerCircleText'; o.style.fontSize = size + 'px';
if (window.addEventListener){
window.addEventListener('load', init, false);
document.addEventListener('mouseover', mouse, false);
document.addEventListener('mousemove', mouse, false);
if (/Apple/.test(navigator.vendor))
window.addEventListener('scroll', ascroll, false);
}
else if (window.attachEvent){
window.attachEvent('onload', init);
document.attachEvent('onmousemove', mouse);
};
})();
</script>
Note: Tukar 'Perkataan anda disini' dengan apa yang anda mahu.
3. Save dan lihat hasilnya.:)
Bagi yang ingin sedikit ubahsuai, boleh rujuk beberapa perkara berikut.
1.Tukar style
font-style: normal; (pilihan lain italic, oblique, atau inherit)
2. Tukar warna perkataan
color: #FF0080; (untuk code warna, rujuk entri ini HTML color code
3. Tukar jenis tulisan
font-family: 'impact'; (pelbagai lagi bentuk perkataan yang ada, boleh rujuk dibawah)
tutorial gambar magic ! :D
tuto ke 5 yg aku buat hari ni (haha)
jom start !
1. Gunakan kod di bawah, tukarkan link yang anda mahu, url gambar pertama dan url gambar kedua.
Contoh untuk kod untuk demo di atas adalah
2. Anda boleh post di dalam entri bloganda seperti biasa ataupun boleh letakkan di sidebar.
Senang dan mudah bukan.?.:)
Nota: Jika mahu gambar sahaja tanpa link, kodnya seperti dibawah.
Selamat mencuba.:)
jom start !
1. Gunakan kod di bawah, tukarkan link yang anda mahu, url gambar pertama dan url gambar kedua.
<a href="Target link" target="_blank"><img src="URL gambar pertama" onmouseover="this.src='URL gambar kedua'" onmouseout="this.src='URL gambar pertama'" /></a>
Contoh untuk kod untuk demo di atas adalah
<a href="http://ohbest.blogspot.com" target="_blank"><img src="http://i.imgur.com/Z5B1M.png" onmouseover="this.src='http://i.imgur.com/PlE1J.jpg'" onmouseout="this.src='http://i.imgur.com/Z5B1M.png'" /></a>
2. Anda boleh post di dalam entri bloganda seperti biasa ataupun boleh letakkan di sidebar.
Senang dan mudah bukan.?.:)
Nota: Jika mahu gambar sahaja tanpa link, kodnya seperti dibawah.
<img src="URL gambar pertama" onmouseover="this.src='URL gambar kedua'" onmouseout="this.src='URL gambar pertama'" />
Selamat mencuba.:)
tutorial snow effect version 2
Let's start the tuto! Caranya begini :
1. First, sila buka dashbord-->Design-->Add a gadget-->Html/Javascript
2. Copy dan paste code ini di Html/Javascript
<script type="text/javascript">/******************************************* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code* Last updated Nov 9th, 05' by DD. This notice must stay intact for use******************************************///Configure below to change URL path to the snow imagevar snowsrc="URL SNOW ANDA"// Configure below to change number of snow to rendervar no = 10;// Configure whether snow should disappear after x seconds (0=never):var hidesnowtime = 0;// Configure how much snow should drop down before fading ("windowheight" or "pageheight")var snowdistance = "windowheight";///////////Stop Config//////////////////////////////////var ie4up = (document.all) ? 1 : 0;var ns6up = (document.getElementById&&!document.all) ? 1 : 0;function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}var dx, xp, yp; // coordinate and position variablesvar am, stx, sty; // amplitude and step variablesvar i, doc_width = 800, doc_height = 600;if (ns6up) {doc_width = self.innerWidth;doc_height = self.innerHeight;} else if (ie4up) {doc_width = iecompattest().clientWidth;doc_height = iecompattest().clientHeight;}dx = new Array();xp = new Array();yp = new Array();am = new Array();stx = new Array();sty = new Array();snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrcfor (i = 0; i < no; ++ i) {dx[i] = 0; // set coordinate variablesxp[i] = Math.random()*(doc_width-50); // set position variablesyp[i] = Math.random()*doc_height;am[i] = Math.random()*20; // set amplitude variablesstx[i] = 0.02 + Math.random()/10; // set step variablessty[i] = 0.7 + Math.random(); // set step variablesif (ie4up||ns6up) {if (i == 0) {document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");} else {document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");}}}function snowIE_NS6() { // IE and NS6 main animation functiondoc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;for (i = 0; i < no; ++ i) { // iterate for every dotyp[i] += sty[i];if (yp[i] > doc_height-50) {xp[i] = Math.random()*(doc_width-am[i]-30);yp[i] = 0;stx[i] = 0.02 + Math.random()/10;sty[i] = 0.7 + Math.random();}dx[i] += stx[i];document.getElementById("dot"+i).style.top=yp[i]+"px";document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";}snowtimer=setTimeout("snowIE_NS6()", 10);}function hidesnow(){if (window.snowtimer) clearTimeout(snowtimer)for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"}if (ie4up||ns6up){snowIE_NS6();if (hidesnowtime>0)setTimeout("hidesnow()", hidesnowtime*1000)}</script>
Tulisan merah itu boleh gantikan snow-snow dibawah ini.
white
http://i13.servimg.com/u/f13/11/52/70/02/snowba10.png
pink
http://i1104.photobucket.com/albums/h329/anisdiyana97/pink1.png
orange
http://i1104.photobucket.com/albums/h329/anisdiyana97/orange1.png
grey
http://i1104.photobucket.com/albums/h329/anisdiyana97/grey1.png
green
http://i1104.photobucket.com/albums/h329/anisdiyana97/green1.png
chocolate
http://i1104.photobucket.com/albums/h329/anisdiyana97/chocolate1.png
blue
http://i1104.photobucket.com/albums/h329/anisdiyana97/blue1.png
black
http://i1104.photobucket.com/albums/h329/anisdiyana97/black1.png
That's all. Boleh save kalau dah siap.
tutorial change highlight colour
1.Dashbord-->Design-->Edit Html
2.Search code bawah ini
a:link {
::selection {background: #ffffff; /* Safari */color: #000000;}::-moz-selection {background: #ffffff; /* Firefox */color: #000000;}
- Nampak tak ada yang saya bold kat code atas tu? Code colour tu korang ubahlah ikut suka hati korang ya!
4.Preview dan baru save!
Tutorial jquery tab menu accordion
hi hi hi !!
dah lame tak buat tuto kan ?
hari nie aku nak buat
Colour oren tu untuk tajuk tab menu korang dan colour merah tu untuk korang masukkan text atau kod.
siap !!!
dah lame tak buat tuto kan ?
hari nie aku nak buat
Tutorial jquery tab menu accordion
let's start ! ^^
step one ~~
korang Pergi dashbord-->Design-->Add a gadget-->Html javascript
2. Copy dan paste code bawah ini kat html javascript.
<style type="text/css">h5 {font-family: trebuchet-ms, arial, tahoma;font-size: 13px;padding: 0 0 1em;font-weight:bold;color: #ffffff;}.msg_list {list-style: none;margin: 0;padding: 0;width: 100%;}.msg_head {padding: 5px 10px;cursor: pointer;position: relative;background-color:#FAAFBA;margin:1px;}.msg_body {padding: 5px 10px 15px;background-color:#FFFFFF;}</style><script type="text/javascript" src="https://sites.google.com/site/jquery01/tabmenuaccordion.js"></script><script type="text/javascript">$(document).ready(function(){//hide the all of the element with class msg_body$(".msg_body").hide();//slides the element with class "msg_body" when paragraph with class "msg_head" is clicked$("#firstpane h5.msg_head").click(function(){$(this).next("div.msg_body").slideToggle(700).siblings("div.msg_body").slideUp("slow");});//slides the element with class "msg_body" when mouse is over the paragraph$("#secondpane h5.msg_head").mouseover(function(){$(this).next("div.msg_body").slideDown("slow").siblings("div.msg_body").slideUp("slow");});});</script><div class="msg_list" id="secondpane"><h5 class="msg_head">Tajuk 1</h5><div class="msg_body">Masukkan kod /text disini</div><h5 class="msg_head">Tajuk 2</h5><div class="msg_body">Masukkan kod/text disini</div></div>
Title font colour : #ffffff
Background title box : #FAAFBA
Background accordion box : #FFFFFF
siap !!!
Saturday, June 4
normal kea ?
bila time sekolah sebok nak cuti
bila dah cuti sebok nak sekolah pula (!)
normal kan ?
seorang pelajar merasakan mcm tuh ? =.='
bila dah cuti sebok nak sekolah pula (!)
normal kan ?
seorang pelajar merasakan mcm tuh ? =.='
Subscribe to:
Posts (Atom)