We are upgrading our web site. The designs did not include implementation, so some things in templates we paid for are only 1/8th of a framework (smile) and I have do the rest.
Please take a look at the archives widget at the bottom of this page (you have to click the tab)
the parent container is div class="paginate" it is wide enough to hold four months at a time which are contained in child divs class="months" and inside there are four small tables, one for each of the months. for each year there three div class-months, four months each.
Now we have several issues here... first of all I ran some Livecode scripts on my desktop to dig the archive and build the content for all archives going back to August 16, 1998 (we were posting a daily news page, some people say, before the word "blog" existed) This turns out to be a 315K file... I have yet to fetch all the links for 2008-2012, but will do that later today or tomorrow.... quite some bloat. I may break that up into individual files per year and then load just twelve months per year with some PHP inthe drop down menu which is currently not hooked up at all. (not sure how best to approach that part)
But today my issue is just this: the use case requires that the latest months appear in the parent container when the user opens the page.
this is effectively like saying the entire series should be "off to the left" and only the last child <div class="month"> appears in the view... users then click on the back arrow to go further in the the past. As we got it from the designers, it does not work like that. The first child appears in the view and then you click to go forward in time. But in the end, the archives should show the current month and the most recent four months.
So, how do I get that whole set of divs to all shift to the left so that the "tail end" i.e. the very last child, which will be a <div class="month" of the series it be what appears there when the page is opened?
I will have the same issue whether I load just a single year (only 3 children in that case, four months each) versus what I have now over 32 children with the first four months 1998 aug.sept, oct, nov appearing.