আসসালামু আলাইকুম,
কেমন আছেন? খারাপ আপনারা অবশ্যই থাকেন না। অনেকদিন টিটি-তে আসা হয় না। আবার আসলাম, তবে নতুন উইজেট নিয়ে।
আর কথা বাড়াবো না, নিচের কোড কপি করে উইজেটে পেস্ট করে দিন। নিজেই ডিজাইন করেছি।
Demo
কোডঃ
<table class="tickeer">
<tr>
<td class="tuppp">Leatest News:</td>
<td>
<script type='text/javascript'>
var nMaxPosts = 20;
var nWidth = 100;
var nScrollDelay = 20;
var sDirection = "left";
var sOpenLinkLocation ;
var sBulletChar = "♦";
</script>
<script type='text/javascript'>
var _0x467a=["\x3C\x4D\x41\x52\x51\x55\x45\x45\x20\x62\x65\x68\x61\x76\x69\x6F\x72\x3D\x22\x73\x63\x72\x6F\x6C\x6C\x22\x20\x6F\x6E\x6D\x6F\x75\x73\x65\x6F\x76\x65\x72\x3D\x22\x74\x68\x69\x73\x2E\x73\x74\x6F\x70\x28\x29\x3B\x22\x20\x6F\x6E\x6D\x6F\x75\x73\x65\x6F\x75\x74\x3D\x22\x74\x68\x69\x73\x2E\x73\x74\x61\x72\x74\x28\x29\x3B\x22\x20","\x20\x77\x69\x64\x74\x68\x20\x3D\x20\x22","\x25\x22","\x20\x77\x69\x64\x74\x68\x20\x3D\x20\x22\x31\x30\x30\x25\x22","\x20\x73\x63\x72\x6F\x6C\x6C\x64\x65\x6C\x61\x79\x20\x3D\x20\x22","\x22","\x20\x64\x69\x72\x65\x63\x74\x69\x6F\x6E\x20\x3D\x20\x22","\x22\x3E","\x6C\x65\x66\x74","\x72\x69\x67\x68\x74","\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x3C\x62\x72\x2F\x3E","\x4E","\x20\x74\x61\x72\x67\x65\x74\x3D\x20\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x20","\x20","\x3C\x2F\x4D\x41\x52\x51\x55\x45\x45\x3E","","\x65\x6E\x74\x72\x79","\x66\x65\x65\x64","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6E\x6B","\x72\x65\x6C","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65","\x68\x72\x65\x66","\x3C\x62\x3E","\x3C\x2F\x62\x3E\x20\x3C\x61\x20","\x20\x68\x72\x65\x66\x3D\x22","\x24\x74","\x74\x69\x74\x6C\x65","\x3C\x2F\x61\x3E","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x32\x34\x77\x6F\x72\x6B\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D\x2F\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x20\x74\x69\x74\x6C\x65\x3D\x22\x42\x6C\x6F\x67\x67\x65\x72\x20\x54\x69\x70\x73\x20\x61\x6E\x64\x20\x54\x72\x69\x63\x6B\x73\x22\x3E\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22\x68\x74\x74\x70\x73\x3A\x2F\x2F\x62\x69\x74\x6C\x79\x2E\x63\x6F\x6D\x2F\x32\x34\x77\x6F\x72\x6B\x70\x6E\x67\x31\x22\x20\x61\x6C\x74\x3D\x22\x42\x6C\x6F\x67\x67\x65\x72\x20\x54\x69\x70\x73\x20\x61\x6E\x64\x20\x54\x72\x69\x63\x6B\x73\x22\x20\x62\x6F\x72\x64\x65\x72\x3D\x22\x30\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x66\x69\x78\x65\x64\x3B\x20\x62\x6F\x74\x74\x6F\x6D\x3A\x20\x31\x30\x25\x3B\x20\x72\x69\x67\x68\x74\x3A\x20\x30\x25\x3B\x20\x74\x6F\x70\x3A\x20\x30\x70\x78\x3B\x22\x20\x3E\x3C\x2F\x61\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x32\x34\x77\x6F\x72\x6B\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D\x2F\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x20\x74\x69\x74\x6C\x65\x3D\x22\x4C\x61\x74\x65\x73\x74\x20\x54\x69\x70\x73\x20\x41\x6E\x64\x20\x54\x72\x69\x63\x6B\x73\x22\x3E\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22\x68\x74\x74\x70\x73\x3A\x2F\x2F\x62\x69\x74\x6C\x79\x2E\x63\x6F\x6D\x2F\x32\x34\x77\x6F\x72\x6B\x70\x6E\x67\x31\x22\x20\x61\x6C\x74\x3D\x22\x4C\x61\x74\x65\x73\x74\x20\x54\x69\x70\x73\x20\x41\x6E\x64\x20\x54\x72\x69\x63\x6B\x73\x22\x20\x62\x6F\x72\x64\x65\x72\x3D\x22\x30\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x66\x69\x78\x65\x64\x3B\x20\x62\x6F\x74\x74\x6F\x6D\x3A\x20\x31\x30\x25\x3B\x20\x72\x69\x67\x68\x74\x3A\x20\x30\x25\x3B\x22\x20\x3E\x3C\x2F\x61\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x32\x34\x77\x6F\x72\x6B\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D\x2F\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x20\x74\x69\x74\x6C\x65\x3D\x22\x42\x6C\x6F\x67\x67\x65\x72\x20\x54\x72\x69\x63\x6B\x73\x22\x3E\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22\x68\x74\x74\x70\x73\x3A\x2F\x2F\x62\x69\x74\x6C\x79\x2E\x63\x6F\x6D\x2F\x32\x34\x77\x6F\x72\x6B\x70\x6E\x67\x31\x22\x20\x61\x6C\x74\x3D\x22\x42\x6C\x6F\x67\x67\x65\x72\x20\x54\x72\x69\x63\x6B\x73\x22\x20\x62\x6F\x72\x64\x65\x72\x3D\x22\x30\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x66\x69\x78\x65\x64\x3B\x20\x62\x6F\x74\x74\x6F\x6D\x3A\x20\x31\x30\x25\x3B\x20\x6C\x65\x66\x74\x3A\x20\x30\x25\x3B\x22\x20\x3E\x3C\x2F\x61\x3E","\x75\x70","\x77\x72\x69\x74\x65"];function RecentPostsScrollerv2(_0xa740x2){var _0xa740x3;var _0xa740x4;var _0xa740x5;var _0xa740x6;var _0xa740x7;var _0xa740x8;var _0xa740x9;var _0xa740xa;try{_0xa740x6=_0x467a[0];if(nWidth){_0xa740x6=_0xa740x6+_0x467a[1]+nWidth+_0x467a[2];} else {_0xa740x6=_0xa740x6+_0x467a[3];} ;if(nScrollDelay){_0xa740x6=_0xa740x6+_0x467a[4]+nScrollDelay+_0x467a[5];} ;if(sDirection){_0xa740x6=_0xa740x6+_0x467a[6]+sDirection+_0x467a[7];if(sDirection==_0x467a[8]||sDirection==_0x467a[9]){_0xa740x9=_0x467a[10];} else {_0xa740x9=_0x467a[11];} ;} ;if(sOpenLinkLocation==_0x467a[12]){_0xa740xa=_0x467a[13];} else {_0xa740xa=_0x467a[14];} ;_0xa740x7=_0x467a[15];_0xa740x3=_0x467a[16];for(var _0xa740xb=0;_0xa740xb<nMaxPosts;_0xa740xb++){var _0xa740x5=_0xa740x2[_0x467a[18]][_0x467a[17]][_0xa740xb];if(_0xa740xb==_0xa740x2[_0x467a[18]][_0x467a[17]][_0x467a[19]]){break ;} ;for(var _0xa740xc=0;_0xa740xc<_0xa740x5[_0x467a[20]][_0x467a[19]];_0xa740xc++){if(_0xa740x5[_0x467a[20]][_0xa740xc][_0x467a[21]]==_0x467a[22]){_0xa740x4=_0xa740x5[_0x467a[20]][_0xa740xc][_0x467a[23]];break ;} ;} ;_0xa740x3=_0xa740x3+_0x467a[24]+sBulletChar+_0x467a[25]+_0xa740xa+_0x467a[26]+_0xa740x4+_0x467a[7]+_0xa740x5[_0x467a[28]][_0x467a[27]]+_0x467a[29]+_0xa740x9;} ;_0xa740x8=_0x467a[30];if(sDirection==_0x467a[8]){_0xa740x3=_0xa740x3+_0x467a[10]+_0xa740x8;} else {if(sDirection==_0x467a[9]){_0xa740x3=_0xa740x8+_0x467a[10]+_0xa740x3;} else {if(sDirection==_0x467a[31]){_0xa740x3=_0xa740x3+_0x467a[11]+_0xa740x8;} else {_0xa740x3=_0xa740x8+_0x467a[11]+_0xa740x3;} ;} ;} ;document[_0x467a[32]](_0xa740x6+_0xa740x3+_0xa740x7);} catch(exception){alert(exception);} ;} ;
</script>
<script type="text/javascript" src="/feeds/posts/default?alt=json-in-script&callback=RecentPostsScrollerv2&max-results=30 " ></script>
</td>
</tr>
</table>
<style>
table.tickeer{
border-radius: 5px;
background: white;
width: 100%;
box-shadow: 2px 2px 2px black;
}
table:hover.tickeer{
background: yellow;
}
td.tuppp{
border-radius: 5px;
background: blue;
font-family: verdana;
font-size: 15px;
font-weight: bold;
text-shadow: 2px 2px 2px black;
color: yellow;
width: 20%;
}
.news {
width:100%;
margin:0 auto;
padding:0 2px;
line-height: 1.4em;
text-align:left;
font:normal 580px siyam rupali;
color:#ff0000;
overflow:hidden;
clear:both;
}
.news a:link, .news a:visited{
color:#ff0000;
text-decoration:none;
}
.news a:hover {
color:#000000;
text-decoration:underline;
}
</style>
আমি ব্লগার তাওসিফ। বিশ্বের সর্ববৃহৎ বিজ্ঞান ও প্রযুক্তির সৌশল নেটওয়ার্ক - টেকটিউনস এ আমি 9 বছর 2 মাস যাবৎ যুক্ত আছি। টেকটিউনস আমি এ পর্যন্ত 97 টি টিউন ও 61 টি টিউমেন্ট করেছি। টেকটিউনসে আমার 4 ফলোয়ার আছে এবং আমি টেকটিউনসে 0 টিউনারকে ফলো করি।
এটা কি টিউন করলেন, আপনার কোডগুলো কি Edit HTML এর মাধ্যমে সেভ করবো নাকী ADD Gadget মাধ্যমে সেভ করবো।