Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrollbar Color for Select Tag

Status
Not open for further replies.

Skie

Programmer
Jun 21, 2004
475
US
From what research I've done, it appears you can't change the color of the scrollbar for a select tag (IE 6.0).

What I want to know is there a way to use a different tag so that I can change the scrollbar color? Is there a way to script (preferably vbs) a textarea to react like a list box? So, I can return the value of the line the where the cursor is positioned. Also, can I highlight that line so that it appears selected?

Is it possible to create something similar for a drop-down list? I know I can make a psuedo drop-down where an onclick event would trigger an overlapping layer that displays the information. If there's a better solution, I'd really appreciate it.

Thanks
 
As you've guessed, you'll have to use some sort of scripting to put in place all the behaviour of the "mock-down" (think that name will catch on?)

If you really must use VBScript, and thus limit your target audience to IE-only, then you'll need to ask in the VBScript forum. If you don't mind using JavaScript instead, giving a much wider audience, I suggest asking in the JavaScript forum.

IMHO, there will be a great deal more scripting than HTML to create a custom solution, which is why I'm suggesting seeking help in scripting-specific forums.

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top