我如何显示“法定饮酒年龄”? 提醒某个网站?

发布于 2024-07-30 02:29:35 字数 72 浏览 6 评论 0原文

我有一个网站,您必须年满 21 岁才能从该网站购买葡萄酒。 我如何发出“提醒”,表明通过点击购买页面,您证明您已年满 21 岁?

I have a website where you're supposed to be 21 or older to buy the wine from this site. How do I put an "alert" up stating that by clicking through to the buy pages you certify that you are 21 years or older?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

活泼老夫 2024-08-06 02:29:35

我觉得兰多夫的建议有点太烦人了。 我认为您应该在“购买”按钮旁边添加文字,注明“通过购买,您承认您已年满 21 岁”。

我也喜欢谷歌一些按钮的设计方式。 他们让按钮显示“您同意条款和条件”。 它比复选框容易得多。
注意:刚刚意识到论坛多年来一直这样做。 哈哈。

但老实说,在不将其隐藏在页脚的情况下,最不具有侵入性的方法是要么将其设置为按钮,要么在按钮旁边添加注释。 这样就绝对没有额外的步骤了。

顺便说一句,就像安德鲁IANAL。

I think Randolpho's suggestion is a little too annoying. I think you should just put text next to the 'Buy' button that says 'By Purchasing, you are acknowledging you are 21 or older.'

I also like the way Google has done some of their buttons. They make the button say 'You Agree to Terms and Conditions'. It is much easier than a checkbox.
Note: Just realized forums have been doing it this way for years. lol.

But in all honesty, the least intrusive way to do it without hiding it at the footer, is to either make it the button, or put a note next to the button. That way there are absolutely no extra steps.

BTW, Like Andrew IANAL.

云归处 2024-08-06 02:29:35

www.wine.com 的方式是要求您创建一个帐户来购买东西,需要名字、姓氏、电子邮件、密码、邮政编码和出生日期。 DOB 字段旁边写着“(必须年满 21 岁)”。

简单易行,不会让用户感到厌烦。 (比弹出窗口不那么烦人。)

The way that www.wine.com does it, is by requiring you to create an account to buy something, which requires a first name, last name, e-mail, password, zip code and date of birth. Next to the DOB field it says "(Must be 21 yrs old)."

Simple to do and not annoying for users. (Less annoying than a pop-up window.)

瀞厅☆埖开 2024-08-06 02:29:35

除了软件开发人员之外,我还是一名律师。 IMO,从法律角度来看,你处于更好的位置,要求每个人都注册,并且注册行为需要确认用户确实超过 21 岁的具体断言。如果出现问题,你就有了一些东西可以参考的系统是肯定的。 我还会在每一页的底部放置免责声明。

可能不是您正在寻找的技术答案......但从法律上讲,我认为这会对您有所帮助。

要回答您的具体问题,主页中类似的内容可能会有所帮助...

<script language="javascript" type="text/javascript">
alert('By entering this site, you certify that you are at least 21 years of age.');
</script> 

希望有所帮助...

In addition to being a software developer, I am also a lawyer. IMO, from a legal perspective, you are in much better position to require everyone to register and that the act of registering - requires acknowledging a specific assertion that the user is indeed over 21. In the event the crap hits the fan, you have something affirmative in the system that can be referenced. I would also put a disclaimer at the foot of every page.

Probably not the tech answer you were looking for...but legally, I think it will help you.

To answer your specific question, something like this in your main page could help...

<script language="javascript" type="text/javascript">
alert('By entering this site, you certify that you are at least 21 years of age.');
</script> 

Hope that helps...

饮惑 2024-08-06 02:29:35

在这种情况下,我认为最好检查一下竞争对手如何处理自己并模仿其功能。 如前所述,wine.com 需要帐户和年龄验证/确认。 我建议你做同样的——完全相同的——事情。

In this case, I think it is best to check out how the competion handles themselves and mimic the functionality. As previously mentioned, wine.com requires an account and age validation/acknowledgement. I suggest you do the same -- EXACTLY the same -- thing.

孤独陪着我 2024-08-06 02:29:35

第 1 页:

您必须年满 21 岁才能从本网站购买葡萄酒。 通过点击、等等等等、法律免责声明等。包含指向第 2 页的链接。

第 2 页:

主网站。

Page 1:

You must be 21 or older to buy wine from this site. By clicking, blah blah blah, legal disclaimer, etc. Contains a link to Page 2.

Page 2:

The main website.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文