Getting my images to scroll horizontal

Getting my images to scroll horizontal

Hello, I am new here and very new to programing I am trying to bring in images from my database and dynamically give them a link when you click on them and also put them in a div so that I can create like a horizontal scrolling slider. If there is any other posts or if you can help me with this I would appreciate it. I have been trying to use some of what I know I have my images in a div and have a class for them and I tried to use the .animate() function but I am stuck with trying to get timing and length of the div and scroll/stop to allow users to see the images. Im Lost!