Hi there,
I have a timeline made of two divs, like this:
They're both floated left. I'd like the size of them to change based on the date (or at least the week), so that it shows the progress of the year.HTML Code:<div id="timeline"> <div class="now"></div> <div class="later"></div> </div>
With 52 weeks in a year, the width of the #now div should be increased by 1.9% each week, and then reset at the end of the year.
Is there a clever way to do this with jQuery?
Thanks!


Reply With Quote


Bookmarks