• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Random header-image

bart

Active member
#1
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?