Hi All,
I have created a site that uses the Event Calendar. Each event has a thumbnail image associated with it, and this thumbnail image is then enlarged and displayed on the homepage as up-coming events.
(excuse the untidy look at the moment)
What I would like to do is make these Event images on the Homepage a little more dynamic, more exciting and rotate between all the up-coming events, either with simple code, or some kind of flash integration.
Does anyone have any ideas on what I could do, and how I could do it.
This is my code setup at the moment:
Homepage.php
function HomeEvent()
{
return DataObject::get_one("CalendarEvent");
}
Homepage.ss
<div id="HomeTopState">
<% control HomeEvent.Image %>
<li><img src="$URL" alt=""/></li>
<% end_control %>
</div>
Anything at all, I'm in need of inspiration.
Thanks.