如果你想在MOSS中自定义列表或文档库中的上下文菜单,可以使用CustomAction的Feature来实现,也可以直接在页面上加一个内容编辑器(包括特定的一段Javascript)来实现,比如:
<script language="javascript">
function Custom_AddListMenuItems(m, ctx)
{
    strDisplayText = "Send Email";
    strAction = "STSNavigate('url')";
    strImagePath="";
    menuOption = CAMOpt(m,strDisplayText,strAction,strImagePath);
    menuOption.id = "ID_MySubMenu";
    return false;
}
</script>

个人感觉后面一种方式很有趣,灵活性较大。搜索了一下,发现两篇关于实现的方法,一中一英,呵呵,希望对你有所帮助。

用javascript自定义SharePoint文档库/列表项菜单
http://www.cnblogs.com/ycc/archive/2007/10/30/942223.html

Customizing SharePoint Context Menus
http://blogs.msdn.com/bowerm/articles/175691.aspx

相关文章:

  • 2022-03-04
  • 2022-01-03
  • 2021-10-04
  • 2022-12-23
  • 2021-10-13
  • 2021-09-07
  • 2022-12-23
  • 2021-09-13
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2021-06-14
  • 2021-11-08
  • 2022-12-23
  • 2021-09-06
相关资源
相似解决方案