Posted on March 1, 2008 - 3:31am
The following code was used to have several images or a flash animations rotate inside a block.
I wanted to have many images stored in the database and have them appear inside a side block without refreshing the page, so that visitors would be exposed to multiple ads without having to refresh the page and while they were reading the content of the page.
As you can see in the code, I call the style and javascript files externally. I created a cck content type to store the images and/or flash animations.
After you create the content type using cck module, you can manage your banners using the views module.