I cant seem to show the scrollbar in my iframe. I am making a script that will rotate a page 180 degrees and it uses iframes. With this code it showed no scrollbar.
<iframe frameborder="0" id="browser" src="http://google.com/"></iframe>
It loads dynamically(although this is after a button is pressed) but this doesnt change anything.
<script language="javascript">
function refresh()
{
document.getElementById("browser").src = document.getElementById("url").value;
document.getElementById("browser").style.visibility="visible";
}
function hide()
{
window.location = "?hide&url="+document.getElementById("url").value;
}
</script&g开发者_运维百科t;
Found my answer. The 180 degree rotation removes some parts of html like scrollbars and flash.
精彩评论