Javascript/CSS Scrollbar Effects

The ability to change a visitors scrollbars actually uses CSS rather than javascript.

To change the scollbar's colours, copy and paste the script below into your webpage (in the <head> section), and change the colour values to suit your page:

<style type="text/css">
body {
scrollbar-arrow-color: #ffffff;
scrollbar-base-color:#ffffff;
scrollbar-darkshadow-color: #ffffff;
scrollbar-track-color: #ffffff;
scrollbar-face-color: #ffffff;
scrollbar-shadow-color: #ffffff;
scrollbar-highlight-color: #ffffff;
scrollbar-3d-light-color: #ffffff;
}
</style>

It's worth remembering that this technique will only affect Internet Explorer, so a percentage of your visitors will never see your fancy scrollbars.

Related Tools

Category: 

Comments

Thanks,

Thanks,
Is it work in all browsers?

Add new comment