Gallery

Buat Floating Sidebar Widget

Google Blog Press

Untuk Membuat "Floating" sidebar

Blog Template mesti mempunyai code jQuery, Tutorial dibawah akan menolong bagaimana cara cara memasang floating sidebar dengan mudah

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf


<script type="text/javascript">
$(function() {
var offset = $(".column-right-outer").offset();
var topPadding = 15;
$(window).scroll(function() {
if ($(window).scrollTop() > offset.top) {
$(".column-right-outer").stop().animate({
marginTop: $(window).scrollTop() - offset.top + topPadding
});
} else {
$(".column-right-outer").stop().animate({
marginTop: 0
});
};
});
});
</script> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script type="text/javascript">
$(function() {
var offset = $(".column-right-outer").offset();
var topPadding = 15;
$(window).scroll(function() {
if ($(window).scrollTop() > offset.top) {
$(".column-right-outer").stop().animate({
marginTop: $(window).scrollTop() - offset.top + topPadding
});
} else {
$(".column-right-outer").stop().animate({
marginTop: 0
});
};
});
});
</script> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf

















Pertama sekali pergi ke  Blog Design dan Tekan EDIT HTML untuk mencari code dibawah


 <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/>

Jika ia memang tak ada dalam template blog anda maka, ia harus dimasuk bersama.
Code tersebut harus dipastekan dibawah code berikut:

 ]]></b:skin>



Yang terakhir , Sila cari  Code <div id='sidebar-wrapper'> atau <div class='column-right-outer'>  dengan menekan CTRL+F dan pastekan dalam kotak search yang disediakan: Kemudian copy code yang tertera dibawah dan sila pastekan di atas code <div id='sidebar-wrapper'>  atau salah satu code yang anda temui dalam blog template.

 <script type="text/javascript">
$(function() {
var offset = $(".column-right-outer").offset();
var topPadding = 15;
$(window).scroll(function() {
if ($(window).scrollTop() > offset.top) {
$(".column-right-outer").stop().animate({
marginTop: $(window).scrollTop() - offset.top + topPadding
});
} else {
$(".column-right-outer").stop().animate({
marginTop: 0
});

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf


Sekiranya anda mempunyai kerumitan semasa memasang code, jangan ragu ragu untuk menghubungi kami kembali. Google Barcode Blog
<div class='column-right-outer'>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/> - See more at: http://www.bloggerhow.com/2012/03/add-a-floating-sidebar-on-blogger/#sthash.TkFurFhG.dpuf

Tiada ulasan:

Catat Ulasan

Author

authorGoogle Barcode
Learn More →

Direction

Hotel Region

Demo team

Eiremer Odand

155 Rahen Roundabout.
BT 7701 Co. Limerick
Rep. Ireland Whatsapp:+60105338313