Link to home
Start Free TrialLog in
Avatar of thatguymd
thatguymd

asked on

List Box with Horizontal Scroll

This question sort of adds to https://www.experts-exchange.com/questions/20960348/Horizontal-Scroll-bar-for-a-ListBox.html

SeanPowell found a way to add a horizontal scroll bar with javascript.

However, I am loading my listbox from the results of a queried database using SQL in ASP.  I am able to load my current HTML listbox without a problem by sprinkling in ASP code but it appears that this horizontal scrolling list box loads its values using javascript.

I am not sure about using ASP code inside javascript.  I also am not sure if there is a way to query a database inside of javascript.  Or if there is a new solution to getting the horizontal scrollbar in a list box using HTML.  Or if I am just missing something.

Any thoughts?
ASKER CERTIFIED SOLUTION
Avatar of bruno
bruno
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thatguymd
thatguymd

ASKER

You are correct.  It is working fine now.  I should have given myself some time away and looked at it.  I assumed that the ASP and javascript mix was the problem because it was my first time doing it.  Thank you, you at least made me confident enough to examine the rest of my code.
>>you at least made me confident enough to examine the rest of my code.

:-)  sometimes that's all it takes.  Glad i could help.