I have a website that is embedded within an iframe on another site.
Unfortunately, the hosting site has set the iframe to a fixed height inside a span with a scroll bar (for unknown reasons).
Is there a way for me to change the scrolling behavior of the span using JavaScript from within the iframe?
I believe it can be done, as I have successfully used JQueryUI dialog with position:top inside the iframe to scroll the span to the top outside of the iframe.
Here is the HTML code:
<body style="overflow:hidden;">
<span style="float: left; height:488px; overflow-y:auto;">
<table>
<tr>
<td>
<iframe id="Iframe" name="Iframe" src="Login.aspx"
width="775px" height="4000px"></iframe>
</td>
<td style="width: 200px; height: 600px; font-size: 25px; border: 1px solid #000000;" valign="top">Side Bar</td>
</tr>
</table>
</span>