SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict lespaulsf's Avatar
    Join Date
    Dec 2006
    Posts
    232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HOw to make these archive links

    Hi

    I'm trying to figure out a place or way to learn how to make these links I see at blogspot.com that has archive links. I can make the link by I want to know how to make them where you drill down by year and then month.

    Here is a example of a site that i would like to do also.

    http://kristabluesky.blogspot.com/

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Creating archived links is something that's best done by a server-side script, that has access to the database.

    For example, here's a tutorial on creating archive links for wordpress.
    http://codex.wordpress.org/Creating_an_Archive_Index
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Addict lespaulsf's Avatar
    Join Date
    Dec 2006
    Posts
    232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry I must have not been clear. I have already created archives. I just need to know how to break them down by if you click on the year then it will show you the months. Does that make since?

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    It seems that jQuery's accordion method is what you're after, where every list item is collapsed, except for the first.
    Here's a good tutorial on how to make an accordion menu using jQuery

    I suspect that the only change you would want to make is to remove the part where the siblings collapse when other parts of it are clicked.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •