TỔNG HỢP CODE BLOG
Bạn vào Bố cục=>> thêm tiện ích=>>HTML/JavaScript rồi dán code bên dưới vào (nhớ là tìm chỗ nào có địa chỉ eselego.blogspot.com thì thay bằng địa chỉ blog của bạn nhé)
<style class='cp-pen-styles'>.snow-container {
position: fixed;
height: 1500px;
width: 100%;
max-width: 100%;
top: 0;
overflow: hidden;
z-index: 2;
pointer-events: none;
}
.snow {
display: block;
position: absolute;
z-index: 2;
top: 0;
right: 0;
bottom: 0;
left: 0;
pointer-events: none;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
-webkit-animation: snow linear infinite;
animation: snow linear infinite;
}
.snow.foreground {
background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPY8x_PAE347icvvg7yKWHTRhszUcse5dEsR_i2PHw5LMfrotW-fHTYPuMju387HGRUHaG6LHz6QGw6Upj88VR-3Vt9m0Ps9Gd3_qJGOX5dUkB-dVkUJ_gfJ2TCSGHab5OntdVOM_ewxo/s1600/snow-large-dtc.png");
-webkit-animation-duration: 15s;
animation-duration: 15s;
}
.snow.foreground.layered {
-webkit-animation-delay: 7.5s;
animation-delay: 7.5s;
}
.snow.middleground {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF8kmbMMbxmpZY4rdWmsKG2skind59UdPIxp4kXQQSzQQrrz49wAPmaDN6I_naMxw-GQ9TryD0rTHyPOmxr4Zlq3LK2L1C8UrZ9ZT11qv7T2SKf6iMzXFxsN9TtQf-rK0EIdP7W2hwS2s/s1600/snow-medium-dtc.png);
-webkit-animation-duration: 20s;
animation-duration: 20s;
}
.snow.middleground.layered {
-webkit-animation-delay: 10s;
animation-delay: 10s;
}
.snow.background {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3H5hsNjFQ3Tj_2ZKdsVsftuZnf29hD7pwIjdjfVIsaJO3k4Zp5qmJT5pDnYajU9F7gr1mhONw7v9OupMif5gGClYDenW_zvfjgPxLx2bVQytdSUmsXUSYd3y6NJ3L-f4ziPc1R-hDIlM/s1600/snow-small-dtc.png);
-webkit-animation-duration: 25s;
animation-duration: 25s;
}
.snow.background.layered {
-webkit-animation-delay: 12.5s;
animation-delay: 12.5s;
}
@-webkit-keyframes snow {
0% {
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
100% {
-webkit-transform: translate3d(5%, 100%, 0);
transform: translate3d(5%, 100%, 0);
}
}
@keyframes snow {
0% {
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
100% {
-webkit-transform: translate3d(5%, 100%, 0);
transform: translate3d(5%, 100%, 0);
}
}
</style>
<div class='snow-container'><div class='snow foreground'></div><div class='snow foreground layered'></div><div class='snow middleground'></div><div class='snow middleground layered'></div><div class='snow background'></div><div class='snow background layered'></div></div>
|
2.Thay đổi con trỏ chuột cho blog
<style>
HTML,BODY{cursor: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR-fO1SshV5pBexAIuHEigpZ2dkl3GMjjvk-Dm2xOSWoylhQ3zHOc4DJfxwzxDgHIqrjA2s9t5rrZrsrWJ2po9YmQYUXB9-tqGTzqg5zhKOnC3HDXFTNypay-KfKlq7X57wOMaPqlDWmA/s1600/acespades.gif"), auto;}
</style></div>
<style>
A:hover{cursor: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJN-SqbFIga4nLiVWdAancQgRiJM8pG7vnLwc_As3U6zG_7RTft7A1yinxVIM2VLf9U9gMDYVsSQCCN4xLfGtakbMcmK_3gfkKaJRighYFJvzAy2B_ur9a8GQKE9Zm-fRLoswPjSowg1k/s1600/acehearts.gif"), auto;}
</style>
|
3.Tạo khung tìm kiếm cho blog
<form id="abt-css3-search" action="/search" method="get">
<input id="search" name="q" type="text" placeholder="Tìm Kiếm Tại Đây" />
<input id="submit" type="submit" value="Search" />
</form>
<p style="display:none;">Search Box by <a href="http://www.eselego.blogspot.com/">Thủ thuật blogspot</a></p>
<style>
#abt-css3-search{background:#eaf8fc;background-image:0;-moz-border-radius:35px;border-radius:35px;width:270px;height:35px;overflow:hidden;border-color:#c4d9df #a4c3ca #83afb7;border-style:solid;border-width:1px;padding:10px}
#search,#submit{float:left}
#search{height:23px;width:180px;border:1px solid #a4c3ca;font:normal 13px 'trebuchet MS', arial, helvetica;background:#f1f1f1;-moz-border-radius:50px 3px 3px 50px;border-radius:50px 3px 3px 50px;-moz-box-shadow:0 1px 3px rgba(0,0,0,0.25) inset, 0 1px 0 rgba(255,255,255,1);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25) inset, 0 1px 0 rgba(255,255,255,1);box-shadow:0 1px 3px rgba(0,0,0,0.25) inset, 0 1px 0 rgba(255,255,255,1);padding:5px 9px}
#submit{background:#6cbb6b;background-image:0;-moz-border-radius:3px 50px 50px 3px;border-radius:3px 50px 50px 3px;-moz-box-shadow:0 0 1px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.3) inset;-webkit-box-shadow:0 0 1px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.3) inset;box-shadow:0 0 1px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.3) inset;height:35px;width:60px;cursor:pointer;font:bold 14px Arial, Helvetica;color:#23441e;text-shadow:0 1px 0 rgba(255,255,255,0.5);border-color:#7eba7c #578e57 #447d43;border-style:solid;border-width:1px;margin:0 0 0 10px;padding:0}
#submit:hover{background:#95d788;background-image:0}
#submit:active{background:#95d788;outline:none;-moz-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;box-shadow:0 1px 4px rgba(0,0,0,0.5) inset}
#submit::-moz-focus-inner{border:none}
#search.placeholder{color:#9c9c9c!important;font-style:italic}
#search:focus{background:#fff;outline:none;border-color:#8badb4}
#search::-webkit-input-placeholder,#search:-moz-placeholder{color:#9c9c9c;font-style:italic}
</style>
<input id="search" name="q" type="text" placeholder="Tìm Kiếm Tại Đây" />
<input id="submit" type="submit" value="Search" />
</form>
<p style="display:none;">Search Box by <a href="http://www.eselego.blogspot.com/">Thủ thuật blogspot</a></p>
<style>
#abt-css3-search{background:#eaf8fc;background-image:0;-moz-border-radius:35px;border-radius:35px;width:270px;height:35px;overflow:hidden;border-color:#c4d9df #a4c3ca #83afb7;border-style:solid;border-width:1px;padding:10px}
#search,#submit{float:left}
#search{height:23px;width:180px;border:1px solid #a4c3ca;font:normal 13px 'trebuchet MS', arial, helvetica;background:#f1f1f1;-moz-border-radius:50px 3px 3px 50px;border-radius:50px 3px 3px 50px;-moz-box-shadow:0 1px 3px rgba(0,0,0,0.25) inset, 0 1px 0 rgba(255,255,255,1);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25) inset, 0 1px 0 rgba(255,255,255,1);box-shadow:0 1px 3px rgba(0,0,0,0.25) inset, 0 1px 0 rgba(255,255,255,1);padding:5px 9px}
#submit{background:#6cbb6b;background-image:0;-moz-border-radius:3px 50px 50px 3px;border-radius:3px 50px 50px 3px;-moz-box-shadow:0 0 1px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.3) inset;-webkit-box-shadow:0 0 1px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.3) inset;box-shadow:0 0 1px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.3) inset;height:35px;width:60px;cursor:pointer;font:bold 14px Arial, Helvetica;color:#23441e;text-shadow:0 1px 0 rgba(255,255,255,0.5);border-color:#7eba7c #578e57 #447d43;border-style:solid;border-width:1px;margin:0 0 0 10px;padding:0}
#submit:hover{background:#95d788;background-image:0}
#submit:active{background:#95d788;outline:none;-moz-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;box-shadow:0 1px 4px rgba(0,0,0,0.5) inset}
#submit::-moz-focus-inner{border:none}
#search.placeholder{color:#9c9c9c!important;font-style:italic}
#search:focus{background:#fff;outline:none;border-color:#8badb4}
#search::-webkit-input-placeholder,#search:-moz-placeholder{color:#9c9c9c;font-style:italic}
</style>
4.Code tạo đồng hồ và lịch
<embed allowscriptaccess="always" flashvars="bannerWidth=250&bannerHeight=250&bannerSID=http://img.uu1001.cn/x3/2011-11-16/15-47/2011-11-16_d60ef4761263455ecac475849a987c10_0.xml&bannerXML=&bannerLink=http%3A%2F%2F&dataSource=&bid=26543933&appSource=default" id="26543933" name="26543933" quality="high" src="http://img.uu1001.cn/bcv3.swf?v=20111012" type="application/x-shockwave-flash" wmode="transparent" height="250" width="250"></embed>
5.Tạo menu truy cập online:
<script language="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=450,left = 280,top = 180');");
}
</script>
<style type="text/css">
.bubblewrap{
list-style-type:none;
margin:0;
padding:0;
}
.bubblewrap li{
display:inline;
width: 64px;
height:64px;
}
.bubblewrap li img{
width: 64px; /* độ rộng của hình ảnh.*/
height: 64px; /* chiều cao của hình ảnh.*/
border:0;
margin-right: 14px; /*Khoảng cách giữa 2 ảnh*/
-webkit-transition:-webkit-transform 0.1s ease-in; /*animate transform property */
-o-transition:-o-transform 0.1s ease-in; /*animate transform property in Opera */
}
.bubblewrap li img:hover{
-moz-transform:scale(1.8); /*scale up image 1.8x*/
-webkit-transform:scale(1.8);
-o-transform:scale(1.8);
}
</style>
<center>
<ul class="bubblewrap">
<li><a href="javascript:popUp('https://www.google.com.vn/')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF7Wmj_0Cm3_BEPyLDUaiZnXPFETezGRpd8QLVOyrUA8eDLzAqd-2aQTGvGTQGyR2acZv3DV035DMj3q6NYWNwYJjvoC3x35bKWuAT-t80fmt7Yx1CJtmyxDlrAtZVZVBD0K_jkhGfCN0/s1600/Google-Chrome-icon.png" title="Tìm kiếm trên Google" /></a></li>
<li><a href="javascript:popUp('https://accounts.google.com/servicelogin?service=blogger&passive=1209600&continue=http://www.blogger.com/home&followup=http://www.blogger.com/home<mpl=start#s01')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmJn42IpTel8o6gTIP-fXV6tOjG-gIUWWVTbke2z1qkFhbh-84I8ATi2unqmem8iiIAFhkiXus-SYAnnHerN7RuWCqKqlkyvkpyfo45Mn4ps49aIPYDdKKRr9TNu17ihwJLRQbNuzNZKo/s1600/Blogger-icon.png" title="Đăng nhập Blogspot" /></a></li>
<li><a href="javascript:popUp('https://accounts.google.com/servicelogin?service=mail&passive=true&rm=false&continue=http://mail.google.com/mail/&scc=1<mpl=default<mplcache=2')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf_Dcbf4AUjCDB7lbilIbexD4H7YuTg83PfTMMa64mRXLQQh9vrmTU6PsDJs_ap5ry5DhV-gM5ISvETyYiJwO2p630Uj70nYF2gAkq-NbkVS1rdhFsmYzUkfkxLCcLxW3H1lPLt_hhRhQ/s1600/Google-icon.png" title="Đăng nhập Gmail" /></a></li>
<li><a href="javascript:popUp('http://twitter.com/#!/sessions/new')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB7Vz9lDk9zwho7zelB8L44O75fGt-gjGvWb5hgIX_nWws7RNXPNptde9l06XkP_iSIPfKqT53IW1MGhyh4O3KZdNCwyd8bMHCRY2RXYmZR_DuFL5wOnLkD04P6ZJrpRxQfVfJrRpEDg4/s1600/Twitter-icon.png" title="Đăng nhập Twitter" /></a></li>
<li><a href="javascript:popUp('http://www.facebook.com')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoNLpQC7NGx23UQ2etX68Iw21Kh-XvFySQYpK9fouCtib9HIoebo3j4Igv4C8j_1_JCLyBgSuIOJhkbTRb71DRKh2Y8ndT06jH9ugsPHcvyT1HV8_Im-vrP9pIvVpX6doMZREH4r7ykag/s1600/facebook-icon.png" title="Đăng nhập Facebook" /></a></li>
<li><a href="javascript:popUp('https://login.yahoo.com/config/login?.src=fpctx&.intl=vn&.pd=c%3d6t7evjap2e6cwwsb86qvdqk-&.done=http%3a%2f%2fvn.yahoo.com%2f')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXGyK3lXVvkAs2p42D_LHXfC1SDH4KN6AHv_1n_0xUxQ6TNytGXzBbwgLAyRR84fJvtNGFqGfTawYnqlui-qZECLJe7_ZfaK0H_m1fR_HtnbqOZ9LenbCn-C7cs-IY0K1cCHx_4EE1ZpY/s1600/yahoo-icon.png" title="Đăng nhập Yahoo" /></a></li>
<li><a href="javascript:popUp('http://www.youtube.com/')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_n6AnMkUQ1kCZuTaFdQrQqkHvlDbj0ZXEwPqRfjxqQYlp1VXNP6BF3of-i9HnBhGtl_L_6K5TUWRxGccinR6D96grSHlbeuOqgAi9ACZNzGHNxMcOGItEPD8YBoagLcaDiTomPozAGY4/s1600/youtube-icon.png" title="Đăng nhập Youtube" /></a></li>
</ul></center>
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=450,left = 280,top = 180');");
}
</script>
<style type="text/css">
.bubblewrap{
list-style-type:none;
margin:0;
padding:0;
}
.bubblewrap li{
display:inline;
width: 64px;
height:64px;
}
.bubblewrap li img{
width: 64px; /* độ rộng của hình ảnh.*/
height: 64px; /* chiều cao của hình ảnh.*/
border:0;
margin-right: 14px; /*Khoảng cách giữa 2 ảnh*/
-webkit-transition:-webkit-transform 0.1s ease-in; /*animate transform property */
-o-transition:-o-transform 0.1s ease-in; /*animate transform property in Opera */
}
.bubblewrap li img:hover{
-moz-transform:scale(1.8); /*scale up image 1.8x*/
-webkit-transform:scale(1.8);
-o-transform:scale(1.8);
}
</style>
<center>
<ul class="bubblewrap">
<li><a href="javascript:popUp('https://www.google.com.vn/')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF7Wmj_0Cm3_BEPyLDUaiZnXPFETezGRpd8QLVOyrUA8eDLzAqd-2aQTGvGTQGyR2acZv3DV035DMj3q6NYWNwYJjvoC3x35bKWuAT-t80fmt7Yx1CJtmyxDlrAtZVZVBD0K_jkhGfCN0/s1600/Google-Chrome-icon.png" title="Tìm kiếm trên Google" /></a></li>
<li><a href="javascript:popUp('https://accounts.google.com/servicelogin?service=blogger&passive=1209600&continue=http://www.blogger.com/home&followup=http://www.blogger.com/home<mpl=start#s01')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmJn42IpTel8o6gTIP-fXV6tOjG-gIUWWVTbke2z1qkFhbh-84I8ATi2unqmem8iiIAFhkiXus-SYAnnHerN7RuWCqKqlkyvkpyfo45Mn4ps49aIPYDdKKRr9TNu17ihwJLRQbNuzNZKo/s1600/Blogger-icon.png" title="Đăng nhập Blogspot" /></a></li>
<li><a href="javascript:popUp('https://accounts.google.com/servicelogin?service=mail&passive=true&rm=false&continue=http://mail.google.com/mail/&scc=1<mpl=default<mplcache=2')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf_Dcbf4AUjCDB7lbilIbexD4H7YuTg83PfTMMa64mRXLQQh9vrmTU6PsDJs_ap5ry5DhV-gM5ISvETyYiJwO2p630Uj70nYF2gAkq-NbkVS1rdhFsmYzUkfkxLCcLxW3H1lPLt_hhRhQ/s1600/Google-icon.png" title="Đăng nhập Gmail" /></a></li>
<li><a href="javascript:popUp('http://twitter.com/#!/sessions/new')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB7Vz9lDk9zwho7zelB8L44O75fGt-gjGvWb5hgIX_nWws7RNXPNptde9l06XkP_iSIPfKqT53IW1MGhyh4O3KZdNCwyd8bMHCRY2RXYmZR_DuFL5wOnLkD04P6ZJrpRxQfVfJrRpEDg4/s1600/Twitter-icon.png" title="Đăng nhập Twitter" /></a></li>
<li><a href="javascript:popUp('http://www.facebook.com')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoNLpQC7NGx23UQ2etX68Iw21Kh-XvFySQYpK9fouCtib9HIoebo3j4Igv4C8j_1_JCLyBgSuIOJhkbTRb71DRKh2Y8ndT06jH9ugsPHcvyT1HV8_Im-vrP9pIvVpX6doMZREH4r7ykag/s1600/facebook-icon.png" title="Đăng nhập Facebook" /></a></li>
<li><a href="javascript:popUp('https://login.yahoo.com/config/login?.src=fpctx&.intl=vn&.pd=c%3d6t7evjap2e6cwwsb86qvdqk-&.done=http%3a%2f%2fvn.yahoo.com%2f')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXGyK3lXVvkAs2p42D_LHXfC1SDH4KN6AHv_1n_0xUxQ6TNytGXzBbwgLAyRR84fJvtNGFqGfTawYnqlui-qZECLJe7_ZfaK0H_m1fR_HtnbqOZ9LenbCn-C7cs-IY0K1cCHx_4EE1ZpY/s1600/yahoo-icon.png" title="Đăng nhập Yahoo" /></a></li>
<li><a href="javascript:popUp('http://www.youtube.com/')"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_n6AnMkUQ1kCZuTaFdQrQqkHvlDbj0ZXEwPqRfjxqQYlp1VXNP6BF3of-i9HnBhGtl_L_6K5TUWRxGccinR6D96grSHlbeuOqgAi9ACZNzGHNxMcOGItEPD8YBoagLcaDiTomPozAGY4/s1600/youtube-icon.png" title="Đăng nhập Youtube" /></a></li>
</ul></center>
6.Code Chữ Chạy Ngang Có Màu Nền:
<marquee behavior="scroll" bgcolor="#4CC552" direction="left" onmouseout="this.start();" onmouseover="this.stop();" scrollamount="6"> <span style="color: rgb(#ffffff,#00FF00, 0); font-size: 150%; font-weight: bold;">Cám ơn các bạn ghé tham quan và ủng hộ <a href="http://eselego.blogspot.com/">eselego.blogspot.com.</a>...Hãy chia sẽ blog này cho bạn bè nhé!...Nếu có thắc mắc xin gửi mail về quocquan37353@gmail.com mình sẽ trả lời cho bạn.</span>
</marquee>
</marquee>
7.Slide bài đăng cho blog:
<style scoped="" type="text/css">
#slides *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
#slides ul,#slides li{padding:0;margin:0;list-style:none;position:relative}
#slides ul{width:970px;height:250px}
#slides li{width:49.9%;height:100%;position:absolute;display:none}
#slides li:nth-child(1), #slides li:nth-child(2), #slides li:nth-child(3), #slides li:nth-child(4){display:block}
#slides li:nth-child(1){left:0;top:0}
#slides li:nth-child(2){left:50.1%;width:24.8%;height:49.8%}
#slides li:nth-child(3){left:75.2%;width:24.8%;height:49.8%}
#slides li:nth-child(4){left:50.1%;top:50.2%;height:49.9%}
#slides a{display:block;width:100%;height:100%;overflow:hidden}
#slides img{display:block;width:100%;height:100%;border:0;padding:4px;background-color:#0097BD;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
#slides .overlayx{width:100%;height:100%;position:absolute;z-index:2;background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7EPB_CpSpTtT292rhYAZQR62Qz526qx8zazin_kanaBbC-LRJpVeXNohi8QWzsuAL-WUyYQKRDuadyjP-gC0d4wfP9R9VPZKdC3UjXDBZ_zdYkqnffaz9zg8ERlHfinkE79iQMClQ58cV/s1600/linebg-fade.png);background-position:50% 50%;background-repeat:repeat-x;border:4px solid #0097BD;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
#slides h4{position:absolute;bottom:30px;margin:0;font-size:18px;font-family:Georgia,Times,"Times New Roman";left:0;padding:0 10px;color:white;z-index:3;line-height:20px;font-weight:normal}
#slides li:nth-child(2) h4,#slides li:nth-child(3) h4{font-size:13px;line-height:15px}
#slides .label_text{font-size:9px;color:white;bottom:10px;z-index:3;left:10px;font-family:Verdana,Geneva,sans-serif;position:absolute}
#slides li:nth-child(2) .autname,#slides li:nth-child(3) .autname{display:none}
#slides .overlayx,#slides li{-webkit-transition:all .4s ease-in-out;-moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;-ms-transition:all .4s ease-in-out;transition:all .4s ease-in-out}
#slides li:hover .overlayx{-ms-filter:"progid:DXImageTransform.Microsoft. Alpha(Opacity=10)";filter:alpha(opacity=10);-khtml-opacity:0.1;-moz-opacity:0.1;opacity:0.1}
#buttons{margin:5px 0 0}
#buttons a{display:inline-block;text-indent:-9999px;width:15px;height:25px;position:relative}
#buttons a::before{content:"";width:0;height:0;border-width:8px 7px;border-style:solid;border-color:transparent #535353 transparent transparent;position:absolute;top:50%;margin-top:-8px;margin-left:-10px;left:50%}
#buttons a#nextx::before{border-color:transparent transparent transparent #535353;margin-left:-3px}
@media only screen and (max-width:600px){
#slides ul{height:600px}
#slides li:nth-child(1){width:100%;height:49.8%}
#slides li:nth-child(2){top:50.2%;height:24.8%;left:0;width:49.8%}
#slides li:nth-child(3){left:50.2%;top:50.2%;width:49.8%;height:24.8%}
#slides li:nth-child(4){left:0;top:75.3%;height:24.8%;width:100%}
}
</style>
<div id="featuredpost"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type='text/javascript'>
//<![CDATA[
function FeaturedPost(a){(function(e){var h={blogURL:"",MaxPost:4,idcontaint:"#featuredpost",ImageSize:100,interval:5000,autoplay:false,loadingClass:"loadingxx",pBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s1600/grey.gif",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tagName:false};h=e.extend({},h,a);var g=e(h.idcontaint);var c=h.blogURL;var d=h.MaxPost*200;if(h.blogURL===""){c=window.location.protocol+"//"+window.location.host}g.html('<div id="slides"><ul class="randomnya"></ul></div><div id="buttons"><a href="#" id="prevx">prev</a><a href="#" id="nextx">next</a></div>').addClass(h.loadingClass);var f=function(w){var q,k,m,u,x,p,t,v,r,l="",s=w.feed.entry;for(var o=0;o<s.length;o++){for(var n=0;n<s[o].link.length;n++){if(s[o].link[n].rel=="alternate"){q=s[o].link[n].href;break}}if("media$thumbnail" in s[o]){u=s[o].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+h.ImageSize+"-c")}else{u=h.pBlank.replace(/\/s[0-9]+(\-c|\/)/,"/s"+h.ImageSize+"$1")}k=s[o].title.$t;r=s[o].published.$t.substring(0,10);m=s[o].author[0].name.$t;x=r.substring(0,4);p=r.substring(5,7);t=r.substring(8,10);v=h.MonthNames[parseInt(p,10)-1];l+='<li><a target="_blank" href="'+q+'"><div class="overlayx"></div><img class="random" src="'+u+'"/><h4>'+k+'</h4></a><div class="label_text"><span class="date"><span class="dd">'+t+'</span> <span class="dm">'+v+'</span> <span class="dy">'+x+'</span></span> <span class="autname">'+m+"</span></div></li>"}e("ul",g).append(l)};var b=function(){var i="/-/"+h.tagName;if(h.tagName===false){i="";e.ajax({url:c+"/feeds/posts/default"+i+"?max-results="+h.MaxPost+"&orderby=published&alt=json-in-script",success:f,dataType:"jsonp",cache:true})}else{e.ajax({url:c+"/feeds/posts/default"+i+"?max-results="+h.MaxPost+"&orderby=published&alt=json-in-script",success:f,dataType:"jsonp",cache:true})}(function(){setTimeout(function(){e("#prevx").click(function(){e("#slides li:first").before(e("#slides li:last"));return false});e("#nextx").click(function(){e("#slides li:last").after(e("#slides li:first"));return false});if(h.autoplay){var k=h.interval;var l=setInterval("rotate()",k);e("#slides li:first").before(e("#slides li:last"));e("#slides").hover(function(){clearInterval(l)},function(){l=setInterval("rotate()",k)});function j(){e("#nextx").click()}}g.removeClass(h.loadingClass)},d)})()};e(document).ready(b)})(jQuery)};
function rotate() {
$('#nextx').click();
}
//]]>
</script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function () {
FeaturedPost({
blogURL:"http://eselego.blogspot.com/",//URL Blog của bạn
MaxPost:20,//Số bài trình chiếu
idcontaint:"#featuredpost",
ImageSize:300,
interval:5000,//Tốc độ dịch chuyển
autoplay:true,//Tự động
tagName:false
});
});
//]]>
</script>
#slides *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
#slides ul,#slides li{padding:0;margin:0;list-style:none;position:relative}
#slides ul{width:970px;height:250px}
#slides li{width:49.9%;height:100%;position:absolute;display:none}
#slides li:nth-child(1), #slides li:nth-child(2), #slides li:nth-child(3), #slides li:nth-child(4){display:block}
#slides li:nth-child(1){left:0;top:0}
#slides li:nth-child(2){left:50.1%;width:24.8%;height:49.8%}
#slides li:nth-child(3){left:75.2%;width:24.8%;height:49.8%}
#slides li:nth-child(4){left:50.1%;top:50.2%;height:49.9%}
#slides a{display:block;width:100%;height:100%;overflow:hidden}
#slides img{display:block;width:100%;height:100%;border:0;padding:4px;background-color:#0097BD;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
#slides .overlayx{width:100%;height:100%;position:absolute;z-index:2;background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7EPB_CpSpTtT292rhYAZQR62Qz526qx8zazin_kanaBbC-LRJpVeXNohi8QWzsuAL-WUyYQKRDuadyjP-gC0d4wfP9R9VPZKdC3UjXDBZ_zdYkqnffaz9zg8ERlHfinkE79iQMClQ58cV/s1600/linebg-fade.png);background-position:50% 50%;background-repeat:repeat-x;border:4px solid #0097BD;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
#slides h4{position:absolute;bottom:30px;margin:0;font-size:18px;font-family:Georgia,Times,"Times New Roman";left:0;padding:0 10px;color:white;z-index:3;line-height:20px;font-weight:normal}
#slides li:nth-child(2) h4,#slides li:nth-child(3) h4{font-size:13px;line-height:15px}
#slides .label_text{font-size:9px;color:white;bottom:10px;z-index:3;left:10px;font-family:Verdana,Geneva,sans-serif;position:absolute}
#slides li:nth-child(2) .autname,#slides li:nth-child(3) .autname{display:none}
#slides .overlayx,#slides li{-webkit-transition:all .4s ease-in-out;-moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;-ms-transition:all .4s ease-in-out;transition:all .4s ease-in-out}
#slides li:hover .overlayx{-ms-filter:"progid:DXImageTransform.Microsoft. Alpha(Opacity=10)";filter:alpha(opacity=10);-khtml-opacity:0.1;-moz-opacity:0.1;opacity:0.1}
#buttons{margin:5px 0 0}
#buttons a{display:inline-block;text-indent:-9999px;width:15px;height:25px;position:relative}
#buttons a::before{content:"";width:0;height:0;border-width:8px 7px;border-style:solid;border-color:transparent #535353 transparent transparent;position:absolute;top:50%;margin-top:-8px;margin-left:-10px;left:50%}
#buttons a#nextx::before{border-color:transparent transparent transparent #535353;margin-left:-3px}
@media only screen and (max-width:600px){
#slides ul{height:600px}
#slides li:nth-child(1){width:100%;height:49.8%}
#slides li:nth-child(2){top:50.2%;height:24.8%;left:0;width:49.8%}
#slides li:nth-child(3){left:50.2%;top:50.2%;width:49.8%;height:24.8%}
#slides li:nth-child(4){left:0;top:75.3%;height:24.8%;width:100%}
}
</style>
<div id="featuredpost"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type='text/javascript'>
//<![CDATA[
function FeaturedPost(a){(function(e){var h={blogURL:"",MaxPost:4,idcontaint:"#featuredpost",ImageSize:100,interval:5000,autoplay:false,loadingClass:"loadingxx",pBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s1600/grey.gif",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tagName:false};h=e.extend({},h,a);var g=e(h.idcontaint);var c=h.blogURL;var d=h.MaxPost*200;if(h.blogURL===""){c=window.location.protocol+"//"+window.location.host}g.html('<div id="slides"><ul class="randomnya"></ul></div><div id="buttons"><a href="#" id="prevx">prev</a><a href="#" id="nextx">next</a></div>').addClass(h.loadingClass);var f=function(w){var q,k,m,u,x,p,t,v,r,l="",s=w.feed.entry;for(var o=0;o<s.length;o++){for(var n=0;n<s[o].link.length;n++){if(s[o].link[n].rel=="alternate"){q=s[o].link[n].href;break}}if("media$thumbnail" in s[o]){u=s[o].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+h.ImageSize+"-c")}else{u=h.pBlank.replace(/\/s[0-9]+(\-c|\/)/,"/s"+h.ImageSize+"$1")}k=s[o].title.$t;r=s[o].published.$t.substring(0,10);m=s[o].author[0].name.$t;x=r.substring(0,4);p=r.substring(5,7);t=r.substring(8,10);v=h.MonthNames[parseInt(p,10)-1];l+='<li><a target="_blank" href="'+q+'"><div class="overlayx"></div><img class="random" src="'+u+'"/><h4>'+k+'</h4></a><div class="label_text"><span class="date"><span class="dd">'+t+'</span> <span class="dm">'+v+'</span> <span class="dy">'+x+'</span></span> <span class="autname">'+m+"</span></div></li>"}e("ul",g).append(l)};var b=function(){var i="/-/"+h.tagName;if(h.tagName===false){i="";e.ajax({url:c+"/feeds/posts/default"+i+"?max-results="+h.MaxPost+"&orderby=published&alt=json-in-script",success:f,dataType:"jsonp",cache:true})}else{e.ajax({url:c+"/feeds/posts/default"+i+"?max-results="+h.MaxPost+"&orderby=published&alt=json-in-script",success:f,dataType:"jsonp",cache:true})}(function(){setTimeout(function(){e("#prevx").click(function(){e("#slides li:first").before(e("#slides li:last"));return false});e("#nextx").click(function(){e("#slides li:last").after(e("#slides li:first"));return false});if(h.autoplay){var k=h.interval;var l=setInterval("rotate()",k);e("#slides li:first").before(e("#slides li:last"));e("#slides").hover(function(){clearInterval(l)},function(){l=setInterval("rotate()",k)});function j(){e("#nextx").click()}}g.removeClass(h.loadingClass)},d)})()};e(document).ready(b)})(jQuery)};
function rotate() {
$('#nextx').click();
}
//]]>
</script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function () {
FeaturedPost({
blogURL:"http://eselego.blogspot.com/",//URL Blog của bạn
MaxPost:20,//Số bài trình chiếu
idcontaint:"#featuredpost",
ImageSize:300,
interval:5000,//Tốc độ dịch chuyển
autoplay:true,//Tự động
tagName:false
});
});
//]]>
</script>
8.Code Tạo menu cực đẹp cho blog
<style>
ul.ldd_menu{
margin:0px;
padding:0;
display:block;
height:50px;
background-color:#D04528;
list-style:none;
font-family:"Trebuchet MS", sans-serif;
border-top:1px solid #EF593B;
border-bottom:1px solid #EF593B;
border-left:10px solid #D04528;
-moz-box-shadow:0px 3px 4px #591E12;
-webkit-box-shadow:0px 3px 4px #591E12;
-box-shadow:0px 3px 4px #591E12;
}
ul.ldd_menu a{
text-decoration:none;
}
ul.ldd_menu > li{
float:left;
position:relative;
}
ul.ldd_menu > li > span{
float:left;
color:#fff;
background-color:#D04528;
height:50px;
line-height:50px;
cursor:default;
padding:0px 20px;
text-shadow:0px 0px 1px #fff;
border-right:1px solid #DF7B61;
border-left:1px solid #C44D37;
}
ul.ldd_menu .ldd_submenu{
position:absolute;
top:50px;
width:550px;
display:none;
opacity:0.95;
left:0px;
font-size:14px;
background: #C34328;
border-top:1px solid #EF593B;
-moz-box-shadow:0px 3px 4px #591E12 inset;
-webkit-box-shadow:0px 3px 4px #591E12 inset;
-box-shadow:0px 3px 4px #591E12 inset;
z-index:30; /* thuộc tính hiện menu con đối với các blog để nổi bracgrou */
}
a.ldd_subfoot{
background-color:#f0f0f0;
color:#444;
display:block;
clear:both;
padding:15px 20px;
text-transform:uppercase;
font-family: Arial, serif;
font-size:12px;
text-shadow:0px 0px 1px #fff;
-moz-box-shadow:0px 0px 2px #777 inset;
-webkit-box-shadow:0px 0px 2px #777 inset;
-box-shadow:0px 0px 2px #777 inset;
}
ul.ldd_menu ul{
list-style:none;
float:left;
border-left:1px solid #DF7B61;
margin:20px 0px 10px 30px;
padding:10px;
}
li.ldd_heading{
font-family: Georgia, serif;
font-size: 13px;
font-style: italic;
color:#FFB39F;
text-shadow:0px 0px 1px #B03E23;
padding:0px 0px 10px 0px;
}
ul.ldd_menu ul li a{
font-family: Arial, serif;
font-size:12px;
line-height:20px;
color:#fff;
padding:1px 3px;
}
ul.ldd_menu ul li a:hover{
-moz-box-shadow:0px 0px 2px #333;
-webkit-box-shadow:0px 0px 2px #333;
box-shadow:0px 0px 2px #333;
background:#AF412B;
}
</style>
<ul id="ldd_menu" class="ldd_menu">
<li>
<span><a href="http://eselego.blogspot.com/">Home</a></span>
<li>
<span>LOL_FO3</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Lol Home</li>
<li><a href="#">Guide Tướng</a></li>
<li><a href="#">Mod Skin</a></li>
<li><a href="#">Mod Map</a></li>
<li><a href="#">Mod Khung Viền</a></li>
<li><a href="#">Mod Tổng Hợp</a></li>
</ul>
<ul>
<li class="ldd_heading">Lol Pro Player</li>
<li><a href="#">Quay Game LMHT</a></li>
<li><a href="#">Tools LMHT</a></li>
<li><a href="#">Kỹ năng-Mẹo chơi Lol</a></li>
<li><a href="#">Clip Highlight-Troll</a></li>
<li><a href="#">Fix lỗi LMHT</a></li>
<li><a href="#">dang cap nhat</a></li>
</ul>
<ul>
<li class="ldd_heading">FifaOnline3</li>
<li><a href="#">Tools Hack FO3</a></li>
<li><a href="#">Cách kiếm tiền</a></li>
<li><a href="#">Đội hình-Chiến thuật</a></li>
<li><a href="#">dcn</a></li>
<li><a href="#">dcn</a></li>
<li><a href="#">dcn</a></li>
</ul>
</div>
</li>
<li>
<span>Tips</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Thủ thuật Blogspot</li>
<li><a href="#">Tạo blog</a></li>
<li><a href="#">Trang Trí Blog</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Slide</a></li>
<li><a href="#">Hộp thử code</a></li>
</ul>
<ul>
<li class="ldd_heading">Tiện ích Online</li>
<li><a href="#">Chữ đẹp-Chữ ký đẹp online</a></li>
<li><a href="#">Tivi trực tuyến</a></li>
<li><a href="#">Chỉnh sửa ảnh online</a></li>
<li><a href="#">Máy tính online</a></li>
<li><a href="#">Upload File</a></li>
<li><a href="#">Khác</a></li>
</ul>
<ul>
<li class="ldd_heading">Phần mềm học tập</li>
<li><a href="#">EnglishStudyPro 2012</a></li>
<li><a href="#">Geograbra</a></li>
<li><a href="#">Free Pascal</a></li>
<li><a href="#">Office 03.07.10</a></li>
<li><a href="#">Giả lập Casio</a></li>
<li><a href="#">dcn</a></li>
</ul>
</div>
</li>
<li>
<span>Relax</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Nhạc-ảnh</li>
<li><a href="#">Nhạc hay</a></li>
<li><a href="#">Nhạc chế</a></li>
<li><a href="#">Icoin&Desktop</a></li>
<li><a href="#">Images Lol</a></li>
<li><a href="#">dcn</a></li>
</ul>
<ul>
<li class="ldd_heading">Phim-Truyện</li>
<li><a href="#">Yugioh-Conan</a></li>
<li><a href="#">Thần đồng đất việt</a></li>
<li><a href="#">Doremon</a></li>
<li><a href="#">Quà tặng cuộc sống</a></li>
<li><a href="#">Phim hây tổng hợp</a></li>
<li><a href="#">dcn</a></li>
</ul>
<ul>
<li class="ldd_heading">ODF Productions</li>
<li><a href="#">Phần mềm crack</a></li>
<li><a href="#">Lol Production</a></li>
<li><a href="#">Music Clip</a></li>
<li><a href="#">Tin tức Update</a></li>
<li><a href="#">dcn</a></li>
<li><a href="#">Dcn</a></li>
</ul>
</div>
</li>
<li><span>TươngTác<span>
</span></span></li></li></ul>
<!-- The JavaScript -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
/**
* the menu
*/
var $menu = $('#ldd_menu');
/**
* for each list element,
* we show the submenu when hovering and
* expand the span element (title) to 510px
*/
$menu.children('li').each(function(){
var $this = $(this);
var $span = $this.children('span');
$span.data('width',$span.width());
$this.bind('mouseenter',function(){
$menu.find('.ldd_submenu').stop(true,true).hide();
$span.stop().animate({'width':'510px'},300,function(){
$this.find('.ldd_submenu').slideDown(300);
});
}).bind('mouseleave',function(){
$this.find('.ldd_submenu').stop(true,true).hide();
$span.stop().animate({'width':$span.data('width')+'px'},300);
});
});
});
</script>
ul.ldd_menu{
margin:0px;
padding:0;
display:block;
height:50px;
background-color:#D04528;
list-style:none;
font-family:"Trebuchet MS", sans-serif;
border-top:1px solid #EF593B;
border-bottom:1px solid #EF593B;
border-left:10px solid #D04528;
-moz-box-shadow:0px 3px 4px #591E12;
-webkit-box-shadow:0px 3px 4px #591E12;
-box-shadow:0px 3px 4px #591E12;
}
ul.ldd_menu a{
text-decoration:none;
}
ul.ldd_menu > li{
float:left;
position:relative;
}
ul.ldd_menu > li > span{
float:left;
color:#fff;
background-color:#D04528;
height:50px;
line-height:50px;
cursor:default;
padding:0px 20px;
text-shadow:0px 0px 1px #fff;
border-right:1px solid #DF7B61;
border-left:1px solid #C44D37;
}
ul.ldd_menu .ldd_submenu{
position:absolute;
top:50px;
width:550px;
display:none;
opacity:0.95;
left:0px;
font-size:14px;
background: #C34328;
border-top:1px solid #EF593B;
-moz-box-shadow:0px 3px 4px #591E12 inset;
-webkit-box-shadow:0px 3px 4px #591E12 inset;
-box-shadow:0px 3px 4px #591E12 inset;
z-index:30; /* thuộc tính hiện menu con đối với các blog để nổi bracgrou */
}
a.ldd_subfoot{
background-color:#f0f0f0;
color:#444;
display:block;
clear:both;
padding:15px 20px;
text-transform:uppercase;
font-family: Arial, serif;
font-size:12px;
text-shadow:0px 0px 1px #fff;
-moz-box-shadow:0px 0px 2px #777 inset;
-webkit-box-shadow:0px 0px 2px #777 inset;
-box-shadow:0px 0px 2px #777 inset;
}
ul.ldd_menu ul{
list-style:none;
float:left;
border-left:1px solid #DF7B61;
margin:20px 0px 10px 30px;
padding:10px;
}
li.ldd_heading{
font-family: Georgia, serif;
font-size: 13px;
font-style: italic;
color:#FFB39F;
text-shadow:0px 0px 1px #B03E23;
padding:0px 0px 10px 0px;
}
ul.ldd_menu ul li a{
font-family: Arial, serif;
font-size:12px;
line-height:20px;
color:#fff;
padding:1px 3px;
}
ul.ldd_menu ul li a:hover{
-moz-box-shadow:0px 0px 2px #333;
-webkit-box-shadow:0px 0px 2px #333;
box-shadow:0px 0px 2px #333;
background:#AF412B;
}
</style>
<ul id="ldd_menu" class="ldd_menu">
<li>
<span><a href="http://eselego.blogspot.com/">Home</a></span>
<li>
<span>LOL_FO3</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Lol Home</li>
<li><a href="#">Guide Tướng</a></li>
<li><a href="#">Mod Skin</a></li>
<li><a href="#">Mod Map</a></li>
<li><a href="#">Mod Khung Viền</a></li>
<li><a href="#">Mod Tổng Hợp</a></li>
</ul>
<ul>
<li class="ldd_heading">Lol Pro Player</li>
<li><a href="#">Quay Game LMHT</a></li>
<li><a href="#">Tools LMHT</a></li>
<li><a href="#">Kỹ năng-Mẹo chơi Lol</a></li>
<li><a href="#">Clip Highlight-Troll</a></li>
<li><a href="#">Fix lỗi LMHT</a></li>
<li><a href="#">dang cap nhat</a></li>
</ul>
<ul>
<li class="ldd_heading">FifaOnline3</li>
<li><a href="#">Tools Hack FO3</a></li>
<li><a href="#">Cách kiếm tiền</a></li>
<li><a href="#">Đội hình-Chiến thuật</a></li>
<li><a href="#">dcn</a></li>
<li><a href="#">dcn</a></li>
<li><a href="#">dcn</a></li>
</ul>
</div>
</li>
<li>
<span>Tips</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Thủ thuật Blogspot</li>
<li><a href="#">Tạo blog</a></li>
<li><a href="#">Trang Trí Blog</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Slide</a></li>
<li><a href="#">Hộp thử code</a></li>
</ul>
<ul>
<li class="ldd_heading">Tiện ích Online</li>
<li><a href="#">Chữ đẹp-Chữ ký đẹp online</a></li>
<li><a href="#">Tivi trực tuyến</a></li>
<li><a href="#">Chỉnh sửa ảnh online</a></li>
<li><a href="#">Máy tính online</a></li>
<li><a href="#">Upload File</a></li>
<li><a href="#">Khác</a></li>
</ul>
<ul>
<li class="ldd_heading">Phần mềm học tập</li>
<li><a href="#">EnglishStudyPro 2012</a></li>
<li><a href="#">Geograbra</a></li>
<li><a href="#">Free Pascal</a></li>
<li><a href="#">Office 03.07.10</a></li>
<li><a href="#">Giả lập Casio</a></li>
<li><a href="#">dcn</a></li>
</ul>
</div>
</li>
<li>
<span>Relax</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Nhạc-ảnh</li>
<li><a href="#">Nhạc hay</a></li>
<li><a href="#">Nhạc chế</a></li>
<li><a href="#">Icoin&Desktop</a></li>
<li><a href="#">Images Lol</a></li>
<li><a href="#">dcn</a></li>
</ul>
<ul>
<li class="ldd_heading">Phim-Truyện</li>
<li><a href="#">Yugioh-Conan</a></li>
<li><a href="#">Thần đồng đất việt</a></li>
<li><a href="#">Doremon</a></li>
<li><a href="#">Quà tặng cuộc sống</a></li>
<li><a href="#">Phim hây tổng hợp</a></li>
<li><a href="#">dcn</a></li>
</ul>
<ul>
<li class="ldd_heading">ODF Productions</li>
<li><a href="#">Phần mềm crack</a></li>
<li><a href="#">Lol Production</a></li>
<li><a href="#">Music Clip</a></li>
<li><a href="#">Tin tức Update</a></li>
<li><a href="#">dcn</a></li>
<li><a href="#">Dcn</a></li>
</ul>
</div>
</li>
<li><span>TươngTác<span>
</span></span></li></li></ul>
<!-- The JavaScript -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
/**
* the menu
*/
var $menu = $('#ldd_menu');
/**
* for each list element,
* we show the submenu when hovering and
* expand the span element (title) to 510px
*/
$menu.children('li').each(function(){
var $this = $(this);
var $span = $this.children('span');
$span.data('width',$span.width());
$this.bind('mouseenter',function(){
$menu.find('.ldd_submenu').stop(true,true).hide();
$span.stop().animate({'width':'510px'},300,function(){
$this.find('.ldd_submenu').slideDown(300);
});
}).bind('mouseleave',function(){
$this.find('.ldd_submenu').stop(true,true).hide();
$span.stop().animate({'width':$span.data('width')+'px'},300);
});
});
});
</script>
Blogger Comment
Facebook Comment