yup.kita bertutorial lagi di pagi isnin yg indah ini...acik sebenarnya nak menjawab dua soalan (soalan ker permintaan tu,konpius acik..xkisah la)
cik fathin tu tanya,cam ne nak wat blog cam acik nie?..ala..soalan cepu tak berapa cemas tu..cam ne ek? susah la nak jelaskan sekaligus dlm 1 entry..sbb acik renovate blog nie bukan sekaligus,kena wat sikit2..lgpun blog acik nie tak la kiut mana pun,cantik apatah lagi..blog acik nie biasa2 aje la cik fathin..insyaALLAH acik boleh ajar..lau ada soalan,boleh tanya terus kat fb acik..lagipun acik ada wat tutorial kan,boleh la di jadikan panduan sikit2 ..insyaALLAH..
dan kepada akk chempaka Sari...nak wat shoutbox cam nie yea..ok,acik gtau cara2 dia yea..sebenarnya acik pun baru jumpa code2 dia sabtu lepas..nak share,tak sempat..
ok..seperti biasa..
Dashboard => Design => Page Element => Add A gadget => html/javascript
pas tu korang copy code ini....
<div style='display:scroll; position:fixed; top:100px; right:-0px;'>dah copy code tu,paste la kat petak content..petak title tu biarlah kosong..tak akan menjejaskan blog korang pun..hehe..
<!-- Start Ajax Popup Shoutbox by -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js%22%3E%3C/script>
<script>
$(document).ready(function() {
//select all the a tag with name equal to modal
$('a[name=modal]').click(function(e) {
//Cancel the link behavior
e.preventDefault();
//Get the A tag
var id = $(this).attr('href');
//Get the screen height and width
var maskHeight = $(document).height();
var maskWidth = $(window).width();
//Set heigth and width to mask to fill up the whole screen
$('#mask').css({'width':maskWidth,'height':maskHeight});
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
//Set the popup window to center
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
//transition effect
$(id).fadeIn(2000);
});
//if close button is clicked
$('.window .close').click(function (e) {
//Cancel the link behavior
e.preventDefault();
$('#mask').hide();
$('.window').hide();
});
//if mask is clicked
$('#mask').click(function () {
$(this).hide();
$('.window').hide();
});
});
</script>
<style>
img { border: none; }
#mask {
position:center;
left:0;
top:0;
z-index:9000;
background-color:#000;
display:none;
}
#boxes .window {
position:fixed;
left:0;
top:0;
width:271px;
height:480px;
display:none;
z-index:9999;
padding:20px;
}
#boxes #wanhazelshoutbox {
background:url(Url background jika korang nak letak background..lau xnak tak di paksa) no-repeat 0 0 transparent;
width:271px;
height:480px;
padding:56px 0 20px 5px;
}
#closesb {
padding:2px 0 0 0;
}
#author {
padding:8px 0 0 168px;
}
</style>
<center> <a href="#wanhazelshoutbox" name="modal"><img src="Url shoutbox icon" border="0" /></a> </center>
<div id="boxes">
<!-- Start Shoutbox -->
<div id="wanhazelshoutbox" class="window">
<!-- Begin ShoutMix - http://www.shoutmix.com/ --><center>
code shoutbox korang
</center>
<!-- End ShoutMix -->
<div id="author">
</div><div id="closesb"><center><input type="button" value="Boleh tolong close" class="close" /><center>
</center></center></div></div><!-- End of Ajax Shoutbox -->
<!-- Mask to cover the whole screen -->
<div id="mask"></div></div>
<!-- End of Ajax Popup Shoutbox--></div>
oye,tulisan kaler merah tu,korang gantilah dengan url background dan url icon shoutbox yg korang berkenan...dan kaler hijau tu,korang ganti la dengan ayat korang sendiri,coz tu button utk tutup shoutbox korang nanti...
oya,klo korang malas nak cari url shoutbox icon,nie acik ada carikan utk korang,korang boleh la copy url dia utk shoutbox korang..sila klik SINI..selamat mencuba...
ehhh...terlupa..lau nak cari background utk shoutbox,boleh cari kat SINI
credit to : Wan hazel dan adk faqihah .
alhamdulillah..








{ 12 0 komen..Anda bila lagi?... anda ingin tambah apa2?sila klik post a comment di bawah.. }
ACIK....(code shoutbox korang) tu mcam mne cik?? x pham r...yg wrna merah tu..
Acik , Yg BOLEH TOLONG CLOSE TUH KENE COPY JUGAK KE ? KE APEBENDE TUH?
x jadi pon..penim da
nk tanya,knp sya buat xjadi eah ?
Acik mana nak cari icon ngan image url ?
@MSN..tu code utk shoutbox..kena tengok kat web shotbox mana yg korang daftar..
@ arety... jangan la pening2...mesti boleh punya ma...u can do it..chayo2...(sebenarnya acik pun pening nak jelaskan ca ne..adeh..)
@shamomey...tu lau nak copy terpulang la..klau nak guna ayat lain,delete je..pas tu ganti dengan ayat sendiri...
@syahirah...tu baru soalan cepu emas..acik pun xtau kenapa tak jadi..mungkin ada kod yang salah...
@ina..nak cari icon? search je kat google..url pula,pas jumpa icon ti akan ada 1 http:// yang panjang sgt..tu la url imej atau icon..
tak jadi pun acik..
penat da cube..
yang (code shoutbox korang) 2..nak carikk kat manaa ??
xpahamm larhh..
salam acik ita
saye nk tnye
cm ner nak wat cbox cam acik
please acik ita
TOLONGLAH SAYE!!!!
cemburu nie!!!
salam acik ita
saye ade 1 soalan
acik ita pegi ke mane ambik template baby blue 2
ala...template acik ita yg dulu la...
please acik ita...please!!!!
SALAM . Maaf , just nk ckp yg tutor ni memang x menjadi . Amal dah mang buat 1001 kali dah tutor ni . HOPE acik pertimbangkan hal ni . Thanks
:)
@AmalAB...tak menjadi yea..sila abaikan jer tuto nie..mungkin ada kod2 yang dah lapuk...eh? ntah la..acik pn tak paham nape..dulu acik buat jadi..ntah apa silap kat kod yg nie...pening gak acik...huhu..
Post a Comment