Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 25th, 2005, 03:16 PM
Registered User
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to aliinal Send a message via MSN to aliinal
Default how to disable horizontal scrolling

Hi,

I've a frameset with the rows set to "100%,0". This is a must for a system entegration. Hidden frame holds some javascript code which can not be included within main page content.
What I want to do is to disable the horizontal scrolling on 100% frame from the 0 height frame using javascript (frameset code is fixed so I cannot change it, because of this, I have to do this using javascript). But I need to keep vertical scrolling. Is this possible to do this by using any attributes (or style)? If not I'm open for any workaround suggestion...

Thanks..
@li
 
Old October 27th, 2005, 01:41 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi Aliinal!!

you can use following code with reference to particular frames

to hide both scrollbars
style="overflow-x:hidden;overflow-y:hidden"
style="overflow:-moz-scrollbars-horizontal;overflow-x:hidden;overflow-y:scroll;"
x- is used for horizontal,y- for vertical

Hope this will help you

Cheers :)

vinod





Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable View>Source (disable html source) kazmughal44 HTML Code Clinic 11 December 11th, 2007 11:53 AM
stop horizontal scrolling in textarea in Firefox 2 crmpicco CSS Cascading Style Sheets 1 October 13th, 2007 05:24 PM
Horizontal gridview nedo_786 ASP.NET 2.0 Professional 5 August 10th, 2007 09:30 AM
horizontal scrolling javascript Adam H-W Javascript 4 December 5th, 2005 07:14 AM
disable horizontal scrollbars in <iframe> crmpicco HTML Code Clinic 5 February 28th, 2005 11:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.