Random header-image

bart

Active member
Is it possible to generate a random number in a template?

I need a number between 1 and 10 like in rand(1,10) to add to the header-image-url (in the header-template or in the header-css). Can it be done through javascript maybe?

What would be a good way to do it?
 

kankan

Well-known member
Hello
In the same way i am looking for a way to generate a random background.
Any trick to perform this ?
Thank you
 
Top