axure 中继器标记行_动作中继标记

本文介绍了如何使用Axure中继器的元标记实现页面刷新和自动重定向。通过在文档的<head>部分插入元标记,可以设置页面在指定秒数后自动刷新或跳转至新的URL,这对于经常更新的页面或网站迁移尤为有用。
摘要由CSDN通过智能技术生成

axure 中继器标记行

Meta tags can also be used to cause actions in the browser itself. The most common is the “refresh” meta tag, useful for having a page that is often updated auto-reload in the browser window (the index page of CNN.com being a good example) or to redirect the user to another page automatically (as when a site has moved from one URL to another, and you want people who bookmarked the old site to be automatically redirected to the site’s new location).

元标记还可以用于在浏览器本身中引起操作。 最常见的是“刷新”元标记,它用于使页面经常在浏览器窗口中自动重新加载(CNN.com的索引​​页面是一个很好的示例)或将用户自动重定向到另一个页面(就像网站从一个URL移到另一个URL一样,并且您希望将标记了旧站点的人自动重定向到该站点的新位置)。

Again, the meta tag is written inside the head section of the document:

同样,将meta标记写入文档的head

<meta http-equiv="refresh" content="5;url=http://www.cnn.com">

The number immediately after the content is the number of seconds before the refresh takes place, following it after a comma is the URL to which the page will go. (If there is no URL placed here, the page will simply reload itself).

内容后的数字是刷新发生前的秒数,逗号后是页面将转到的URL。 (如果此处未放置URL,则页面将自动重新加载自身)。

翻译自: https://thenewcode.com/142/Action-meta-tags

axure 中继器标记行

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值