Cara Buat Widget Recent Post Keren
Friday, 7 November 2014
SUDUT HUKUM | Cara Buat Widget Recent Post Keren
Pada malam ini, Admin akan membagikan sebuah teritorial tentang bagaimana cara membuat Widget Recent Post Keren bewarna dan bergerak seperti pada blog ini.
NOT:
Pada malam ini, Admin akan membagikan sebuah teritorial tentang bagaimana cara membuat Widget Recent Post Keren bewarna dan bergerak seperti pada blog ini.
Bagaimana Cara menambahkannya?
Caranya sangat mudah sekali, Anda tinggal masuk ke Blog anda,>> Tataletak>>tambah Gadget>>>HTML/JavaScript>>> setelah itu tambahkan kode ini:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script><style scoped="scoped">.spy-outer { border:2px solid white; -webkit-box-shadow:0 1px 3px rgba(0,0,0,.4); -moz-box-shadow:0 1px 3px rgba(0,0,0,.4); box-shadow:0 1px 3px rgba(0,0,0,.4); margin:0 auto; } border:2px solid white; -webkit-box-shadow:0 1px 3px rgba(0,0,0,.4); -moz-box-shadow:0 1px 3px rgba(0,0,0,.4); box-shadow:0 1px 3px rgba(0,0,0,.4); margin:0 auto;}.spy-outer h2 { margin:0; padding:5px 10px; background-color:#008800; background-image:-webkit-linear-gradient(#008800,#037103); background-image:-moz-linear-gradient(#008800,#037103); background-image:-ms-linear-gradient(#008800,#037103); background-image:-o-linear-gradient(#008800,#037103); background-image:linear-gradient(#008800,#037103); color:white; font:normal bold 12px/normal Helmet,Freesans,Sans-Serif; text-transform:none; text-shadow:0 1px 2px black; } margin:0; padding:5px 10px; background-color:#008800; background-image:-webkit-linear-gradient(#008800,#037103); background-image:-moz-linear-gradient(#008800,#037103); background-image:-ms-linear-gradient(#008800,#037103); background-image:-o-linear-gradient(#008800,#037103); background-image:linear-gradient(#008800,#037103); color:white; font:normal bold 12px/normal Helmet,Freesans,Sans-Serif; text-transform:none; text-shadow:0 1px 2px black;}.spy { margin:0; padding:0; font:normal normal 10px/12px Helmet,Freesans,Sans-Serif; color:#333; overflow:hidden; } margin:0; padding:0; font:normal normal 10px/12px Helmet,Freesans,Sans-Serif; color:#333; overflow:hidden;}.spy li { list-style:none; text-align:left; margin:0; padding:5px 7px; background-color:#AABD30; background-image:-webkit-linear-gradient(#AABD30,#9BB009); background-image:-moz-linear-gradient(#AABD30,#9BB009); background-image:-ms-linear-gradient(#AABD30,#9BB009); background-image:-o-linear-gradient(#AABD30,#9BB009); background-image:linear-gradient(#AABD30,#9BB009); border-top:1px solid #A7D101; border-bottom:1px solid #899D00; word-wrap:break-word; overflow:hidden; } list-style:none; text-align:left; margin:0; padding:5px 7px; background-color:#AABD30; background-image:-webkit-linear-gradient(#AABD30,#9BB009); background-image:-moz-linear-gradient(#AABD30,#9BB009); background-image:-ms-linear-gradient(#AABD30,#9BB009); background-image:-o-linear-gradient(#AABD30,#9BB009); background-image:linear-gradient(#AABD30,#9BB009); border-top:1px solid #A7D101; border-bottom:1px solid #899D00; word-wrap:break-word; overflow:hidden;}.spy a {text-decoration:none}.spy li em { font-weight:bold; color:#409540; } font-weight:bold; color:#409540;}.spy-header { font:normal bold 12px/14px "Trebuchet MS",Trebuchet,Geneva,Verdana,Arial,Sans-Serif; display:block; color:yellow; text-shadow:0 1px 0 rgba(0,0,0,.2); /* white-space:nowrap; overflow:hidden; text-overflow:ellipsis; */ } font:normal bold 12px/14px "Trebuchet MS",Trebuchet,Geneva,Verdana,Arial,Sans-Serif; display:block; color:yellow; text-shadow:0 1px 0 rgba(0,0,0,.2); /* white-space:nowrap; overflow:hidden; text-overflow:ellipsis; */ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; */}.spy-header:hover { color:white; text-decoration:underline; } color:white; text-decoration:underline;}.spy-summary { margin-top:5px; overflow:hidden; } margin-top:5px; overflow:hidden;}.spy li .image-wrapper,.spy li img { float:right; margin:0 0 2px 7px; padding:0; width:72px; height:72px; border:4px solid #899D00; background:white url('data:image/gif;base64,R0lGODlhMAAwAPcBAPm2AP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARs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kGEgZVyBIhz5s/XVpk+XFnz4MzCaB8yKCo0adQaS5NeLSm1oVWr95EOBViU4QMDpwdqfBA2YQBAQAh+QQFBQABACwJABAAEQAYAAAIdwAJIEBwIIDBgwgPHhg4kEHChwEYDmxAACJCBhIRWEwoYGDBjRxBihxJsqTJkyg3MmjQoCRLliBfvgS5siVCAx8fsnR4kMGBAxUJCDVYIGGBnwcMBBBaESLSpkwhEkB6MOpDpEUNWk34s6nWoQ8LeP06FqTYAAEBACH5BAUFAAEALAgACgAOAB0AAAiKAAMIHBiAwQGCCAciQNAgIcKFCAg4HCgA4kSFCw9eZGCRYEOCED96lBigAAIBBFGKLDCRwEeRExkIlHkxgAGNNVs22MkTpsCePRO63BmAZ86jCEleJHDggFKEBZpKdWhQKgMDQq0OLEAAq8CoTgkSGMtSoNeBBsYSKOtQLduEXMfWVJtTbk4DbwMCADs=') no-repeat 50% 50%; } float:right; margin:0 0 2px 7px; padding:0; width:72px; height:72px; border:4px solid #899D00; background:white url('data:image/gif;base64,R0lGODlhMAAwAPcBAPm2AP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARsbG8TExJeXl/39/VRUVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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4DbwMCADs=') no-repeat 50% 50%;}.spy li .image-wrapper { -webkit-box-shadow:0 0 2px rgba(0,0,0,.7); -moz-box-shadow:0 0 2px rgba(0,0,0,.7); box-shadow:0 0 2px rgba(0,0,0,.7); } -webkit-box-shadow:0 0 2px rgba(0,0,0,.7); -moz-box-shadow:0 0 2px rgba(0,0,0,.7); box-shadow:0 0 2px rgba(0,0,0,.7);}.spy li img { border:none !important; float:none; margin:0; padding:0; display:none; } border:none !important; float:none; margin:0; padding:0; display:none;}.spy-outer .loading { display:block; padding:10px; background-color:#fafafa; } display:block; padding:10px; background-color:#fafafa;}</style><div id="spy-outer" class="spy-outer"><span class="loading">Memuat...</span></div><script>var spy_config = { widgetTitle: '<h2>Recent Post</h2>', url: 'http://nama_blog.blogspot.com', containerId: 'spy-outer', numPost: 10, numChars: 100, monthNames: [ 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember' ], noImage: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAA3NCSVQICAjb4U/gAAAADElEQVQImWOor68HAAL+AX7vOF2TAAAAAElFTkSuQmCC', showSummaries: true, showThumbnails: true, showPostDate: true, showComments: true, newTabLink: false, animatedRecentPost: true, jsonCallback: 'recentpost_spy', newsTicker: { visible: 4, interval: 3000, speed: 600 }};</script><script src="http://dte-project.googlecode.com/svn/trunk/rp-newsticker.js"></script>
NOT:
- Gantikan
http://nama_blog.blogspot.comdengan URL Blog Anda,
Kemudian simpan dan lihat hasilnya....