网页中加入 JS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<link href="css/mycss.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
function bookmarkit()
{
window.external.addFavorite('http:\\www.**.com','软件学院');
}
</script>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<link href="css/mycss.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
function bookmarkit()
{
window.external.addFavorite('http:\\www.**.com','软件学院');
}
</script>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>