I am not familiar with wordpress... So, it will be helpful if you could post the HTML structure that you have and also the details of what should happen on click of what..
-GTG On 6/21/07, alistair <[EMAIL PROTECTED]> wrote:
I'm a jQuery newb and I'm playing with a wordpress theme. What I'd like to do is show/hide the categories that are associated with each post. I have attached an ID to each list of categories that corresponds to the pageID that WordPress gives me. ie: <div id="cat137">{categories here}</div> Each category group has a h4 just above it that has a similar ID: <h4 id="cathead137">{post heading}</h4> Okay, so I have my basic function at the top for showing and hiding, but I am not sure how to pass a variable up to it in order to hide the specific comments section I am clicking on the title for. I can make it work if there is only 1 heading and comment section because I can just hardcode the ID number. Any ideas? Alistair