Uncategorized
Apr5

Cara Membuat Scroll Widget Blog

0 comment

Kata scroll saya kira sudah tidak asing lagi ditelinga kita, scroll adalah sesuatu yang dapat ditarik ke atas dan ke bawah, atau ke samping kanan dan kekiri, maka dari itu ada istilah scroll vertical dan scroll horizontal.

If you want to make scroll in your widget blog, you can use this tutorial:
The First Way:
If use widget HTML/JavaScript you can use script bellow :

<div style=”overflow:auto;width:100%;height:200px;padding:0px;border:0px solid #eee”>
You link or writing here
</div>

The second way:

If you use widget like label, archive, or other you can use this tutorial.

Bellow basic wdiget IDin your css template:

  1. Widget Label = Label1; Label2; Label3, and so on
  2. Widget Blog Archive = BlogArchive1; BlogArchive2; BlogArchive3, and so on

For example if you want to make scroll for your label/ category in blog, follow this:
search ]]> in your code template, copy paste this script above:

#Label1 .widget-content{   /* you can edit this like BlogArchive1, or other. */
height:200px;               /* you can edit this value */
width:auto;
overflow:auto;
}

May be useful.

Rate this article!

Author: 

author