function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yuliayulia 

How to make <apex:iframe> height to be dynamic?

i want to ask, How to make <apex:iframe> height to be dynamic?

 

<iframe width="100%" height="500px" align="top" frameborder="0" src="{!srcIframe}">
    </iframe>

 

I already used height="auto" etc, but unsuccessfull..

Any suggestions?

 




streetstreet

Once you remove the height property from the frame tag and try...

 

<iframe width="100%"  align="top" frameborder="0" src="{!srcIframe}">

  

unidunid