1
var line=new Array()
<{foreach item=marq from=$marquee}>
<{counter start=1}>
line[<{counter}>]=<a href="<{$xoops_url}>/modules/news/news.php?id=<{$marq.id}>&mod=<{$marq.tablename}>"><{$marq.title}></a>
<{/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