开发者

Iframe no scrollbar?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜