Is it possible to have two random numbers generated on the same page?
I'm using
To randomly rotate a left banner (RNL) & right banner (RNR) respectively. Bit crude I guess but it'll suffice for now!
The problem only occurs if both randomisers are on the same page, if I rem one out, the other works fine. Is there a way around this?
Thanks
I'm using
Code:
RNL = (Math.round((Math.random()*1)+1))
RNR = (Math.round((Math.random()*5)+1))
To randomly rotate a left banner (RNL) & right banner (RNR) respectively. Bit crude I guess but it'll suffice for now!
The problem only occurs if both randomisers are on the same page, if I rem one out, the other works fine. Is there a way around this?
Thanks