在新窗口中打开自定义网站操作链接 (SharePoint)
在 SharePoint 中使用自定义操作(对于“网站操作”菜单)时,如何才能使链接在新窗口中打开?
我尝试了一种使用 jQuery 的方法,该方法通过 .live() 附加一个悬停事件,以用 window.open 调用替换 window.location - 然而这被证明很麻烦,因为它拒绝在 IE6 中工作(其中很大一部分)我们的用户仍在使用...)。
When using custom actions in SharePoint (for the Site Actions menu) how can I make it so that the links will open up in a new window?
I have tried an approach using jQuery that would attach a hover event via .live() to replace the window.location with a window.open call -- however this proved to be troublesome as it refused to work in IE6 (which a large portion of our users are still using...).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不可能开箱即用。 但这可以通过一点小技巧来完成。 请参阅这些链接
MSDN 问题
博客文章
Its is not possible out of box. But it can be done using little hack. Refer to these links
MSDN Question
Blog Post