Auto Height Iframe for File Lockers CPAGrip
2017-03-20, 10:48 PM,
#1
Hello, I'm trying to make my File Lockers auto adjust their height on my website. I've only managed to create the iframe and implement it in my website but the issue I'm having is that there is a huge chunk of empty space below it, the empty space is used by the offers. Is there anyway I could make the locker adjust height accordingly? For example : People click the "Verify" button which makes the offers appear and the iframe adjust to the height it needs instead of pre-occupying the space before they click the button.

Can anyone help? Thank you!
Reply
Share This Thread :

2017-03-21, 12:30 AM,
#2
Can you paste your code here, let me check it.
Reply
2017-03-21, 12:41 AM,
#3
You need to make both the website body and the iframe 100% of the width and height.

It sounds like the website body is restricting the height of your iframe.

Another solution is to just place it w/ absolute positioning like this:

http://stackoverflow.com/questions/52725...100-height

Boost Your Instagram Likes: Boosted Likes
Reply
2017-03-21, 01:52 AM,
#4
(2017-03-21, 12:30 AM)safaribenga Wrote: Can you paste your code here, let me check it.

I can't paste everything here, but basically this is where my locker is.
I don't know what kind of information I should provide, so if this isn't enough can you tell me what exactly to post?

<form action="link" method="post">

<div class="button-row">
<iframe src="my content locker" > </iframe>
</div>

</form>


(2017-03-21, 12:41 AM)elitestatus Wrote: You need to make both the website body and the iframe 100% of the width and height.

It sounds like the website body is restricting the height of your iframe.

Another solution is to just place it w/ absolute positioning like this:

/questions/5272519/how-do-you-give-iframe-100-height

I tried that , my locker button just go crazy and moves its place for some reason, not what I expected lol
Reply


Related Threads
Thread Author Replies Views Last Post
  [Cpagrip] How add content locker with image? Syberpro 18 7,390 Yesterday, 07:25 AM
Last Post: joeclinz
  Anyone promoting link locking/file cpa content in IG torikul91 1 115 2018-04-02, 01:07 PM
Last Post: sinzoo
  [CPAgrip] need some help with offer wall + postback isshmen 0 135 2018-04-02, 06:54 AM
Last Post: isshmen
  Need help with CPAGRIP Content locker OvRey 2 132 2018-04-01, 04:59 PM
Last Post: Xenobier
  [ASK] about upload landing page file? cupzJaYu 7 224 2018-03-04, 01:52 PM
Last Post: CharlieHarper





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top