GalRatz Posted June 1, 2006 Share Posted June 1, 2006 Hi everyoneI have a very annoying problem - I use an iframe to display some content from another website, I have set the iframe height to be the same height of the inner content - but still, scrolling is available. I don't mean the scrollbars - those are disabled using the scrolling="no" property, what I mean is that the user can click and drag the mouse to scroll the iframe content, and this I want to disable. Is that possible at all? Since the iframe height and the inner content appear to be at the same height, I'm not really sure why it happens. Maybe there is a white area beneath the content, I know that if I add 20 pixels or so to the iframe height then scrolling is disabled, but then I get an ugly white gap between this iframe content and whatever it is under it.I would appreciate any help, please note that the solution must be from my side (the outer iframe) as I don't have access to change the inner content source code.Thank you,Gal Link to comment Share on other sites More sharing options...
scott100 Posted June 1, 2006 Share Posted June 1, 2006 what I mean is that the user can click and drag the mouse to scroll the iframe content, and this I want to disable. Is that possible at all? <{POST_SNAPBACK}> Hi Gal, try this script from dynamic drive: http://www.dynamicdrive.com/dynamicindex9/noselect.htmIt stops the text from being able to selectI'm not sure how it will react with an iframe but it's worth a shot Link to comment Share on other sites More sharing options...
GalRatz Posted June 4, 2006 Author Share Posted June 4, 2006 Nope... doesn't work on an iframe unfortunately, but thanks anyway, it could be a useful script .Gal Link to comment Share on other sites More sharing options...
snowboard01 Posted June 4, 2006 Share Posted June 4, 2006 Its easy <iframe scrolling="no">error message here</iframe> Simple isn't it? it validates under transitional and frameset! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now