Please have a look at this link:
https://communitylifestyleaccommodation ... ources.php
At the bottom of the page there is a Text line - Text5
On clicking the link - I trigger two evants :
1st- Hide the text object Text5
2nd - Call Javascript : window:reload(true);
I now want to stretch vertically the iFrame to fill up the extra space cleared at the bottom of the page
Any idea on how to do that?
Thanks
Changing page objects at run time
Re: Changing page objects at run time
what the browser does from the server is correct
the page is loaded and the initial visibility of the object is visible by default
if you want to reload the page and remain the object hidden you must use cookies
the page is loaded and the initial visibility of the object is visible by default
if you want to reload the page and remain the object hidden you must use cookies
Re: Changing page objects at run time
Hello RZ,
Sorry, maybe I didn't explain myself.
The einitial page load, shows a html page inside an iFram
The iFrame is shorter in height to allow space for the text item at the bottom
Once this text item is gone, I want the new page to load into a higher iFrame
Therefore, I want to stretch the iFrame Vertically
Any idea how?
Thanks
Sorry, maybe I didn't explain myself.
The einitial page load, shows a html page inside an iFram
The iFrame is shorter in height to allow space for the text item at the bottom
Once this text item is gone, I want the new page to load into a higher iFrame
Therefore, I want to stretch the iFrame Vertically
Any idea how?
Thanks
Re: Changing page objects at run time
yes
it requires:
1) advanced programming knowledge
2) same domain for both pages
it requires:
1) advanced programming knowledge
2) same domain for both pages
Re: Changing page objects at run time
I created a test page here : https://communitylifestyleaccommodation ... retch.html
I created a simple Javascript function in the Header section with this code:
<script type="text/javascript">
function stretchiFrame()
{
getElementById('InlineFrame1').height = "200";
}
</script>
In the events for the link
1) I hide the Text5 element
2) I call the function above
3) I call the Javascript : window(reload(true);
But, it doesn't chenage the iFrame height
Any suggestions?
Thanks
I created a simple Javascript function in the Header section with this code:
<script type="text/javascript">
function stretchiFrame()
{
getElementById('InlineFrame1').height = "200";
}
</script>
In the events for the link
1) I hide the Text5 element
2) I call the function above
3) I call the Javascript : window(reload(true);
But, it doesn't chenage the iFrame height
Any suggestions?
Thanks
Re: Changing page objects at run time
Maybe this will be useful?
https://github.com/house9/jquery-iframe-auto-height
https://github.com/house9/jquery-iframe-auto-height
Re: Changing page objects at run time
Thanks Pablo,
Too complex for what I want, I can simply create another page with the new iFrame and swicth between
My case does NOT depand on content, it is a one size change only
Cheers
Too complex for what I want, I can simply create another page with the new iFrame and swicth between
My case does NOT depand on content, it is a one size change only
Cheers