如何设置链接,使其在Google App Maker的新标签或窗口中打开? [英] How do you set a Link so that it opens in a new tab or window in Google App Maker?

查看:45
本文介绍了如何设置链接,使其在Google App Maker的新标签或窗口中打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Google App Maker应用程序中,每当用户单击链接时,它都会导致href链接在与该应用程序相同的窗口中打开.这会引起问题,因为用户必须单击返回才能再次访问该应用程序.有什么方法可以设置链接,以便当用户单击链接时(没有右键单击>打开新标签页),页面会在新标签页/窗口中打开?谢谢.

In my Google App Maker application, whenever a user clicks on a Link, it causes the href link to open in the same window as the application. This causes a problem because the user has to click back in order to access the application again. Is there any way to set the link such that when a user clicks on it (without right click > open new tab), the page opens in a new tab/window? Thanks.

推荐答案

尝试 window.open('www.your_link.com','_blank');

这篇关于如何设置链接,使其在Google App Maker的新标签或窗口中打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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