for(i = 0; i < frame_count; i++){
$(".frame").slice(i,i+1).show(); //Display right odd frames
$(".frame").slice(i,i+1).css({"top":"-798px","left":"102px","z-index":"-1", "height":"380px", "width":"180px"}); //Position right odd frames
}//End of for loop
Now for this line, .slice(i,i+1).css({"top":"-798px","left":"102px","z-index":"-1", "height":"380px", "width":"180px"}); Im actually trying to replace the numeric values with multiples of i such as "top": "-798*i" or in some cases, a complex algebraic expression involving i such as "left":"(102*i + 3)px" How do I accomplish that? Any ideas please?

New Topic/Question
Reply


MultiQuote



|