I have a slide populated with 5 sections. Each section contain one card.
Each section also features a link that calls the function below.
I need to know how to tweak the function so that it transforms the section and card related to the clicked link. (link in section2 will affect #section 2 and #card2, etc.)
I have thought of bringing in arrays, but then, I don't know how to handle the rest of the code. #_#

Code:
function showCard(){
	new Effect.Transform([ 
		{ "#section1": "width:1000px" }, 
		{ "#card1": "width:950px" } ],
		{ duration: 1.0}).play();
}
THANK YOU GUYS!!! ^_^