Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > can't disable scrollbars for certain websites

Thread Tools

can't disable scrollbars for certain websites

Raja Kannan
Posts: n/a
I have this following code,
in the below program if u click on hide it will hide he scrollbars of
the 2 frames by setting the overflow attribute to hidden. the problem
is frame1 seems to hide the scrollbars but the frame2
( seems to be not hiding the scroll bar. there is
something special about the com webpage which
prevents from hiding the scrollbar.

so any help would be appreciated if there is anyway we can disable he
scrollbars when pages are loaded with similar pages.

note if run this html in a browser it will give access denied
exception but rename ur htm to .HTA extesnion and run where it will

<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<script language="javascript">
function hide() {
function unhide() {
<iframe name="frame1" src="" widht=100 height
<iframe name="frame2" src="" widht=100 height
<input type="button" onclick="hide();" value="hide" id=button1
<input type="button" onclick="unhide();" value="unhide" id=button2

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable scrollbars on a multiline textbox? Google Jenny ASP .Net Web Controls 2 10-06-2004 10:32 PM
There Are Certain Websites I Cannot View..... ToniandGuyFreak Computer Support 2 12-26-2003 06:23 PM
Unable to open linksin certain websites nigel.latimer Computer Support 1 11-10-2003 09:24 AM
How to disable gfx scrollbars in Firebird? mario Firefox 0 10-30-2003 01:55 PM
prolems accessing certain websites Andy Computer Support 3 07-02-2003 01:10 AM