View Full Version : ho to stop default mouse wheel behaviour in firefox

05-05-2006, 07:55 AM
i have placed some image indide a i frame which i created dynamically .when i do mouse wheel above it it goes up nad dow i want to stop and happened only in firefox.how to stop it plz help..

05-05-2006, 08:31 AM
You can't control how the browser reacts to the scroll wheel. Just make sure the iframe has no room to scroll e.g. set its width to the image, set its height to the image height, set margins and padding to 0 in the iframed page. Don't put the image directly into the iframe. Make a page for it.