I have seen this example: http://jsfiddle.net/UwEe2/306/ that is implemented with scrollleft.
Now I have done a modification.
This is my script but is doesn’t run: http://jsfiddle.net/njKXB/39/
What is the problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have no idea what you’re trying to achieve by putting a list of
1‘s insidelielements without the requiredulcontainer.Simply replacing the text with the
imgelement in your code demonstrates that it’s functional.http://jsfiddle.net/njKXB/54/
The reason you can’t scroll your list of
1‘s left/right is because it’s wrapping. If you increase the height, you can see it wrapping below. Since it’s wrapping down, there is nothing there to scroll side to side.http://jsfiddle.net/njKXB/55/
The solution is to remove the
floaton theli‘s and adddisplay:inline;which causes them all to stay in one line. Then addwhite-space: nowrap;to the container to prevent wrapping.http://jsfiddle.net/njKXB/75/