{Plugin} requires the following scripts to be attached in HTML page:
Javascript:
1 2 |
<script src="js/jquery-1.11.3.min.js"></script> <script src="js/socialUnlocker.js"></script> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<script> $('.secretContainer').socialUnlocker({ texts:{ maskHeader: "Like Us", maskText: "We show you hidden content" }, buttons : ["facebook_like", "twitter_tweet", "google_plus1"], closeButton: true, fullPage: true, facebook:{ appId: "659569734174330", likeButton:{ url: "https://www.facebook.com/createITpl" } }, twitter:{ tweetButton: { url: "http://www.createit.pl/en/", message: "Nicola Tesla inventor", hashtags: "tesla, inventor, ac" } }, googlePlus:{ plusOneButton:{ url: "http://www.createit.pl/en/" } } }); </script> |
1 2 3 4 5 6 7 8 9 |
<div class="secretContainer"> <h4>Secret Header</h4> <div class="video"> <iframe width="560" height="315" src="https://www.youtube.com/embed/_luhn7TLfWU" frameborder="0" allowfullscreen></iframe> </div> </div> |