我是一名中文翻译,以下是关于IT技术方面的翻译内容。您需要使用此jQuery提示工具来显示链接按钮的描述。但是此提示工具会显示在底部,您该如何将其显示在链接按钮的顶部呢?
HTML代码如下:
HTML代码如下:
<html>
<head runat="server">
<title></title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
<script>
$(function () {
$(document).tooltip({
position: {
my: "center bottom",
at: "center top",
},
});
});
</script>
<style type="text/css">
label
{
display: inline-block;
width: 5em;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<li><a href="#" class="pureCssMenui">Department</a>
<ul class="pureCssMenum">
<li class="pureCssMenui"><a class="pureCssMenui" href="WebForm.aspx" title="Contains list of Manufacturers">
Manufacturer</a></li>
<li class="pureCssMenui"><a class="pureCssMenui" href="ToolTip.aspx" title="Contains list of jquery tooltip">
ToolTip</a></li>
</ul>
</li>
</table>
</div>
</form>
</body>
</html>