Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
coolcat-creations authored Oct 14, 2017
1 parent 4ce7314 commit 2139831
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,43 @@
# mod_ccctwoclick
This module reveals an external iframe only after user click. (2-Click Solution) to respect the privacy of the user.

This could be an iframe of a Facebook Like Box, a Facebook Comment Box, a Youtube Video or whatever.
Due to EU privacy law it might be obligatory to let the user decide if an external iframe is loaded or not.

In this module you can setup a specific iframe source and load it only,
when the user gives the permission by clicking a button.

## Available Settings
### Content before click

Background Image: Set up a Background Image that is shown, before the iframe is loaded.
(That can be a blurry picture of the content that has to be revealed.)

Backgroundsize: Select the Background Size Property (Auto, Cover or Contain)

Content: You can add text here that will be shown below the image before the iframe is revealed.
(That can be an information like: "We respect your privacy, to reveal the Facebook Comment box click the button below")

Custom Button Text: The default button text is setup in the language file, if you want to use your custom language key or string just fill this input with your custom text.

Button Class: Add here a Button Class if needed

### Content after click:

Custom Button Text: The default button text is setup in the language file, if you want to use your custom language key or string just fill this input with your custom text.

Button Class: Add here a Button Class if needed

### Iframe Settings:
IFrame Source: Fill this input with the iframe link

Width: Set the iframe width here in px or %
Height: Set the iframe height here in px or %
(mind that the Facebook iframes have specific min/max sizes)

Frameborder: Setup the Frameborder of the iframe
Allow Fullscreen: Setup the fullscreen attribute to true or false
Allow Transparency: Setup the transparency attribute to true or false
Scrolling: Setup the scrolling attribute to yes or no
Load module css: Disable the Module CSS if needed

0 comments on commit 2139831

Please sign in to comment.