Agree to terms popup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ian Shere

    #1

    Agree to terms popup

    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



  • Janwillem Borleffs

    #2
    Re: Agree to terms popup


    "Ian Shere" <ian@tarzandesi gn.co.nz> schreef in bericht
    news:XiLDb.1329 7$ws.1300692@ne ws02.tsnz.net.. .[color=blue]
    > I have an FAQ page on my site, but, because much of the information could[/color]
    be[color=blue]
    > relative to the area council's bylaws, I want to have a pop-up window[/color]
    appear[color=blue]
    > 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[/color]
    then[color=blue]
    > I want them to click either "I agree" (action will close pop-up and[/color]
    direct[color=blue]
    > them to FAQ's page) or "I disagree" (action will close pop-up and leave[/color]
    them[color=blue]
    > at page they were at when clicking the link).
    >
    > The script needs to be linked to the clicking of an image. Thanks.
    >[/color]

    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



    Comment

    • Lasse Reichstein Nielsen

      #3
      Re: Agree to terms popup

      "Ian Shere" <ian@tarzandesi gn.co.nz> writes:
      [color=blue]
      > 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,[/color]

      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(faqDisc laimer);">
      <img src="faq.png">
      </a>

      [color=blue]
      > 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.[/color]

      ---
      <script type="text/javascript">
      function gotoFAQ() {
      window.open("fa qquery.html","_ blank","...");
      }
      </script>

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

      <script type="text/javascript">
      function accept() {
      window.opener.l ocation.href="f aq.html";
      window.opener.f ocus();
      window.close();
      }
      </script>
      <h1>DISCLAIME R</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 - lrn@hotpop.com
      DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
      'Faith without judgement merely degrades the spirit divine.'

      Comment

      • Eric Bohlman

        #4
        Re: Agree to terms popup

        "Ian Shere" <ian@tarzandesi gn.co.nz> wrote in
        news:XiLDb.1329 7$ws.1300692@ne ws02.tsnz.net:
        [color=blue]
        > 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.[/color]

        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.

        Comment

        • Ian Shere

          #5
          Re: Agree to terms popup

          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

          "Janwillem Borleffs" <jw@jwscripts.c om> wrote in message
          news:3fdf82a7$0 $176$1b62eedf@n ews.wanadoo.nl. ..[color=blue]
          >
          > "Ian Shere" <ian@tarzandesi gn.co.nz> schreef in bericht
          > news:XiLDb.1329 7$ws.1300692@ne ws02.tsnz.net.. .[color=green]
          > > I have an FAQ page on my site, but, because much of the information[/color][/color]
          could[color=blue]
          > be[color=green]
          > > relative to the area council's bylaws, I want to have a pop-up window[/color]
          > appear[color=green]
          > > 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[/color]
          > then[color=green]
          > > I want them to click either "I agree" (action will close pop-up and[/color]
          > direct[color=green]
          > > them to FAQ's page) or "I disagree" (action will close pop-up and leave[/color]
          > them[color=green]
          > > at page they were at when clicking the link).
          > >
          > > The script needs to be linked to the clicking of an image. Thanks.
          > >[/color]
          >
          > 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[/color]
          the[color=blue]
          > page...
          >
          >
          > JW
          >
          >
          >[/color]


          Comment

          • Grant Wagner

            #6
            Re: Agree to terms popup

            Lasse Reichstein Nielsen wrote:
            [color=blue]
            > "Ian Shere" <ian@tarzandesi gn.co.nz> writes:
            >[color=green]
            > > 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,[/color]
            >
            > 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(faqDisc laimer);">
            > <img src="faq.png">
            > </a>[/color]

            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 <gwagner@agrico reunited.com>

            * Client-side Javascript and Netscape 4 DOM Reference available at:
            *


            * 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


            Comment

            • Lasse Reichstein Nielsen

              #7
              Re: Agree to terms popup

              Grant Wagner <gwagner@agrico reunited.com> writes:
              [color=blue]
              > 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.[/color]

              That was deliberate. I prefer pages that work without Javascript as well
              as with, so the fallback was to allowing access.
              [color=blue]
              > 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?[/color]

              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.
              [color=blue]
              > It's a silly example, but I'm trying to point out that a disclaimer
              > that no one has to read is completely pointless.[/color]

              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 - lrn@hotpop.com
              DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
              'Faith without judgement merely degrades the spirit divine.'

              Comment

              • Dr John Stockton

                #8
                Re: Agree to terms popup

                JRS: In article <XiLDb.13297$ws .1300692@news02 .tsnz.net>, seen in
                news:comp.lang. javascript, Ian Shere <ian@tarzandesi gn.co.nz> posted at
                Wed, 17 Dec 2003 11:03:36 :-
                [color=blue]
                >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.[/color]

                Better to have, at the top of every page,

                <p align=center><a href="cond-use.htm"><big>C ONDITIONS 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.demo n.co.uk/js-index.htm> Jsc maths, dates, sources.
                <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/Jsc/&c, FAQ topics, links.

                Comment

                Working...