25 September 2011

tutorial- centerkan post title/ sidebar title


Untuk centerkan ayat kat post/sidebar title korang tu, care die macam ni.

1.design-edit html-tick expand widget
(ctrl+f untuk mudah search)

POST TITLE
copy code text-align:center; bawah  h3.post-title { atau  .post h3 {  atau yg berkaitan dgn h3

SIDEBAR TITLE
copy code text-align:center; bawah h2 { 



You may leave your comment :)

22 September 2011

21 September 2011

Tutorial : Buang "subscribe to: posts (atom)"



subscribe to: posts (atom) selalunye ade kat bawah blog korang, takde fungsi pon bende ni . nyemak ade la . .so untuk buang .

1.design-template-edit HTML 
2.ctrl+f and search  <b:include name='feedLinks'/>
3.delete code tu
4.Preview dan save.





You may leave your comment :)

tutorial- jquery top button


Top button sesuai untuk blogger yang suka tulis entri panjang-panjang. Lagi-lagi yang suka letak main post belambak-lambak. So, visitor takde la nak susah payah scroll blog korang ke atas balik.

1.Dashboard - Layout - Add a gadget
2.Copy&Paste code dibawah dan SAVE.



<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script><script type="text/javascript" >/***********************************************
* Scroll To Top Control script- &#169; Dynamic Drive DHTML code library(www.dynamicdrive.com)* Modified byLyssaFaizureen***********************************************/var scrolltotop={
setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
controlHTML: '<img src="URL TOP BUTTON" />',
controlattrs: {offsetx:5, offsety:5},
anchorkeyword: '#top',
state: {isvisible:false, shouldvisible:false},
scrollup:function(){
if (!this.cssfixedsupport)
this.$control.css({opacity:0})
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
if (typeof dest=="string" && jQuery('#'+dest).length==1)
dest=jQuery('#'+dest).offset().top
else
dest=0
this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
},
keepfixed:function(){
var $window=jQuery(window)
var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
this.$control.css({left:controlx+'px', top:controly+'px'})
},
togglecontrol:function(){
var scrolltop=jQuery(window).scrollTop()
if (!this.cssfixedsupport)
this.keepfixed()
this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
if (this.state.shouldvisible && !this.state.isvisible){
this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
this.state.isvisible=true
}
else if (this.state.shouldvisible==false && this.state.isvisible){
this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
this.state.isvisible=false
}
},
init:function(){
jQuery(document).ready(function($){
var mainobj=scrolltotop
var iebrws=document.all
mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest
mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
.css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
.attr({title:'Scroll Back to Top'})
.click(function(){mainobj.scrollup(); return false})
.appendTo('body')
if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='')
mainobj.$control.css({width:mainobj.$control.width()})
mainobj.togglecontrol()
$('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
mainobj.scrollup()
return false
})
$(window).bind('scroll resize', function(e){
mainobj.togglecontrol()
})
})
}
}
scrolltotop.init()
</script>

 

                                                                            
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj77eDZwiEYizCMO5UQkilan8LRDes1z09BJawMrX3OwnOMDlfzAZIIVHeZzNS1AmjE7-fykwtKt1pqHDA0Godnlkfbp28EYpqZtFzT3jni3GiBUMqDPG390f8QogzBNEBQfiiiyXX69Llc/s1600/up.png
Nak top button lagi ? [ KLIK ME ]



You may leave your comment :)

tutorial- 'link'kan gambar


korang biase masuk contest tapi tak tau nak linkkan gambar/banner ? so macam ni care die.

1.new post- upload gambar - click kat gambar yang korang upload tu .

Your words have no meaning

2.tekan link


3.Isikan link korang-klik OK-publish.





You may leave your comment :)