that should be ok ht should be a string - S
On 9 March 2010 04:00, SH <[email protected]> wrote: > Hi all, > > For my SWF object I have to calculate its height based on some > parameters. > How achieve I something like this? > > var ht = 280+((@products.length/4 ).ceil)*15 > var so = new SWFObject("/amcharts/amline.swf", "Sales", "1010", ht, > "8", "#FFFFFF"); > > Cheers, > SH > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
