I am trying to do vertical tabs

I am trying to do vertical tabs

Please look at this link. I trying to get this effect with vertical tabs.


This is dynamic with ajax and c# to and 

<div id="bookContainer">
<div id="book"></book>

</div>

$("#BookContainer").append(ContentMenu);

function GetContents ( BookID ) {
$. ajax( {
type: "POST", // AJAX type post
url: "tabletbook.aspx/GetContentsMenu",
data: '{"BookID": "' + BookID + '"}',
contentType: "application/json; charset=utf-8", //This is 
dataType: "json", //We need to specifiy JSON as to have the
success: function ( msg) { // The msg that comes back has in
ContentMenu = msg. d; //Lets copy the links to a global array

}
});
}
C#
  1.   [WebMethod(true)]
  2.         public static string GetContentsMenu(int BookID)
  3.         {
  4.             var BDC = new BookDC();
  5.             var fb = BDC.GetBook(BookID);   
  6.             var sb = new StringBuilder();       
  7.             List<spGetChaptersResult> chaps = BDC.DataContext.spGetChapters(BookID).ToList();
  8.             List<string> ChapsString = new List<string>();
  9.            foreach (spGetChaptersResult chptr in chaps)
  10.            {
  11.                ChapsString.Add(chptr.PageNumber.ToString() + " " + " " + chptr.ChapterTitle);
  12.                
  13.             }
  14.             string[] SortedChapterPages = ChapsString.ToArray();
  15.             Array.Sort(SortedChapterPages, new Common.NaturalComparer());
  16.             sb.Append("<div class='tabs-right'>");
  17.             foreach (string scp in SortedChapterPages)
  18.             {
  19.                string outp = scp.Replace("'", "");
  20.                sb.AppendLine("<ul>");
  21.                sb.AppendLine("<li>");
  22.                sb.AppendLine("<a href='#' id='pgNum'>");
  23.                sb.AppendLine(" ");
  24.                sb.AppendLine(outp);
  25.                sb.AppendLine(" ");
  26.                sb.AppendLine("</a>");
  27.                sb.AppendLine("</li>");
  28.                sb.AppendLine("</ul>");
  29.             }
  30.             sb.AppendLine("</div>");
  31.             string cpret = sb.ToString();
  32.             return cpret;
  33.         }
css code:
  1. .tabs-right 
  2.     height: 100%;
  3.     font: 12px/18px "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  4.     -moz-transform: scale(0.7) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  5.     -webkit-transform: scale(0.7) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg); 
  6.     -o-transform: scale(0.7) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  7.     -ms-transform: scale(0.7) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  8.      transform: scale(0.7) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  9.      -webkit-border-radius: 50px;
  10.      border-radius: 50px;
  11. }
  12. .tabs-right >ul {
  13. float: left;
  14.     width:250px;
  15.     top:0;
  16.     display: block;
  17.     border: 1px solid #DDD;
  18.     padding:0;
  19.     -webkit-border-radius: 50px;
  20.     border-radius: 50px;
  21. }
  22. .tabs-right >ul >li {
  23.     width: 250px;
  24.     height:15px;
  25.     list-style-type: none;
  26.     display: block;
  27.     font-size: 1.11em;
  28.     border-right-width: 0;
  29.     border: 1px solid #000;
  30.     margin: auto;
  31.     padding: 10px 15px !important;  
  32.     background: whiteSmoke; /* Old browsers */
  33.     background: -moz-linear-gradient(top, #000000 0%, #f2f2f2 100%); /* FF3.6+ */
  34.     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #000000), color-stop(100%, #f2f2f2)); /* Chrome,Safari4+ */
  35.     background: -webkit-linear-gradient(top, #000000 0%, #f2f2f2 100%); /* Chrome10+,Safari5.1+ */
  36.     background: -o-linear-gradient(top, #000000 0%, #f2f2f2 100%); /* Opera 11.10+ */
  37.     background: -ms-linear-gradient(top, #000000 0%, #f2f2f2 100%); /* IE10+ */
  38.     background: linear-gradient(top, #000000 0%, #f2f2f2 100%); /* W3C */   
  39.      -webkit-border-radius: 50px;
  40.      border-radius: 50px;
  41. }

  42. .tabs-right >ul >li >a 
  43. {
  44.     color:white;
  45.     width:100%;
  46. }
  47. .tabs-right > div {
  48. height: 35em;
  49. }