|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
| Author |
Message |
|
pslade
Joined: Dec 10, 2007 Posts: 2
|
 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 |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11679 Location: Texas
|
 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 |
|
 |
|
pslade
Joined: Dec 10, 2007 Posts: 2
|
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 |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
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
|
|