Results 1 to 3 of 3

Thread: IFRAME and/or Script help

  1. #1
    Join Date
    Nov 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IFRAME and/or Script help

    I'm designing a website for a bar, and I would like to find a script that would allow pages to change inside of an IFRAME on a time schedule. I'd like to be able to feature the events of a night on one page, run it for 24 hours, and then have the site automatically switch to the next page for the next night's events. . .if you guys follow me on that one. . .thanks for your time, efforts, and consideration.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    You could utilize javascript or any server side language to accomplish this, as far as Javascript goes, I'm not sure how it would be done (as I am just learning Javascript); however, you could utilize PHP for this (depending if the server has PHP enabled). If you were to use PHP, you could utilize the date(); function as well as if and elseif statements. If you would like, let me know what it is exactly you would like set up (ie: if the web page in the IFRAME will be created by hand on a day to day basis, or if the events are already in a database, or something to that effect.) and I would not mind helping out a little.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Nov 2006
    Location
    Pirassununga/SP Brazil
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    This script is written JavaScript and you can find it easyle on net. Look for "fotos changed by hours java script code) on google.

    you will find a code that change the page's foto by hour. The one I found once functions by 24 hours and when finishing it goes to the firt one foto.

    But all 24 fotos are inside a folder on server.

    You could change the 24 photos diaryrly.

    PS: Some codes allow you to change the fotos at each 30 min, 10min, ...

    May it halp you?

Bookmarks

Posting Permissions

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