نعم اخي يعطي تعليمات
هو يعطي لي كودين ويخيريني بين كود منهم
والجافاسكربت اللي ارسلته لك يعطي تعليمات هذه
Open the locker using the Javascript function CPABuildLock(). Below are some popular examples:
Open immediately on page load
<script>CPABuildLock();</script>
Open after 5 seconds (5000ms)
<script>setTimeout(CPABuildLock, 5000);</script>
Open when a button is pressed
<button onclick="CPABuildLock()">Click me!</button>
Open 5 seconds after button is pressed
<button onclick="setTimeout(CPABuildLock, 5000);">Click me!</button>
(Optional) Define Callback with CPABuildComplete()
After the CPABuild Lock code, define a callback function
<script> function CPABuildComplete(){ alert("Offer Complete!") } </script>
ويوجد نفس الكود ولكن ليس بلغة جافا سكربت ولكن هذا هو
2. Add iFrame Element to HTML
<iframe src="https://dgu9g3a2kzqx2.cloudfront.net/public/i_fr?it=2022093&key=a5893" height="200px" marginwidth="0" marginheight="0" align="middle" frameborder="0" width="100%" ></iframe>
ولا يوجد له اي تعليمات ، هذا فقط الذي يكتب تحت الكود
The iFrame display method bypasses the modal (pop-up) version of the content locker and allows users to directly integrate offers into their websites.
WARNING This iFrame method is still in a beta phase. Not all content lockers were built to be displayed this way.
Make sure to test the HTML on a private document first to see if the result is desirable.
Adjust the width and height attributes to fit your target area.
Advanced: The iFrame method will not use the selected mobile locker unless &m=1 is added to the iFrame url.