I found this code somewhere, sorry I don't remember where, but it works great for a rotating banner.
Attached is code from MY site, please replace the the GirlRiders addresses, images and alt text with your own. Then paste in a text box on your ning site.
You need to setup your images the exact size you want and store them somewhere so you can add the href address to the code.
Copy the line of code down and change the info for however many images you want in rotation.
See it in action here: http://GirlRiders.ning.com Its the top center text box. Hit refresh to see it change. I plan to add more images when I have time to make them.
ENJOY :)
<SCRIPT LANGUAGE="Javascript">
function banner() { } ; b = new banner() ; n = 0
b[n++]= "<A HREF='http://girlriders.ning.com/page/the-one-stop-shop-support'><IMG name=randimg SRC='http://girlriders.net/banner/shop-sm.png' border='0' ALT='GirlRiders One Stop Shop'></A>"
b[n++]= "<A HREF='http://girlriders.ning.com/events'><IMG name=randimg SRC='http://girlriders.net/banner/events-sm.png' border='0' ALT='GirlRiders Join an Event or Plan your Own'></A>"
b[n++]= "<A HREF='http://girlriders.ning.com/forum'><IMG name=randimg SRC='http://girlriders.net/banner/discussion-sm.png' border='0' ALT='GirlRiders Discuss anything in the Forums'></A>"
i=Math.floor(Math.random() * n) ;
document.write( b[i] )
</SCRIPT>
Tags: banner, image, load, refresh
Permalink Reply by Katie McKay on July 25, 2010 at 12:58pm
Permalink Reply by MAXX on July 31, 2010 at 1:36pm
Permalink Reply by Katie McKay on July 31, 2010 at 2:56pm
Permalink Reply by MAXX on July 31, 2010 at 3:10pm
Permalink Reply by Katie McKay on July 31, 2010 at 3:52pm
Permalink Reply by MAXX on July 31, 2010 at 5:35pm
Permalink Reply by Kresla on September 28, 2010 at 2:41am
Permalink Reply by Katie McKay on September 28, 2010 at 4:28am 
Nice one Katie!




soaringeagle replied to soaringeagle's discussion 'google disavow 101'
Jelena replied to israel's discussion 'Pantalla de Administrador o Creador (Manage'© 2013 Created by Ning.
