-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ce7314
commit 2139831
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|