2- Vào thiết kế -> Chọn Phần tử trang -> Chọn Thêm Tiện ích ->Chọn HTML/javrscrip
3- Thêm đoạn code sau vào.
<script src="http://dl.dropbox.com/u/66256041/Menu/namkna-blogspot/prototype.js" type="text/javascript"></script> <script src="http://dl.dropbox.com/u/66256041/Menu/namkna-blogspot/effects.js" type="text/javascript"></script> <script src="http://dl.dropbox.com/u/66256041/Menu/namkna-blogspot/side-bar.js" type="text/javascript"></script> <style> body{ font-size:75%; } a{ outline: none; } a:active{ outline: none; } #sideBar{ text-align:left; } #sideBar h2{ color:#F0FFFF; font-size:110%; font-family:arial; margin:10px 10px 10px 10px; font-weight:bold !important; } #sideBar h2 span{ font-size:125%; font-weight:normal !important; } #sideBar ul{ margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; } #sideBar li{ margin:0px 5px 5px 10px; padding: 0 0 0 10px; list-style-type:none; display:block; background-color:#DA1074; width:177px; color:#FFFFFF; } #sideBar li a{ width:100%; } #sideBar li a:link, #sideBar li a:visited{ color:#FFFFFF; font-family:verdana; font-size:100%; text-decoration:none; display:block; margin:0px 0px 0px 0px; padding:0 0 0 20px; width:100%; } #sideBar li a:hover{ color:#FFFF00; text-decoration:underline; } #sideBar{ position: fixed; width: auto; height: auto; top: 140px; left:0px; background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCxCIe4dPErPFGfjAv4grVxMBKGvKW6m46tM65y4OIt4QplbqR5leKCK03xUqwSzu8LbSLujyEDsc1hDk9JD22m6EFQKadL-O8hlh5Xjf11KsKYnHV6zFrzxY55j7g8boQEXeLyobPzTiW/s1600/left.collapse.border-namkna-blogspot-com.png); background-position:top right; background-repeat:repeat-y; } #sideBarTab{ float:left; height:137px; width:28px; } #sideBarTab img{ border:0px solid #FFFFFF; } #sideBarContents{ float:left; overflow:hidden !important; width:200px; height:320px; } #sideBarContentsInner{ width:200px; }</style> <div id="sideBar"> <div id="sideBarContents" style="display:none;"> <div id="sideBarContentsInner"> <h2>Left<span>Menu</span></h2> <ul> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> </div> <a id="sideBarTab" href="#"><img alt="sideBar" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_I5jYsGQQIBzeg22Z5OYPLFZT6OoxVC1j-4w1n5Ii-X-O8B2Y6qkSt8KWx8BxufnCnNufNB-AljbHetPuywVNtiABNDs0FzH3Iut2DQVn7YuscdVV7YQpGq6rGP6UHwSDYIyCMWu5l8iE/s1600/sidebarcollapse-namkna-blogspot-com.png" title="sideBar" /></a> </div>
Bạn điều chỉnh thuộc tính CSS tùy ý.
Nguồn Namkhablog