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?
 
Top Bottom