Hari ini koz nak berkongsi dengan korang cara-cara nak set button readmore didalam blog korang secara auto,sebagai contoh korang leh tengok pada setiap post blog koz ini...
okey langkah-langkahnya seperti berikut:-
Langkah 1
Log in blog > Dashboard> Layout>Edit HTML. Dan kick pada kotak Expand Widget Templates...
Langkah 2
Tekan Ctrl+ F pada keyboard . Seterusnya, copy paste code
pada ruangan Find dan tekan Enter...
</head>
Langkah 3
Kemudian copy code di bawah dan paste sebelum code
Copy code di bawah ini
</head>
Copy code di bawah ini
<script type='text/javascript'>
var thumbnail_mode = "float" ;
summary_noimg = 350;
summary_img = 450;
img_thumb_height = 140;
img_thumb_width = 140;
</script>
<script type='text/javascript'>
//<![CDATA[
/*
*/
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = summary_noimg;
if(img.length>=1) {
imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
summ = summary_img;
}
var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
div.innerHTML = summary;
}
//]]>
</script>
Langkah 4
Tekan Ctrl+ F pada keyboard kemudian copy paste code di bawah pada ruang Find dan tekan Enter.
Langkah 5
Copy dan paste code di bawah (gantikan) pada code tadi (Langkah 4)
Tekan Ctrl+ F pada keyboard kemudian copy paste code di bawah
<data:post.body/>
Langkah 5
Copy dan paste code di bawah (gantikan) pada code tadi (Langkah 4)
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
<span class='rmlink' style='float:right'><a expr:href='data:post.url'><img src='http://img709.imageshack.us/img709/7056/readmorez.png'/></a></span>
</b:if>
<b:if cond='data:blog.pageType == "item"'><data:post.body/></b:if>
Kemudian save dan tengoklah hasilnya...
camat mencuba...
Comments:54
tak paham lah.. dr langkah 2 sampai 5 i tak paham.. i tau nak carik code gune ctrl+f tu tapi nak carik code ape dan nak paste kan code yg awk kasi tu kat mane?
????????????????????????
koz,
nk kne copy code mne??
@♥ifa tasya♥Copy code yang panjang tu seblum code head^^
mahu try,tapi takot mengganggu pembacaan blogger lain...huhu...btw nice en3..:)
saya x faham laa 4 and 5.. can anybody help?... :'(
@Ti Anne Mohd Yassinmaap ade kerosakkan code ...skrg dh okey^^
sy dah buat..jd...best sbb dia otometik..tp klu nak tukar read more tu jd bentuk lain cmne pulak..tq..
nak tanye, camne nak buang kotak tepi yg mengelilingi icon tu ek. reply me asap pls..
nadiah daud@^^kotak tu ada di sebabkan bukan mslh skrip yang koz kasi tpi mmg setting templet nadiah daud macam tu
alaaa... x leh buang ke..x cantek laa ade bende tuh.. huhu...
nadiah daud @ nak buang boleh tpi kne edit la bhgian HTML...koz x tau kat part mane code bingkai tu...sbb lain templet lain codenya...
sangat berguna..tq dak nakal
suka..suka..suka..
berjaya!! penerangan budak nalal memang best!
koz, ade masalah la koz, kuar bende ni
Read more: Tutorial...(Auto Readmore Di setiap Post) | .:Budak Nakal Blogspot:. Under Creative Commons License: Attribution
kat mane nak buang ea??da cari xjumpe pulak
yezz!!da dpt!:)) thanx koz, nati ajar cmnr nak kecikkan banner koz 2 plak ea
auto readmore memang akan effect kat page gak ea ? de care tak nak buang readmore kat page ?
cube tengok page saye .
coyotitoAIMD
yeah2..dah dapat TQ En KOz :)
x phm!! x de yg mudah cket ker?
arigatou..
dah berjaya buat..hehe
waa..da lme cri cre nk pasg widget 'Read More' ni. tp sume tak jadi.
thanx sgt2 kt Kox!
hihihi.
akhirnye..terharu2..:b:
koz,cmne kalo nk buang readmore lak ek?
he3 tys..sgt berguna...dh jadi...t.q! ~_^*
koz. kenapa daus tak jumpe .. dah tekan ctrl + F tapi tak jumpe
tv ye?best...nak tnye camne nk wat box untuk read moer yang lain?hehe
Samasa blogspot dan wordpress memang dah ada sedia terbina readmore menu. Gunajer :-) Kalau guna kod mesti ada kemahiran html kod. Kalau newbie digalakkan guna menu readmore
terima kasih , Dinaz baru pelajarinya dan berjaya...tq juga pada pd NurulChumel yg perkenalkan Dinaz ttg tutorial ni..
http://nurulchumel.blogspot.com/2010/10/tutorial-page.html
thanks...dh leh wat tp cne klu nk tuka design button 2...??
thnx...bgos la tutorial ny...sy dh lama dri toturial nk wt bnda ny tp asyik xjdi jerk...errr, tp an xde ke cara nk tukar kaler tu..pelik la, telmpate tema purple tp read more tu kaler ijau..buruk sehh, cne ea nk tkar??
tak menjadi la
serius tk jd?
plz help me .. blh tlg wt kn tk?
thanks...nice tutorial
kat Jia punye html takde pun :f:
salam..knpe kat atas blog tu ade Read more budak nakal sume2 tu?nak buang boleh?
MANTAP! Dah berjaya.. Terima kasih Budak Nakal yang baik hati..! Ahaks! XD
salam...mcm mana akak nak buang budak nakal bla.... kat atas page akak???? huhuhu
Akk nak minta tlg buatkan tutorial nak refer sesuatu pada post2 yng lepas contohnya ,nak lihat resepi (klik Disini) macammana nak buat ye...tak yah lah nak copy balik..
salam..nk tnye,,
sye pnye icon readmore tu ad 3 dkt every post
mcm nth bole ad 3 tu.
bole tlg x mcm mne nk buang icons tu ?
sbb klo sye gne auto readmore, pages kt blog sye x bole bce fully..
hrp bole tlg dak nakal
tenx....
da ley da... tp klu nk tuka box read more tu jjuz jd tulisan je or kaler lain mcm mane pulak ye?
jadi.. tp sarah tukar icon read more tu.
macam mana nie... read more ada kat pages jugak.. susah la, dah la xboleh bukak read morenya.
Maisarah Azmi @ folow sebaik2nya^^ pasti ok...kalau x jadi kemungkinan html anda hadapi masalah...
I all the time used to study piece of writing in news papers but now as I am a user of net
so from now I am using net for content, thanks to web.
Feel free to visit my weblog - acne cure
You might also have to rest your tendon for a specific time period additionally to wearing shoe lifts all through the time your tendon is healing
http://www.sporelab.com/forums/profile.php?mode=viewprofile&u=22113&sid=bcded4de9b7ac21ac69b428e3187e631
Write more, thats all I have to say. Literally, it seems as
though you relied on the video to make your point.
You obviously know what youre talking about, why
throw away your intelligence on just posting videos to your site when you could
be giving us something informative to read?
Also visit my blog :: germany
I loved as much as you will receive carried out right here.
The sketch is attractive, your authored material stylish.
nonetheless, you command get bought an impatience over that you wish be delivering the
following. unwell unquestionably come more formerly again as exactly the same nearly very often inside
case you shield this increase.
My web-site :: vakantiewoningen frankrijk huren
2015-12-26keyun
pandora jewelry
ray-ban sunglasses
nike air max uk
oakley sunglasses sale
oakley sunglasses
coach factory outlet
coach outlet store online
christian louboutin shoes
coach clearance
michael kors outlet clearance
north face jackets
ugg clearance outlet
coach factory outlet online
louis vuitton handbags
retro 11
oakley sunglasses
gucci outlet
nike huarache white
ed hardy outlet
louis vuitton
fake oakley sunglasses
uggs on sale
canada goose outlet
louis vuitton handbags
uggs outlet
uggs on sale
ralph lauren outlet
christian louboutin
michael kors outlet online
instyler
ugg boots sale
tory burch outlet
ugg boots sale
coach outlet
oakley store
louis vuitton outlet
kids lebron shoes
ugg boots sale
michael kors
oakley outlet
Pengobatan Kelenjar Tiroid
Cara Mengobati Penyakit Ambeien
Pengobatan Penyakit Sinusitis
Pengobatan Varises dengan Bahan Alami
Obat Penyakit Miom dan Kista
Cara Mengobati Penyakit Kencing Nanah
This is a very great post and the way you express your all post details that is too good. Thanks for sharing with us this useful post :
cara mengatasi sembelit pada ibu hamil
obat penurun leukosit tinggi
cara mengobati kanker usus besar
cara mengobati cacar air dengan cepat
cara pemesanan qnc jelly gamat
cara mengobati telinga berdengung
cara menghilangkan jamur candida
Video Bokep Barat
Bandar66 Poker Online
Agen Poker Online
Agen Bandar66 Online
wow
sangat keren
french bulldog puppies for sale
Post a Comment
Komehlah dan klik G+ di atas sekali okey^^