Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:50

Scrollbar Customization


Poster: aaronz
Dated: Wednesday March 16 2005 - 14:59:03 GMT

Does anyone know if it is possible to change the color/style of just the scrollbars that appear on menus that are too big for the browser window, but not have it apply to all other scrollbars as well? I'm not sure if this is a limitation of CSS in general, or if I'm just missing something... Thanks!

Aaron Z


Poster: kevin3442
Dated: Wednesday March 16 2005 - 22:38:26 GMT

Hi Aaron,

The menu system include a built-in class called .mmenu that you can use to apply global style definitions. So, you could include something like the following in an in-line <style> block or in a .css file:
Code:
.mmenu {
  scrollbar-face-color: #9495B3;
  scrollbar-shadow-color: #70718F;
  scrollbar-highlight-color: #E0E1FF;
  scrollbar-3dlight-color: #bcbddb;
  scrollbar-darkshadow-color: #808080;
  scrollbar-track-color: #BCBDDB;
  scrollbar-arrow-color: #323197
}

If I recall correctly, these attributes are only effective in IE. Here's a reference and a tool that you can use for the code:

http://www.paulgrant.on.ca/ScrollBarColour.shtml
http://www.jessett.com/web_sites/css/cu ... bars.shtml

Hope that helps,

Kevin