Help help me Rhonda..

I’m looking for a good (preferably well written) guide on implementing Ajax show/hide. I’m looking to add a show/hide section at the bottom of is2 to tidy archives, recent entries and rss stuff.. anyone have a recommended read?

Just as an (important) side-note.. As I’ve dived into as well as cut code, I have to pass out a big thanks to the wider wordpress community. Folks like Joen, Michael, Chris and Fernando (to name but a few) have inspired me to really push myself and what I can do. You, kind gentlemen have my utmost respect and appreciation.

≡ This is a journal entry relating to the topics of , .

Brendan Borlase is a Systems and Network Administrator living in Adelaide, Australia, having lived, worked and breathed Information Technology for over 12 years. Learn more.

Feedback is encouraged. If you would like to read more, consider subscribing to the regularly updated RSS Feed.


  1. Chris

    Well, are you going to be using something like prototype and scriptaculous? Script.aculo.us is actually very easy to implement.

  2. brendan

    Probably.. script.aculo.us looks like a damn fine resource. My question is probably two fold - basically a good resource to come up to speed with ajax, as well some pointers to get me started.

    Given the site happens to have some examples and appears to have some good documentation it’s likely to be my first port of call.

    This is exactly the type of answer I was looking for, thanks Chris. :)

  3. Chris

    Well, as regards getting up to speed with Ajax, I don’t think that’s humanly possible; too much of a moving target.

    But, figuring out script.aculo.us is pretty easy. Basicallly you link two .js files which make calls to a number of unlinked .js files. Then, on an element like a div set an event call to a function like onclick=”Effect.Appear(id of div)” to make a display:none Div fade into view.

    The list of effects is at the site. The nifty bit comes when you combine effects.

    I have a small set of del.icio.us bookmarks for Ajax. I’ve been collecting them recently.

  4. brendan

    “But, figuring out script.aculo.us is pretty easy.”

    Yes.. it certainly looks to be a good concept. Some light (ok, maybe not so light) reading may be in order.

  5. matthew

    Yeah, its not so hard. If you have a look at the code on my home page and this post it should be fairly easy.
    TBH, showing/hiding a div is dead easy - its the loading of dynamic pages within that div I had a problem with.