Thank you for your promt response. Let me put it in other way. I have two identical asp.net pages with same element and same elemtent ID. Both are located under www.abc.com/wp/
first.aspx is the parent page and embedded in the advanced iframe using the following code. [advanced_iframe src="http://www.abc.com/wp/first.aspx" width="100%" height="200px" use_shortcode_attributes_only="true" onload_resize="true" resize_on_element_resize="#content"] Once embedded, the URL to access the first.aspx became http://www.abc.com/index.php/first-page/ This page has a <div> element (id is content) that is invisable (by default), but can be shown by clicking on a radio button. Howerver, if the element is shown, the vertical bar is also shown in the frame. That is NOT good. The resize_on_element_resize feature was used to fix it by adding resize_on_element_resize="#content". (I think the resize_on_element_resize was called when http://www.abc.com/index.php/first-page/ was loaded)
So fa so good.
the first.aspx has a hyperlink that links to the second.aspx. The second.aspx is a copy of first.aspx haiving the same element with same ID. The URL to access the second.aspx became http://www.abc.com/index.php/first-page/?page=www.abc.com/wp/second.aspx second.aspx has a <div> element (id is content) that is invisable (by default), but can be shown by clicking on a radio button. The problem is here. Unlike the first.aspx, if the element is shown, the vertical bar is also shown in the frame, AND CAN NOT be removed.
In other words, how can call resize_on_element_resize="#content" when the following page was loaded. http://www.abc.com/index.php/first-page/?page=www.abc.com/wp/second.aspx
Thank you in advance!
|