Hello Michael,
you are speaking about a part that is not the problem now.
This is the link that is not correctly displayed in the iframe:
http://turismo.artefvg.org/areaWideOutdiv.asp?lingua=ENG called in the iframe in the page http://artefvg.org/turismo/ostelloaquileiaen/cosafare/.
The link you tested is a link called from the page aready included.
First I need to hava a solution for the main inclusion that does not display well.
Best regards.
Paolo
http://artefvg.org/turismo/ostelloaquileiaen/cosafare/
works in Firefox but not in chrome. So it is maybe a timing issue. Please use a higher timeout for the resize. You have set it to 5 ms.
Best, Michael
Sorry Michael,
I already tried …. now I’ve set the timeout to 300 (I tried even 10000!) but the behaviour is the same with all browsers:
the page opens well with the right height then suddenly shrinks.
If you click any link on the shrinked page and then you go back, the page is displayed correctly.
Best regards
Paolo
There are 2 requests that set the height. One with the correct one and a 2nd one with the smaller height.
But I have not found out why you have 2.
I’ll try to look into this tomorrow again.
You have a 2nd iframe on the left side with the same id.
Therefore the height of this is used also for the first.
You need to use different id’s for iframes on the same page.
Hello Michael,
you got the problem! I wrote by hand an ID for the Iframe on the right side and the inclusion in the main page works OK!
Now I have to understand how to use both.
As you suggest in the instructions I put by hand an ID for the advanced Iframe but in this case there is no resizing.
What have I to do if I want to use more resizable advanced_iframes in the same page?
Best regards
Paolo
On the same page use different id’s.
So for the main one leave advanced_iframe as default.
On the right site e.g. use advanced_iframe_2 and than on the remote page you need to set advanced_iframe_2 before the ai_external.js.
I currently improve the usage of config files on the FAQ page and in the documentation. So this kind of discussion really help to find out what should be explained in more detail.