PDA

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


stevebullman
10-26-2007, 03:06 PM
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
10-26-2007, 04:30 PM
Try https://vborg.vbsupport.ru/search.php?do=process&q=random+banners as there should be a mod that you could use to rotate your banners.

stevebullman
10-26-2007, 04:39 PM
thanks....all the rotators i see are for rotating one individual block

calorie
10-26-2007, 04:42 PM
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
10-26-2007, 05:17 PM
that might work, thanks