Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Random daily content

    Id like to find something like this to place inside a css sidebar:

    http://www.dynamicdrive.com/dynamici...dowiframe2.htm

    But i'd like to be able to have it display a random page each day instead of a set page for a certain day. Its going to be for a cooking website and i'd like to do a recipe of the day type thing with a recipe and a small youtube video in the side bar. Would this be possible and is there a similar script already available that i can use?

  • #2
    Senior Coder
    Join Date
    Dec 2010
    Posts
    2,355
    Thanks
    11
    Thanked 558 Times in 551 Posts
    Things like that are usually tasks for the server side language of your choice because you (most certainly) will want to get this information from a database. The server side language will query the database for a random entry and then it will put together the output for the page based on that entry.

  • #3
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the reply. Yes that sounds like what im wanting to do. Do you know of anywhere i could find a script that would do this, or what i should be searching for roughly, im wouldn't know where to start if had to write one from scratch!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •