• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Responsive iframe?

CTXMedia

Formerly CyclingTribe
#1
I have Cometchat installed at CycleChat and use an XF page to display the chatroom in an iframe; handy for iPhone and iPad users.

When I upgraded to XF 1.2.1 the chatroom page wasn't working responsively so I disabled the page, temporarily, until I could look at what was going on.

Can you make iframes responsive, and if so how?

Cheers,
Shaun :D


This is the template HTML (the max-width was previously just width=700px - but unfortunately the max-width squishes the window up to a narrow width, strangely, making it unusable):

Code:
<iframe src="/chat/modules/chatrooms/index.php?id=1" height="350" frameborder="1" style="max-width: 900px;" ></iframe>