Variable height
-
Hi Michael,
I am making great progress with embedding only part of a non-related website using the show-part parameters.
My only remaining problem is that the non-related domain changes the height of the frame depending on the results of a search.
The search form has a height of 390, the maximum height it uses is 1130 when it shows more than 20 results, but then, the last page of results is impossible to guess, there are multiple heights depending how many results are shown (i.e. one height if it shows two more results, another height if it shows ten more results).
I am using next_viewports and it works fine between form and first page of results, but then if the user clicks to see the last page the frame shows too much, or too little.
Here is my advanced_iframe code.
[advanced_iframe securitykey=”…” src=”https://www.ibba.org/resources/directory” id=”iframe_ibba_form” name=”iframe_ibba_form” show_part_of_iframe=”true” show_part_of_iframe_x=”160″ show_part_of_iframe_y=”5″ show_part_of_iframe_width=”755″ scrolling=”no” show_part_of_iframe_do_update=”true” show_part_of_iframe_next_viewports=”5,160,755,975″ show_part_of_iframe_new_url=”https://www.ibba.org/resources/directory?option=com_msd&view=searchs” height=”1130″ show_part_of_iframe_height=”390″]
Any help, ideas, creativity, alternative solutions, etc. will be greatly appreciated.
- The topic ‘Variable height’ is closed to new replies.