1
var line=new Array()
<{foreach item=marq from=$marquee}>
<{counter start=1}>
line[<{counter}>]=
<{$marq.title}><{/foreach}>
I am trying to do something like this
I am actually embeding javascript marquee into my one template file.
i need the above script to print something like this inside javascrpt array
line[1] = tile of the item
line[2] = tile of the item
and so on
Thanks in advance