PDA

View Full Version : how can i make my banners random?


stevebullman
26 Oct 2007, 16:06
hi everyone. i currently have banners running down the right hand side of my forum home
www.arbtalk.co.uk

i use this code and repeat whenever a new sponsor is added
<a href='http://www.treeworker.co.uk' target='_blank'><img src='/images/banners/treeworkerside.gif' alt='' border='0' /></a>

what i would like to do is have all those banners display in a random order each time...could someone advise me how to code that please?
thankyou

calorie
26 Oct 2007, 17:30
Try http://www.vbulletin.org/forum/search.php?do=process&q=random+banners as there should be a mod that you could use to rotate your banners.

stevebullman
26 Oct 2007, 17:39
thanks....all the rotators i see are for rotating one individual block

calorie
26 Oct 2007, 17:42
There is a simple JavaScript example here (http://www.bannercreator.nu/banner-rotation.html) to rotate five banners. Maybe that will work for you.

stevebullman
26 Oct 2007, 18:17
that might work, thanks