hey James,
sorry I haven't had a chance to reply to your comment on
learningjquery.com yet. But it looks like you've got it figured out
anyway. Good job.
You might also want to take a look at one of the accordion plugins.
You can find them here:
http://docs.jquery.com/Plugins#Navigation
ry 30, 2007 2:54 PM
> To: jQuery Discussion.
> Subject: Re: [jQuery] dynamic id's for show/hide toggle?
>
> Oh okay ... just do something like this:
>
> $(function() { // document.ready
> $('.details').hide();
> $('a.slick-toggle').bind(
: Tuesday, January 30, 2007 2:42 PM
> To: jQuery Discussion.
> Subject: Re: [jQuery] dynamic id's for show/hide toggle?
>
> Unfortunately I'm behind a firewall :(
>
> Basically I'm looping over a query returned from a database...
>
>
>
Oh okay ... just do something like this:
$(function() { // document.ready
$('.details').hide();
$('a.slick-toggle').bind('click', function() {
$(this)
.parent() // the p tag
.next('div.details') // the details we want
.toggle(400);
Unfortunately I'm behind a firewall :(
Basically I'm looping over a query returned from a database...
This requirement description
[+] Show/hide requirement details
List
I'm a little confused about what you are needing. Could you show an
example of what is currently up? That would also show the structure of
your code. You might just be able to use selectors instead of IDs to
find the elements you want to show/hide.
--
Brandon Aaron
On 1/30/07, Priest, James (NIH/
I'm just getting started with jquery so bear with me :)
I'm working on displaying a dynamic list generated with ColdFusion. I
found the "slicker show/hide" tutorial and have that working - but need
to show/hide elements on each row of my list. Right now it works - but
when I click my show/hide l