The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Rotating image banner?

Hi guys,

I'd like to create something like the banner at the top of this page in Javascript if that's at all possible? I know that one uses Flash, but I'm not a huge fan of that myself and this seems like something that could quite easily be done using Javascript, but I'm not really sure where to start.

Is this possible in js? Are there any pre-compiled libraries or scripts that'll help do this?

By the looks of things that rotating banner you are looking at is done in Flash. Raffle's code is ideal for rotating different banner files (these could be Flash files) but pure javascript wouldn't allow you to do too much animation very easity. I'd go for Flash if that's what you're after.

Pardon the ignorance but which of the functions do I actually have to use? I guess I need to use a modified version of what they've used on their main homepage navigation, but I'm not really too sure how and their documentation really doesn't seem to be aimed at beginners ;o

JavaScript frameworks really make life easier for people that are not so good with JavaScript. But if you don't understand the examples, then you should maybe at least learn enough so that you get the JavaScript basics. That should be enough and help you.