# jScrollPane - alternative approach to implement jScrollPane with iframes

This demonstration shows a different approach to the first iframe demo for styling the scrollbars associated with an iframe. This approach requires no special code inside the iframe content pages (e.g. iframe_content3.html and iframe_content4.html) and instead relies on the script in the hosting page (this page).

This approach has some shortcomings though. The mousewheel doesn't work and the calculation of the width and height seems a little off...

## Vertical only

## Both

## Page javascript

The contents of this div will be replaced by the javascript added to this page

## Page CSS

The contents of this div will be replaced by the CSS added to this page