Forum

Thread tagged as: Question, Configuration, Discussion

Keep in mind that this code is simply inside of a test.php file. I went to domain.com/test.php and clicked "view source" and then copied what was there and pasted into my last post

Here is the markdown for this test page:

This is the test page
==================
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Drew McLellan

Drew McLellan 2638 points
Perch Support

Right, but what JavaScript do you get?

What do you mean by "what javascript do you get?" Right now all of this code is inside of a PHP file, so there should be no javascript...at least I don't see any javascript. Could you tell me where to find this javascript?

Drew McLellan

Drew McLellan 2638 points
Perch Support

The JavaScript you started this thread with:

var TEMPLATES = TEMPLATES||{};
TEMPLATES.PrivacyPolicy = {
    Container: '\
                <div id="my-content-container">\
                    <a href="https://www.kidsafeseal.com/certifiedproducts/jabbersmack.html" target="_blank"><img id="kidsafeseal" border="0" alt="Jabbersmack.com is certified by the kidSAFE Seal Program." src="https://www.kidsafeseal.com/sealimage/2043659317406411791/jabbersmack_large_darktm.png"></a>\
                    <div class="content-holder clearfix">\
                        <iframe width="100%" height="0px" src="extra/perch-privacy-policy.php" id="CHANGETHIS" marginheight="0" frameborder="0" onLoad="autoResize(\'CHANGETHIS\');"></iframe>\
                    </div>\
                </div>',
}