Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Agree to terms popup

Reply
Thread Tools

Agree to terms popup

 
 
Ian Shere
Guest
Posts: n/a
 
      12-16-2003
I have an FAQ page on my site, but, because much of the information could be
relative to the area council's bylaws, I want to have a pop-up window appear
when someone clicks the "FAQ's" menu button. In the window will be my
disclaimer regarding the use of the information on the FAQ's page, and then
I want them to click either "I agree" (action will close pop-up and direct
them to FAQ's page) or "I disagree" (action will close pop-up and leave them
at page they were at when clicking the link).

The script needs to be linked to the clicking of an image. Thanks.

--
Ian Shere
Tarzan Design Ltd
Award Winning Architecture
www.tarzandesign.co.nz


 
Reply With Quote
 
 
 
 
Janwillem Borleffs
Guest
Posts: n/a
 
      12-16-2003

"Ian Shere" <(E-Mail Removed)> schreef in bericht
news:XiLDb.13297$(E-Mail Removed)...
> I have an FAQ page on my site, but, because much of the information could

be
> relative to the area council's bylaws, I want to have a pop-up window

appear
> when someone clicks the "FAQ's" menu button. In the window will be my
> disclaimer regarding the use of the information on the FAQ's page, and

then
> I want them to click either "I agree" (action will close pop-up and

direct
> them to FAQ's page) or "I disagree" (action will close pop-up and leave

them
> at page they were at when clicking the link).
>
> The script needs to be linked to the clicking of an image. Thanks.
>


And what if I have JS disabled in my browser? T&C pages should always show
their text in a normal window with the "I Agree" button on the bottom of the
page...


JW



 
Reply With Quote
 
 
 
 
Lasse Reichstein Nielsen
Guest
Posts: n/a
 
      12-16-2003
"Ian Shere" <(E-Mail Removed)> writes:

> I have an FAQ page on my site, but, because much of the information could be
> relative to the area council's bylaws, I want to have a pop-up window appear
> when someone clicks the "FAQ's" menu button. In the window will be my
> disclaimer regarding the use of the information on the FAQ's page,


Have you considered using the confirm dialog?

I.e.
<script type="text/javascript">
var faqDisclaimer =
"Blah blah bla ....................................\n" +
"blah blah ............ \n" +
"blah blah blah! \n\n" +
"Press OK to accept this.";
</script>
<a href="faq.html" onclick="return confirm(faqDisclaimer);">
<img src="faq.png">
</a>


> and then I want them to click either "I agree" (action will close
> pop-up and direct them to FAQ's page) or "I disagree" (action will
> close pop-up and leave them at page they were at when clicking the
> link).
>
> The script needs to be linked to the clicking of an image. Thanks.


---
<script type="text/javascript">
function gotoFAQ() {
window.open("faqquery.html","_blank","...");
}
</script>

<a href="faq.html"><img src="faq.png" onclick="gotoFAQ();return false;"></a>
---
In the linked page ("faqquery.html" here), have it contain:
---

<script type="text/javascript">
function accept() {
window.opener.location.href="faq.html";
window.opener.focus();
window.close();
}
</script>
<h1>DISCLAIMER</h1>
<p>Blah blah .... </p>
<p><input type="button" value="I agree" onclick="accept()">
<input type="button" value="I disagree" onclick="window.close()"></p>
---

(warning, untested code, remember to fill in the blanks)

/L
--
Lasse Reichstein Nielsen - http://www.velocityreviews.com/forums/(E-Mail Removed)
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
 
Reply With Quote
 
Eric Bohlman
Guest
Posts: n/a
 
      12-16-2003
"Ian Shere" <(E-Mail Removed)> wrote in
news:XiLDb.13297$(E-Mail Removed):

> I have an FAQ page on my site, but, because much of the information
> could be relative to the area council's bylaws, I want to have a
> pop-up window appear when someone clicks the "FAQ's" menu button. In
> the window will be my disclaimer regarding the use of the information
> on the FAQ's page, and then I want them to click either "I agree"
> (action will close pop-up and direct them to FAQ's page) or "I
> disagree" (action will close pop-up and leave them at page they were
> at when clicking the link).
>
> The script needs to be linked to the clicking of an image. Thanks.


Quite simply, don't do it. Put the disclaimer in a prominent position on
the FAQ page. You're not going to gain any sort of legal advantage by
using a client-side "click to accept" prompt since such things don't leave
any records.
 
Reply With Quote
 
Ian Shere
Guest
Posts: n/a
 
      12-16-2003
Thanks Janwillem; something I hadn't thought of. If a visitor has JS
disabled then there will be quite a bit of other stuff that won't work
either, but, most importantly, the T&C wouldn't and they may get direct
access which I obviously don't want. Perhaps a moot point though as all the
answers to the FAQ's open in a JS window!!

But your point taken; same caution re pop-up blockers too. I have a text
box on the FAQ page telling people that, if they use a blocker, they won't
see any answers.

--
Ian Shere
Tarzan Design Ltd
Award Winning Architecture
www.tarzandesign.co.nz
"Janwillem Borleffs" <(E-Mail Removed)> wrote in message
news:3fdf82a7$0$176$(E-Mail Removed)...
>
> "Ian Shere" <(E-Mail Removed)> schreef in bericht
> news:XiLDb.13297$(E-Mail Removed)...
> > I have an FAQ page on my site, but, because much of the information

could
> be
> > relative to the area council's bylaws, I want to have a pop-up window

> appear
> > when someone clicks the "FAQ's" menu button. In the window will be my
> > disclaimer regarding the use of the information on the FAQ's page, and

> then
> > I want them to click either "I agree" (action will close pop-up and

> direct
> > them to FAQ's page) or "I disagree" (action will close pop-up and leave

> them
> > at page they were at when clicking the link).
> >
> > The script needs to be linked to the clicking of an image. Thanks.
> >

>
> And what if I have JS disabled in my browser? T&C pages should always show
> their text in a normal window with the "I Agree" button on the bottom of

the
> page...
>
>
> JW
>
>
>



 
Reply With Quote
 
Grant Wagner
Guest
Posts: n/a
 
      12-17-2003
Lasse Reichstein Nielsen wrote:

> "Ian Shere" <(E-Mail Removed)> writes:
>
> > I have an FAQ page on my site, but, because much of the information could be
> > relative to the area council's bylaws, I want to have a pop-up window appear
> > when someone clicks the "FAQ's" menu button. In the window will be my
> > disclaimer regarding the use of the information on the FAQ's page,

>
> Have you considered using the confirm dialog?
>
> I.e.
> <script type="text/javascript">
> var faqDisclaimer =
> "Blah blah bla ....................................\n" +
> "blah blah ............ \n" +
> "blah blah blah! \n\n" +
> "Press OK to accept this.";
> </script>
> <a href="faq.html" onclick="return confirm(faqDisclaimer);">
> <img src="faq.png">
> </a>


And if I have JavaScript disabled, I can read the FAQ without agreeing to their
terms. Heck, I can read the FAQ without agreeing to the terms by simply
identifying the target page and going there directly.

And since I haven't read the disclaimer, I guess I'm not bound by whatever terms
they wanted me to agree to before reading the FAQ, so if the FAQ suggests I jump
off a building without a parachute, but the disclaimer said I do so at my own
risk, and I follow the FAQ without having read the disclaimer, who's at fault?

It's a silly example, but I'm trying to point out that a disclaimer that no one
has to read is completely pointless.

--
| Grant Wagner <(E-Mail Removed)>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html


 
Reply With Quote
 
Lasse Reichstein Nielsen
Guest
Posts: n/a
 
      12-17-2003
Grant Wagner <(E-Mail Removed)> writes:

> And if I have JavaScript disabled, I can read the FAQ without
> agreeing to their terms. Heck, I can read the FAQ without agreeing
> to the terms by simply identifying the target page and going there
> directly.


That was deliberate. I prefer pages that work without Javascript as well
as with, so the fallback was to allowing access.

> And since I haven't read the disclaimer, I guess I'm not bound by
> whatever terms they wanted me to agree to before reading the FAQ, so
> if the FAQ suggests I jump off a building without a parachute, but
> the disclaimer said I do so at my own risk, and I follow the FAQ
> without having read the disclaimer, who's at fault?


Without my signature, they'll be hard pressed to prove that I agreed
to anything. It's the usual problem with, e.g., click-wrap licenses.
They are (probably) not binding. And if they are, my cat pressed the
"I agree" button, not me.

> It's a silly example, but I'm trying to point out that a disclaimer
> that no one has to read is completely pointless.


Willfully avoiding the disclaimer should not void it. Putting a
prominent link at the FAQ page with the title "DISCLAIMER, must read!"
should be sufficient.

But then again, I am not a lawyer, and I don't live in the US
/L
--
Lasse Reichstein Nielsen - (E-Mail Removed)
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
 
Reply With Quote
 
Dr John Stockton
Guest
Posts: n/a
 
      12-17-2003
JRS: In article <XiLDb.13297$(E-Mail Removed)>, seen in
news:comp.lang.javascript, Ian Shere <(E-Mail Removed)> posted at
Wed, 17 Dec 2003 11:03:36 :-

>I have an FAQ page on my site, but, because much of the information could be
>relative to the area council's bylaws, I want to have a pop-up window appear
>when someone clicks the "FAQ's" menu button.


Better to have, at the top of every page,

<p align=center><a href="cond-use.htm"><big>CONDITIONS OF USE</big></a>

Then, everyone reaching the page should see it.

If you have anchors within the page, repeat that text at the bottom. Do
it all in plain basic HTML, so that it is not possible for the page to
be readable without the conditions being reachable.

On second thoughts, make that an absolute, rather than a relative, link
so that the conditions are accessible from a copy of the real page.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> Jsc maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/Jsc/&c, FAQ topics, links.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating DTD to agree with its use in doc's christopher.c.brewster@lmco.com XML 5 01-26-2005 10:21 PM
ZipOutputStream, ZipFile and Linux unzip do not agree on the file count in zip C B Java 4 11-10-2004 11:13 AM
Main > Popup > Popup > Close popup AND new URL in main? Jens Peter Hansen Javascript 7 06-19-2004 08:56 PM
Reviews: when Dave, Phil, Steve don't agree - comments? CR Optiker Digital Photography 14 11-13-2003 11:51 PM
I agree Per Computer Support 3 09-18-2003 07:30 PM



Advertisments