[Top] [All Lists]

Re: How to fix this?

Subject: Re: How to fix this?
From: "cf_dev2"
Date: Tue, 7 Aug 2007 02:18:17 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
>how can i change this to work correct way?.

 I don't know without seeing the javascript code.  At a guess it looks like 
you're expand/collapsing [b]all[/b] div tags.  
 >   ... onClick="expandCollapse([b]'div'[/b],'detailsPage', event);"/> 

 If you want to expand/collapse individual div's you must give each one a 
unique "id" and pass the id to your function.  

<Prev in Thread] Current Thread [Next in Thread>