Thủ thuật tạo Menu dọc xổ ngang chuyên nghiệp cho web shop, được thiết kế lại khá ấn tượng với các Icon, và hình nền cho từng Menu Sub, Dành cho các bạn dùng blogspot nhé
Cách làm:
- Chèn đoạn CSS sau trên ]]></b:skin>
#cottraihome {
float: left;
width: 165px;
margin-left: -8px;
}
#fdmega-menu-thaiaiti2 ul {list-style: none;}
.tatcadanhmuc-thaiaiti2 {background: #fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7GIDICOYVgVM97Lo9vCCSw8dTLAhsig9mwD_1ty25yhxSh9WFcCKUjAuXRxle02Y-Gba3ZiQmb20dAiKLZgo1QDYanedI0XPUK_5izWeMTSoxFJp9Puhf68hZO3jnJOaElpaUtkR2TAuk/h120/iconmuiten.png) no-repeat;background-position: 150px;float: left;width: 135px;}
ul#topnav-thaiaiti2 {width: 165px;position: relative;height: 36px;margin: 0 auto;}
ul#topnav-thaiaiti2 li {float: left;height: 29px;padding: 0px;border-bottom: 1px solid #eee;background: url(#) no-repeat top right;}
ul#topnav-thaiaiti2 li a {padding: 5px 15px;display: block;color: #333;font:13px arial;text-decoration: none;}
ul#topnav-thaiaiti2 li img {margin-right: 6px;margin-top: -3px;float: left;padding-top: 3px;}
ul#topnav-thaiaiti2 li a:hover {color: #fff;background: #1CC7F2;}
ul#topnav-thaiaiti2 li:hover {background:url(#) repeat-x top left;}
ul#topnav-thaiaiti2 li.mg-home {background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPatkWLQMauLi1AjbFD7ApaEL4en3exMctF9g7gqUgqHoE-KEZX7nGt0OJ8SVBJSln48HolJJUG_dmCf66DjkNANcDXhfzoyLSTJkuvblK0UcXq81fKqLZNJwxZdm5PACulOWoYHYU8pI/s0/home-icon.png) no-repeat !important;float: left;margin-top: 8px;overflow: hidden;width: 20px;height: 25px;background-size: 100% !important;margin-left: 15px;margin-right: 10px;}
ul#topnav-thaiaiti2 li.mg-home a {height:19px;}
ul#topnav-thaiaiti2 li div.sub {width: 465px;height: 245px;border-top: none !important;border: 2px solid #1CC7F2;position: absolute;z-index: 9999;margin-left:165px !important;overflow: hidden;top: 0px;background: #fff;padding:5px;display: none;color:#333;}
ul#topnav-thaiaiti2 li:hover div.sub {display: block;}
ul#topnav-thaiaiti2 li div.sub p {margin-bottom:5px;text-align:justify;}
ul#topnav-thaiaiti2 li div.sub div.cont {float: left;padding:5px;}
ul#topnav-thaiaiti2 li div.sub div.cont h3 {padding-bottom: 5px;}
ul#topnav-thaiaiti2 li div.sub div.cont a{display:block; margin:0;padding:0;padding:0 0 5px;color:#666;font: 12px arial;}
ul#topnav-thaiaiti2 li div.sub div.cont a:hover{color:#039;text-decoration: underline;background: transparent;}
ul#topnav-thaiaiti2 li div.ms1 {}
ul#topnav-thaiaiti2 li div.ms2 {width:942px;left: 7px;}
ul#topnav-thaiaiti2 li div.ms3 {width:260px;left: 195px;}
ul#topnav-thaiaiti2 li div.ms4 {}
ul#topnav-thaiaiti2 li div.ms5 {width:400px;left: 16px;background:#ff7d00 url(sub6-bg.png) no-repeat bottom right;}
ul#topnav-thaiaiti2 li div.sub div.cs21 {width:178px;}
ul#topnav-thaiaiti2 li div.sub div.cs31 {width:120px;}
.anhnenmenu-thaiaiti1 {float: left;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL5e7tlMzPiLF2S82HKkt_ZjcOhxZAjKpZ6YmquOwE9liDyI-iU-pN0A7bJUrZVM1OLEDBvh65GbBb4MwrCdYIAWp3zl5AW6G7Eb_fCoy_zMu5TUwzJ-Pt-4DTOYeNiNMu9OlO77puaC60/s0/08-10-13-13-22-34vienthong+copy.JPG) no-repeat;width: 470px;height: 250px;}
.anhnenmenu-thaiaiti2 {float: left;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVEpFfxgXjzAM6io6MJweOZASB8iQ516kE_0zg6YuWOQqvhVEL-V8M4QacpLd3TOyetV6vGphoY3w2KiMTCc481T7k3tu4AR7VG9rHmTANMBJ-GAZFA8weLh1r8uXuFiKpdOiQduawSqjW/s0/08-10-13-13-22-46vitinh+copy.JPG) no-repeat;width: 470px;height: 250px;}
.anhnenmenu-thaiaiti3 {float: left;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcFJ7IxtyEqtRou7DIXcNh5SBuD3-aNt5gXbj0O7X_foarP7-xypzQVqHTInIiSygWaEncFW88ry90vyoAwNEaJ2DCaLyBQ6y9VZJlY0yXqqCIBKu0YZJeWbuvvLYEBa7lPIsMft2GmdP-/s0/08-10-13-13-23-23didong+copy.JPG) no-repeat;width: 470px;height: 250px;}
- Chèn đoạn code sau vào nơi bạn cần hiển thị Menu nhé:
<div id='cottraihome'>
<div id='fdmega-menu-thaiaiti2'>
<ul id='topnav-thaiaiti2'>
<li><a class='tatcadanhmuc-thaiaiti2' href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis_-iHngWA31bGI3ao2YmYSM_a3mrV0lBoTnTmB17MyQHGfASQeOhGMazEFp8crpO53N9F9IZtAwG5Q370TeedU0lOHF7bd6fFiaOakDf2WGBhoAhq3pUAbVaXxhjaR76FnWfP2oeYXjUj/s19/may%2520tinh.PNG'/>Đồ họa</a>
<div class='sub ms2thaiaiti2'>
<div class='anhnenmenu-thaiaiti1'>
<div class='cont cs21-thaiaiti2'>
<h3>Photoshop</h3>
<a href='#'>File Photoshop</a>
<a href='#'>Template blogspot free</a>
<a href='#'>Thủ thuật blogspot</a>
</div>
<div class='cont cs21-thaiaiti2'>
<h3>Dựng Phim</h3>
<a href='#'>Avid Liquid</a>
<a href='#'>After Effect</a>
<a href='#'>Premiere Pro</a>
<a href='#'>Proshow Gold</a>
</div>
</div>
</div>
</li>
<li><a class='tatcadanhmuc-thaiaiti2' href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN3iIZD0s-3TgUuG3DY9mP3zxGUC5ZbjsqyLZ4QItBCduMn1NiHJ9fsWqjeKi6TgUmRkvQ6oiI6EKP3Hy1ypQgxS1a6b541M-GyrEFazdixSDs6-2iZt0xatRAAtY0fxOPhDNiDufPfG4Z/s18/may%2520anh.PNG'/>
Blogspot</a>
<div class='sub ms2thaiaiti2'>
<div class='anhnenmenu-thaiaiti2'>
<div class='cont cs21-thaiaiti2'>
<h3>Thủ thuật</h3>
<a href='#'>Template blogspot Pro</a>
<a href='#'>Template blogspot free</a>
<a href='#'>Thủ thuật blogspot</a>
</div>
<div class='cont cs21-thaiaiti2'>
<h3>Kho template</h3>
<a href='#'>File Photoshop</a>
<a href='#'>Mẫu thiệp cưới PSD</a>
<a href='#'>Thủ thuật</a>
</div>
</div>
</div>
</li>
<li><a class='tatcadanhmuc-thaiaiti2' href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDZVV6OpBTJXz64SRlmIyodlcAgc3N_CBYJ0MNxvdl2wgFHUqSBBrx150UOPitm6jn2PpFAGRSp877ph2INnPBFEdraw-35K4dsxq5SSpmDnXNPbvXmiSGGLVURqMMZiuC-NVJhEsPeaHu/s19/may%2520anh3.PNG'/>
Phần mềm</a>
<div class='sub ms2thaiaiti2'>
<div class='anhnenmenu-thaiaiti3'>
<div class='cont cs21-thaiaiti2'>
<h3>Văn phòng</h3>
<a href='#'>Template blogspot Pro</a>
<a href='#'>Template blogspot free</a>
<a href='#'>Thủ thuật blogspot</a>
</div>
<div class='cont cs21-thaiaiti2'>
<h3>Mạng máy tính</h3>
<a href='#'>File Photoshop</a>
<a href='#'>Mẫu thiệp cưới PSD</a>
<a href='#'>Thủ thuật</a>
</div>
</div>
</div>
</li>
<li><a class='tatcadanhmuc-thaiaiti2' href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtvUcR25uz2ULy4WEjzLsDX6h26u2etWDJaf8NNwTVmHr9YDL3WzHUg4_NhjPpWg4sKOzbrXxkILW0C_56I9estjAvvqphlnaPAliPk8chck5IkZTSfHgCJnP3REfgbI2lYf2j8BHd0FDr/s18/thiet%2520ke.PNG'/>
Photoshop</a>
<div class='sub ms2thaiaiti2'>
<div class='anhnenmenu-thaiaiti1'>
<div class='cont cs21-thaiaiti2'>
<h3>Blogspot</h3>
<a href='#'>Template blogspot Pro</a>
<a href='#'>Template blogspot free</a>
<a href='#'>Thủ thuật blogspot</a>
</div>
<div class='cont cs21-thaiaiti2'>
<h3>Photoshop</h3>
<a href='#'>File Photoshop</a>
<a href='#'>Mẫu thiệp cưới PSD</a>
<a href='#'>Thủ thuật</a>
</div>
</div>
</div>
</li>
<li><a class='tatcadanhmuc-thaiaiti2' href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoV1UzYBVwcpido1WhUt002TSBN8Rmq-n_Oyrr8qft4ma6Z-PFtqwikAusj2UInUvEBjSVZZx4Wm-abqE6bgm6oR7qqSGsrR69Lje6G2FKsu2SDPlukXva4Ag00IV0s8UB5ldekwPdZk7Z/s17/banghe.PNG'/>
File Photoshop</a>
<div class='sub ms2thaiaiti2'>
<div class='anhnenmenu-thaiaiti1'>
<div class='cont cs21-thaiaiti2'>
<h3>Blogspot</h3>
<a href='#'>Template blogspot Pro</a>
<a href='#'>Template blogspot free</a>
<a href='#'>Thủ thuật blogspot</a>
</div>
<div class='cont cs21-thaiaiti2'>
<h3>Photoshop</h3>
<a href='#'>File Photoshop</a>
<a href='#'>Mẫu thiệp cưới PSD</a>
<a href='#'>Thủ thuật</a>
</div>
</div>
</div>
</li>
<li><a class='tatcadanhmuc-thaiaiti2' href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis_-iHngWA31bGI3ao2YmYSM_a3mrV0lBoTnTmB17MyQHGfASQeOhGMazEFp8crpO53N9F9IZtAwG5Q370TeedU0lOHF7bd6fFiaOakDf2WGBhoAhq3pUAbVaXxhjaR76FnWfP2oeYXjUj/s19/may%2520tinh.PNG'/>
Project AE</a>
<div class='sub ms2thaiaiti2'>
<div class='anhnenmenu-thaiaiti1'>
<div class='cont cs21-thaiaiti2'>
<h3>Blogspot</h3>
<a href='#'>Template blogspot Pro</a>
<a href='#'>Template blogspot free</a>
<a href='#'>Thủ thuật blogspot</a>
</div>
<div class='cont cs21-thaiaiti2'>
<h3>Photoshop</h3>
<a href='#'>File Photoshop</a>
<a href='#'>Mẫu thiệp cưới PSD</a>
<a href='#'>Thủ thuật</a>
</div>
</div>
</div>
</li>
<li><a class='tatcadanhmuc-thaiaiti2' href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis_-iHngWA31bGI3ao2YmYSM_a3mrV0lBoTnTmB17MyQHGfASQeOhGMazEFp8crpO53N9F9IZtAwG5Q370TeedU0lOHF7bd6fFiaOakDf2WGBhoAhq3pUAbVaXxhjaR76FnWfP2oeYXjUj/s19/may%2520tinh.PNG'/>
Công cụ</a>
<div class='sub ms2thaiaiti2'>
<div class='anhnenmenu-thaiaiti1'>
<div class='cont cs21-thaiaiti2'>
<h3>Công cụ 1</h3>
<a onclick='window.open('https://622a1c66-a-62cb3a1a-s-sites.googlegroups.com/site/hohoangthai/color-codes.swf','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=500,height=400,scrollbars=no');return false' src='#'>Bảng mã màu</a>
<a onclick='window.open('https://622a1c66-a-62cb3a1a-s-sites.googlegroups.com/site/hohoangthai/lay%20code%20flash.swf','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=500,height=400,scrollbars=no');return false' src='#'>Lấy code Flash</a>
<a onclick='window.open('https://622a1c66-a-62cb3a1a-s-sites.googlegroups.com/site/hohoangthai/photoshop%20online.swf','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=900,height=600,scrollbars=no');return false' src='#'>Photoshop Online</a>
<a onclick='window.open('http://www.ma-config.com/en/installplugin/0.html','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=900,height=600,scrollbars=no');return false' src='#'>Cập nhật Drivers</a>
<a href='/2013/01/phan-mem-vao-facebook-tot-nhat-tuyet-voi.html'>Cách vào Facebook</a>
<a href='https://sites.google.com/site/thaiaiti1992/Teamview_ThaiAiTi.rar' target='_blank'>Tải teamview</a>
<a onclick='window.open('http://www.dudamobile.com','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=900,height=600,scrollbars=no');return false' src='#'>Temp Mobile Blogger</a>
<a href='http://www.thaiaiti.com/p/form-rut-ngan-css.html'>Tối ưu CSS</a>
<a href='http://www.thaiaiti.com/2013/09/upload-va-lay-link-flash-on-gian-va.html'>Lấy Link Flash</a>
<a href='http://www.thaiaiti.com/2013/07/thu-thuat-lay-data-blogspot-cua-nguoi.html'>Lấy data blogger</a>
</div>
<div class='cont cs21-thaiaiti2'>
<h3>Công cụ 2</h3>
<a href='https://sites.google.com/site/thaiaiti1992/Teamview_ThaiAiTi.rar' target='_blank'>Tải teamview</a>
<a href='http://www.thaiaiti.com/2013/11/huong-dan-tao-blogspot-cai-at-template_4.html' target='_blank'>Cách Up template</a>
<a onclick='window.open('http://whichloadsfaster.com/','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=500,height=900,scrollbars=no');return false' src='#'>Ai load nhanh?</a>
<a onclick='window.open('http://iphone4simulator.com/','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=500,height=900,scrollbars=no');return false' src='#'>Test giao diện</a>
<a onclick='window.open('http://ictgroup.vn/HTML_Encoder.htm','new','resizable=no,toolbar=no,menubar= no,location=no,directories=no,status=no,top=30,left=500,width=500,height=900,scrollbars=no');return false' src='#'>Mã hóa code</a>
</div>
</div>
</div>
</li>
<a href='http://www.thaiaiti.com/2013/07/nhan-rip-template-blogspotblogger-gia-re.html'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbLT81wUOmSr8nLosTEGTyvkWnKEoOPLjHz8_TU1m8MtxjNp4dYeHI5YNWZwuwN02Jmb4zmDQrCxxpLrqLkURGgAFbEV91_H9PIeTCQipu9W8QWpUhDydZhajXpqGYqp6th9EvzUjBuKC4/s199/Rip%2520template.jpg' style='width: 165px;'/>
</a>
<a href='http://www.thaiaiti.com/2013/08/thiet-ke-web-theo-yeu-cau-tren-blogger.html'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf9RBMZAKYAt7hCNUiljJfGG5h1BYUOTSgQEyI5SDi7xi6CBh4DxwnQRstbZ-hh-Nf5gxPC7KvEjCkmKfPklykxDtQTlhRVzcQilEmRXfqUWgYsqs-cpIWfumU9W_sJbSmesV6p-AuiilF/s199/thiet%2520ke%2520theo%2520yeu%2520cau.jpg' style='width: 165px;'/>
</a>
</ul>
</div>
</div>
- ThaiAiTi - chúc bạn thành công !
- Tiếp theo, rất nhiều thủ thuật mới cập nhật, bạn vui lòng xem tại đây
- Kho template blogspot Pro, xem tại đây
0 nhận xét:
Đăng nhận xét