~!✿BLOG LAM A'AINI✿!~: float shoutbox

float shoutbox



Assalamualaikum 
lama tak update tutorial . tutorial kali ini adalah float shoutbox

Langkah 1 
pergi ke Dashbord  > Disign > Add A Gadget > HTML/JavaScript


Langkah 2 
Copy code di bawah ini paste kan dalam HTML/JavaScript




<style type='text/css'>
a.linkopacity img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;}


a.linkopacity:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0; }
</style>


<!-- Start Ajax Popup Shoutbox by -->


<script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js"></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:absolute;


left:0;


top:0;


z-index:9000;


background-color:#000;


display:none;


}






#boxes .window {


position:fixed;


left:0;


top:0;


width:440px;


height:200px;


display:none;


z-index:9999;


padding:80px;


}


#boxes #OhSemut {


background:url( BACKGROUND SHOUT ANDA
) no-repeat 0 0 transparent;


width:800px;


height:460px;


padding:190px 0 20px 90px;


}


#closesb {


padding:2px 0 0 0;


}


#author {


padding:8px 0 0 100px;


}


</style>


<ul><center> <a href="#OhSemut" name="modal">
<div style='display:scroll; position:fixed; top:53px; right:-10px;'>
<img class= width="140" height="140"src="http://i1224.photobucket.com/albums/ee367/wAAinin/Untitled-1-1.png
" border="0" /></div></a> </center> </ul>

<div id="boxes">

<!-- Start Shoutbox -->

<div id="OhSemut" class="window">

<!-- Begin ShoutMix - http://www.shoutmix.com -->


CODE SHOUT >> width="500" height="285"

<!-- End ShoutMix -->



<!-- End ShoutMix -->
<center>
<div id="author">

<center></center></div><div id="closesb"><input type="button" value="TUTUP/CLOSE" class="close" />

</div></center></div></div><!-- End of Ajax Shoutbox -->

<!-- Mask to cover the whole screen -->

<div id="mask"></div>

<!-- End of Ajax Popup Shoutbox-->





  • warna pink boleh tukar dengan URL icon anda sendiri
  • jangan lupa letak URL background korang
  • warna merah letak code shoutmix (wajib)

save dan lihat hasilnya 
Aini ada beberapa icon utuk korang

http://i1224.photobucket.com/albums/ee367/wAAinin/Untitled-1-1.png



http://i1224.photobucket.com/albums/ee367/wAAinin/4-1.png


http://i1224.photobucket.com/albums/ee367/wAAinin/3.png


http://i1224.photobucket.com/albums/ee367/wAAinin/2.png


http://i1224.photobucket.com/albums/ee367/wAAinin/1-3.png


last ~ siapa yang nak background shout pilihan korang sendiri [KLIK SINI]



THANS ya ! komen la satu


Like Fan Page Lam A'Aini juga

Comments
4 Comments

4 COMMENT:

Atirah ★ said...

tlg sy buat leh??pleaz??
ni url background http://4.bp.blogspot.com/-bhr-b65bVSE/TnHT6jXP9OI/AAAAAAAAAGA/NRBKMBsh9AI/s1600/1578888.PNG
pleaz sngt2..add la sy "Atirah SKTB" lps da approve 2..sy akn bg msj kt awk email n password blog sy k..pleaz sngt2..

NoR said...

dik... np akak nyer kecik jerk... pastue xde button close pon..
:(

Lam A'Aini said...

@NoR
ada la button close cuba tgk btol2 . . akak kna ejas with n high sma , ,

ninaloque said...

akak,url background tu ape erk??