如何创建链接或按钮以启动多个链接,文档等? [英] How to create a link or button to launch multiple links, docs, etc?
问题描述
美好的一天,
我一直试图弄清楚如何添加,制作,设计一次启动多个项目的链接或按钮。我们的小组现在分为支持企业,他们使用不同的文档和链接,所以我没有为每个
的项目添加链接,而是试图找到一种方法来添加一个链接,但让它启动所有项目一次。这可能吗?如果是这样,你能为我提供一步一步的指示吗?和截图,我们目前有sharepoint 2013.Tks
I have been attempting to figure out how to add, make, design a link or button that will launch multiple items at once. Our group right now is divided among supporting businesses, and they use different docs and links, so instead of adding a link for each of the items, I was trying to find a way to add one link, but have it launch all items at once. Is this possible? If so, could you provide me a step by step instructions? and screenshots, we currently have sharepoint 2013.Tks
推荐答案
嗨大卫,
你单击页面中的链接可以使用JavaScript打开多个链接,下面是一个演示,您可以自定义您的环境代码:
You can use JavaScript to open multiple links when click a link in the page, here is a demo below, you can customize the code for your environment:
('a.yourlink')。click(function(e){
e.preventDefault();
window.open('http ://yoururl1.com');
window.open('http://yoururl2.com');
});
('a.yourlink').click(function(e) { e.preventDefault(); window.open('http://yoururl1.com'); window.open('http://yoururl2.com'); });
参考:
https://stackoverflow.com/questions/7064998/how-to-make-a-link-open - 点击多个页面
祝你好运,
Grace Wang
Grace Wang
>
这篇关于如何创建链接或按钮以启动多个链接,文档等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!