At the moment I need to make an slider for an <div>
. But due to the size of most plugins I am trying to create my own jquery script because I only need the basics. But to be honest I'm really a beginner in jQuery and could use some help.
At the moment i got an <div>
as container (overflow:hidden
and 250px width), in that <div>
I got an other <div>
which needs to move from right to the left (width 2500px). I want that div on the $(document).ready
function to animate with steps of 250px to the left and with an interval of 5 seconds. But after spending the whole morning trying to figure out where to start I'm still stuck.
Besides I would want the following options:
- That after the inner
<div>
is totaly to the left, it fades back to its original position. - An way to create "dots" to navigate to an certain position, and when navigated to that position the slides starts animating from that position.
I know this is an big (hard?) question, but even a litle bit of help would be very much appriciated.