I think that your problem will get solved after writing the following code :
HTML Code:
<html xmlns="http://www.javascript.org/2001/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript"> <!-- src="link.js" -->
var links = [
["My Autobiography - Book","http://www.greatperson.com/web1/autobiography"],
["The Jack and Beans - Fairy Tales",
"http://www.disneytales.com/click-245324-10785 target=_top"]
];
function linkDisplay() {
var str = '';
for (i=0; i<links.length; i++) {
str += '<tr><td id="'+i+'">';
str += "<ol><a href="+links[i][1]+">"+links[i][1]+"</a></ol>";
str += "</td></tr>";
}
document.write(str);
}
</script>
<style type="text/css">
#table1 {
position:absolute;
width:510px;
height:43px;
z-index:1;
border-collapse: collapse;
border: 2px solid;
border-color:#00CCCC;
font-family: "Comic Sans MS", "Lucida Grande", Sans-Serif;
font-size: 16px;
}
#table1 tbody tr:hover td {
background: #d0dafd;
}
#table1 td {
color: #00CCFF;
}
#table1 th {
color: #2299FF;
border-bottom: 2px dashed #69c;
}
</style>
</head>
<body>
<table width="520" border="1" cellpadding="0" cellspacing="0" id="table1">
<script type="text/javascript">linkDisplay();</script>
</table>
</body>
</html>
Bookmarks