推荐链接 [英] Promoted Links

查看:74
本文介绍了推荐链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮忙.

我需要打开一个新的具有特定高度和宽度的浏览器窗口.我知道如何在文本链接上使用基本的JavaScript来执行此操作,但是有没有办法我可以在其中使用其中一个图块升级链接?因此,当单击特定的图块时,它将打开一个新的浏览器 设置宽度和高度的窗口. SharePoint打开对话框功能无法满足我的需求.

I need to open a new browser window with specific height and width. I know how to do this using basic JavaScript on a text link, but is there a way I can use one of the tiles in  promoted links? so when a specific tile is clicked it opens a new browser window with set width and high. The SharePoint open dialog function will not work for what I need.

谢谢

Kieran

推荐答案

Hi Kier4n,

Hi Kier4n,

要打开新的浏览器窗口,并设置宽度和高度,可以将启动行为"设置为对话框",并在单击升级链接时修改对话框的大小.

To open a new browser window with set width and high, you can set Launch Behavior as Dialog and modify the size of the dialog when click the promote links.

以下CSS样式供您参考,我们可以将该样式添加到内容编辑器Web部件中以修改对话框大小.

The following CSS style for your reference, we can add the style into a content editor web part to modify the dialog size.

<style type="text/css">
.ms-dlgContent
{
    width:617px !important; 
    height:448px !important 
}
.ms-dlgBorder
{
    width:615px !important; 
    height:446px !important 
}
</style> 

最好的问候

Lisa Chen

Lisa Chen


这篇关于推荐链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆