The Featured Content Slider is more suited to a shorter slide interval - 10 seconds or so, so a visitor can see content changing while they view the page.
For daily content you'd probably be looking for a script like this;
PHP Code:
<?php
$wkday = date('D');
if ($wkday == 'Mon') {
echo 'Content for Monday';
}
else if ($wkday == 'Tue') {
echo 'Content for Tuesday';
}
else if ($wkday == 'Wed') {
echo 'Content for Wednesday';
}
else if ($wkday == 'Thu') {
echo 'Content for Thursday';
}
else if ($wkday == 'Fri') {
echo 'Content for Friday';
}
else if ($wkday == 'Sat') {
echo 'Content for Saturday';
}
else if ($wkday == 'Sun') {
echo 'Content for Sunday';
}
?>
I'm not sure of a javascript equivalent though - I imagine that a javascript version would be unreliable as it would be based on the client-side clock.
Bookmarks