ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Demo with code: expanding / collapsing archive navigation with jQuery

July 01, 2010 10:27pm

Subscribe [4]
  • #1 / Jul 01, 2010 10:27pm

    Jesse M

    92 posts

    I don’t expect this to be something a lot of people will be interested in, but I did it for a project and I’m posting it in case anyone is.

    It’s jQuery JS, EE template code / HTML, CSS, and an EE plugin for expanding / collapsing archive navigation.  Click here for a demo.

    The way this is written requires jQuery 1.4+ [for jQuery.proxy()], but it can pretty easily be modified to work with an older version.

    The plugin just provides a count of the entries for each month.  I couldn’t see a built in way (an efficient way at least) to do it.

  • #2 / Jul 02, 2010 4:07am

    Ingmar

    29245 posts

    That’s quite nice, actually. Thanks for sharing.

  • #3 / Jul 02, 2010 6:04am

    Liam Spencer

    37 posts

    This might just be a life saver for me as I have a client who requires this, and as you said, there doesn’t seem to be a built in way to do it. Thank you!

  • #4 / Jul 02, 2010 6:17am

    Neil Evans

    1403 posts

    again, nice and useful - although if you added a bit of demo styling to the example a lot more peple would find it instantly appealing!!! Not that we are superficial creatures or anything 😊

  • #5 / Jul 02, 2010 6:38am

    lincolnpixel

    83 posts

    Nice, thanks for sharing

  • #6 / Jul 03, 2010 2:00pm

    Jesse M

    92 posts

    Thanks for the feedback, everyone.

    @Liam, that’s awesome if it’ll actually help you on a project.

    @nevsie, I agree with the principal of what you’re saying.  I’m not sure what I could do to dress this up though (I’m not a designer, clearly).  Or do you mean incorporate it into a layout rather than display it on a blank page?  If you feel like giving any suggestions I’d like to hear them.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases