QUICK QUESTION


by PVENKMAN84

20 years, 10 months ago


You see how the site banners alternate with every page randomly here on GBC? How would one go about programming that?

by lordvego1

20 years, 10 months ago


the little thing under it saying “Own a Ghostbusters Website? Add Your Banner! ”

by PVENKMAN84

20 years, 10 months ago


I mean how would I make one for my OWN site. Yeesh.

by lordvego1

20 years, 10 months ago


oh, well you didnt say tht.. you need a photo editing program and make it (the banner) to the proper pixel size (i dont now it, sorry) then upload it…

by PVENKMAN84

20 years, 10 months ago


One more time: How the hell do I get banners for other sites to switch around at random like they do on GBC for my own site?

by Cosmic-Riptide

20 years, 10 months ago


I'm pretty sure it's just JavaScript. Sorry that I can't get much more specific then that, I've been trying teach myself JavaScript for a while now, but so far have had little success.

From my experience JS isn't as straight forward as basic HTML, but you might be able to find a tutorial or script generator for the effect you want here…

http://www.hotscripts.com/

EDIT- I'm not 100% sure, but this might be what you're looking for…

http://www.hotscripts.com/Detailed/105.html

And other possible solutions might be listed here…

http://www.hotscripts.com/JavaScript/Scripts_and_Programs/Banner_Rotation/index.html

by jay_tigran1

20 years, 10 months ago


I'm pretty sure it is just random javascripting… not that hard for someone who knows what he/she's doing (*ray)

by brianreilly

20 years, 10 months ago


There's a quick version that a rather lousy hack on GBComm.

It's not pretty code, but it does the job quite nicely, and is compatible with all the mainstream browsers. Plus, it's easy to implement. Just make sure you get the right frame when you look at the source.