如何去除“背面”按钮/如何保留后退按钮
更改:如果用户来自“主页”,“搜索耗材”页面的底部应有一个按钮:“后退”按钮。
添加:如果用户来自主页以外的网页,则“搜索耗材”页面不应有按钮。
我如何删除“后退”按钮但同时保留它?当您直接从主页访问该页面时,“后退”按钮需要在那里,但是当您从主页以外的其他选项卡进入“搜索耗材”页面时,它不应该在那里。
CHANGED: If the user is coming from the 'home page', the ‘Search Supplies’ page shall have one button on the bottom of the page: the ‘Back’ button.
ADDED: If the user is coming from a web page other than the home page, the ‘Search Supplies’ page shall have no buttons.
How would I remove the 'back' button but at the same time keep it? When you access the page directly from the home page the 'back' button needs to be there, but when you come to the 'Search Supplies' page from a different tab other than home, it should not be there.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是按域划分的另一个示例:
Here is another example by domain:
使用魔法
尝试从某个服务器或客户端变量查看HTTP_REFFERER,以了解用户来自(或不来自)并从那里工作。
With magic
Try to view the HTTP_REFFERER from some server or client variable to see where the user is coming from (or not coming from) and work from there.