1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Showing Privacy Policy in a nice overlay

Discussion in 'Programming' started by Website_Playboy, Oct 5, 2013.

  1. #1
    I know there are many scripts out there and I tried all of them but i always get stuck on one or more issues.

    Can somebody please give me a nice overlay script which I can click on the words "Privacy Policy" and it opens a nice overlay covering the entire page even when you scroll down or up, with a smooth transition like in jquery and then when I click on anywhere on the page, it closes it back up?
     
    Website_Playboy, Oct 5, 2013 IP
  2. DenisL

    DenisL Active Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    76
    #2
    You might be interested by fancyBox.

    It is a plugin and has a lot of options to change its behaviour and style.
     
    DenisL, Oct 5, 2013 IP
  3. Website_Playboy

    Website_Playboy Member

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    Too complicated. Couldnt actually figure out.

    All I need is when you click on a link it will open the overlay with an html content and when you click anywhere it will close it. That is all.
     
    Website_Playboy, Oct 5, 2013 IP
  4. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #4
    Then go with simple vanilla JS , what your asking fore doesn't take more then 10 lines of code or 4 lines of jQuery if vanilla is to hard for you.
     
    ApocalypseXL, Oct 5, 2013 IP
  5. Website_Playboy

    Website_Playboy Member

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    Where is the overlay code I am looking for? There are so many things on vanilla JS website.

    I am not good with coding that is why I was asking for the specific and simple code so i can just copy and paste
     
    Website_Playboy, Oct 5, 2013 IP
  6. xtmx

    xtmx Active Member

    Messages:
    359
    Likes Received:
    12
    Best Answers:
    4
    Trophy Points:
    88
    #6
    xtmx, Oct 5, 2013 IP
  7. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #7
    ThePHPMaster, Oct 5, 2013 IP
  8. Website_Playboy

    Website_Playboy Member

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #8
    These are pretty good. Thx guys.
     
    Website_Playboy, Oct 6, 2013 IP
  9. Website_Playboy

    Website_Playboy Member

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #9
    Also just for future reference for the people who will be looking for the same thing. http://vast-eng.github.io/jquery-popup-overlay/ I found this to be the best and easiest.
     
    Website_Playboy, Oct 6, 2013 IP