I frame height

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: I frame height

Re: I frame height

by Gaston » Thu Jun 22, 2017 11:58 am

Thank you very much axew3 !

It work with

Code: Select all

 'documentElementOffset' 
It worked with

Code: Select all

 'bodyScroll' 
but in this case it was the scroll wheel that doesn't work !

Grazie ;)

Re: I frame height

by axew3 » Wed Jun 21, 2017 9:32 pm

answer above updated

Re: I frame height

by axew3 » Wed Jun 21, 2017 4:53 pm

check that you have setup not correctly into overall_footer.html the document.domain setting.
it is set as https://tattooin.fr that is wrong

Code: Select all

document.domain = 'https://tattooin.fr'; // THIS IS MANDATORY! Set/Change this value to your domain (example: axew3.com (or leave localhost if on localhost)) 
while it need to be

Code: Select all

document.domain = 'tattooin.fr'; // THIS IS MANDATORY! Set/Change this value to your domain (example: axew3.com (or leave localhost if on localhost)) 
domain name setting do not need to be a link.
if after this the iframe still not resize to bottom (but should)
open WP template folder of your theme, than open created file for page forum, that you named board in your case, so you'll search and open the file
page-board.php
inside it you'll find a line of code:

Code: Select all

       // heightCalculationMethod: 'bodyOffset', // If page not resize to phpBB template bottom, un-comment (or change with one of others available resize methods) 
remove // in front to activate a differen heightCalculationMethod for the iframe, so this line will become:

Code: Select all

 heightCalculationMethod: 'bodyOffset', // If page not resize to phpBB template bottom, un-comment (or change with one of others available resize methods) 
if still not resize, try out another of the available which are:

Code: Select all

values:  'bodyOffset' | 'bodyScroll' | 'documentElementOffset' | 'documentElementScroll' |
         'max' | 'min' | 'grow' | 'lowestElement' | 'taggedElement'

Re: I frame height

by Gaston » Wed Jun 21, 2017 11:46 am

Thanks for your answer.

I 've followed the procedure on the first time, and I just did it another time.
But my issue still here...

I've changed the second line with my domain and I set the "iframeResizer.contentWindow.min.js" with absolute path (https://tattooin.fr/forum/iframeResizer ... dow.min.js)

You can see my install here :

Forum :
https://tattooin.fr/forum

Forum in my wp page :
https://tattooin.fr/board (here is the issue)

Re: I frame height

by axew3 » Wed Jun 21, 2017 11:03 am

the iframe height should be auto set by the iframe resizer code:
https://www.axew3.com/w3/2016/02/embed- ... esponsive/
if you have install online, and you've further problems, post the link to the page forum.

But following the procedure, should work all fine.
Check on the page the part about:
NOTE: if your iframe do not resize, the problem is that the file iframeResizer.contentWindow.min.js isn’t loaded correctly: check line
look if this resolve

I frame height

by GastonT » Wed Jun 21, 2017 10:56 am

Hi guys,

I (finally) made it work !
But I have an issue: The iframe height is not adapted to the forum height. On my wp page, I juste see the headers'forum. Is that normal ? I have set a fixed height (4500 px !) to test. But it's not a good solution !

And in the Iframe I have the header and the footer from my forum, and Ijust want the "wrap" section. Should I edit my overall_header & footer files ? Thank you !

Top