What is this called?

Discussion in 'HTML & Website Design' started by Dee2007, Jan 16, 2012.

  1. #1
    Hi

    I want a script that when you click on the url a pop up box appears, stating your terms and conditions only when the visitor clicks agree can they view the site.

    I found a script to do it a while ago but can't remember what search term I used at the time so I can't find it again.

    A refresher from someone would be appreciated.

    Thanks in advance

    Dee
     
    Dee2007, Jan 16, 2012 IP
  2. Rising_Star

    Rising_Star Active Member

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #2
    Why don't you create a script on own.. it would be quite small javascript onclick event
     
    Rising_Star, Jan 17, 2012 IP
  3. Dee2007

    Dee2007 Active Member

    Messages:
    1,185
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    88
    #3
    Hi

    I remembered the search term I used I'm sure it was disclaimer script but I cannot find the script I previously seen.

    I have seen ones where you get the javascript alert box but that's not what I am looking for.

    I want it so that you have the look of a lightbox, where when the page loads the background is coloured over and only when you click I agree can you view the site.

    I didn't post in B/S/T because I was hoping someone could point me in the direction of a ready made script, but if not and someone can write me one please let me know the cost.

    Thanks

    Dee
     
    Dee2007, Jan 17, 2012 IP
  4. M8INTERNET

    M8INTERNET Member

    Messages:
    95
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #4
    This is probably along the lines of an external link warning
    There are plenty of such scripts which provide a warning that you are leaving the website and the visitor is required to confirm they want to proceed

    <script type="text/javascript">
     function Warn() {
     window.alert('Warning the link you have clicked is an external link; we are not responsible for any content on this site');
     }
     </script>
     
    <a href="externallink.com" onclick="Warn();">External</a>
     
    Code (markup):
    You could modify this to give a choice for yes / no

    An alternative :
    http://www.samisite.com/test-csb2nf/id108.htm
     
    Last edited: Jan 17, 2012
    M8INTERNET, Jan 17, 2012 IP
  5. Dee2007

    Dee2007 Active Member

    Messages:
    1,185
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    88
    #5
    Thanks, but the client wants a bit more than an alert box

    I want it to work the way a lightbox does but instead of a image, I want a pop up containing their terms and a check box for them to agree. It must load as soon as the page loads.

    Does anyone know how to achieve this?
     
    Dee2007, Jan 21, 2012 IP
  6. diannesw

    diannesw Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    I've heard people using the term splashscreen... You could create an Ajax or Javascript box for HTML... I've used a plugin for Wordpress called Splashscreen that does the exact thing you're looking for. Hope this helps.
     
    diannesw, Jan 23, 2012 IP
  7. barbie01

    barbie01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thank you for all the information guys. I'm so glad that I dropped in this forum. I have learned something for today. Thanks!
     
    barbie01, Jan 24, 2012 IP