View unanswered posts | View active topics It is currently Wed Jun 19, 2013 4:16 am



Reply to topic  [ 3 posts ] 
 Hide Scrollbars? 
Author Message

Joined: Dec 10, 2007
Posts: 2
Post Hide Scrollbars?
Hi,

I am displaying the control page inside of a small safari window and would like to prevent scollbars from appearing. I am noticing that if I use a small safari window that is larger in width than the control area it will still display horizontal scrollbars. I have tried a few things that I have seen in this forum such as: <body scrolling=no... and <body scroll="no"... and played with the css overflow tags, but I am not able to prevent the horizontal scroll bar from appearing. Can anyone please suggest some other things I can try?

Thanks in advance!

Pete.


Mon Dec 10, 2007 8:05 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11814
Location: Texas
Post Re: Hide Scrollbars?
Hi Pete,

Try using JavaScript like this from the parent page that opens the Control Page:
Code: Select all
<div onclick="window.open('controlpage','HideScrollBarsPage', 'scrollbars=no,menubar=no,height=680,width=800,resizable=yes,toolbar=no,location=no,status=no,alwaysRaised=yes');">
    <a href="controlpage">Open Control Page</a>
</div>


Matt


Wed Dec 12, 2007 6:49 pm
Profile WWW

Joined: Dec 10, 2007
Posts: 2
Post 
Hi Matt,

Thanks for the response. Unfortunately the code you sent won't work for me as it creates a new window, and I need to display the control within a webview control in a cocoa application I have been putting together.


Wed Dec 12, 2007 9:12 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: ckeyes888 and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.