i have an iframe that includes a file with some html content. the total area of that file's content is bigger than the iframe's area, which means some of the file's content is not visible without scrolling. i set the srolling="no" and remove the scrollbars from the iframe. in the ie i still can drag the mouse in the mousedown position inside that iframe to "scroll" the internal content. in firefox this is not possible, which is fine. my question is how can i avoid this "mousedown - scrolling" without disabling the onmousedown event which is needed for other issues.
you can try adding overflow property to hidden, may have to add it to the body tag.
posted 13 years ago
Thanks for your reply. This didn't help Yeh, in case I wasn't clear in my first post, IE doesn't add scrollbars while I drag the mouse. The iframe content just "moves" inside the iframe in the direction opposite to the mouse movement direction...