19 Mar
2004
19 Mar
'04
9 a.m.
Michael Fox wrote:
Hi *,
What's the easiest way to do the following DTML in ZPT?
<img src="images/<dtml-var expr="_.whrandom.choice(imgages.objectIds())">" />
Easy: Save this DTML method as random_image: ----8<------8<------8<------8<------8<------8<-- <img src="images/<dtml-var expr="_.whrandom.choice(imgages.objectIds())">" /> ----8<------8<------8<------8<------8<------8<-- and call this dtml method from your ZPT Regards, -- Jaroslav Luke -- Tento e-mail nemu*e obsahovat VIRY jeliko nepocházi z virózního systému M$ Windows!