[support] passing more than one argument to my lcarousel script

Aldo Martinez Selleras aldo at caonao.cu
Fri Nov 19 20:30:28 UTC 2010


If I need to pass 2 or more arguments for the image creation of the
carousel, how I insert it in the img markup ??

<data>
<image>background00.jpg</image>
<image>background01.jpg</image>
<image>background02.jpg</image>
<image>background03.jpg</image>
<model>model00</model>
<model>model01</model>
<model>model02</model>
<model>model03</model>
</data>

And I need the image markup be like that

return '<img src="' + url + '" alt="' + model + '" />';

the XML generate OK, but I don't know how to read de model value!




More information about the support mailing list