Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    10
    Member #
    20214
    Currently, my homepage contains one static photo. However, I would like to add 3 or 4 other photos that automatically refresh as visitors visit my site. Any suggestions how to do it?
    http://www.westpoint.edu/band/test/index.htm
    Any suggestions would be greatly appreciated!
    Eric

  2.  

  3. #2
    Junior Member
    Join Date
    Oct 2009
    Posts
    1
    Member #
    20218
    even i need solution for same .if any one have answers

  4. #3
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    Using PHP.

    But you'll need to change your filename to "index.php" (or use .htaccess to process
    your .htm file as PHP). If you don't want to use PHP, you could use Javascripting.

    Another decision ...
    It changes for each visitor randomly, or in sequence?
    It changes by hour, day, week?
    Each visitor sees the same photo, or does that not matter? (user cookie?)


  5. #4
    Junior Member
    Join Date
    Oct 2009
    Posts
    10
    Member #
    20214
    Thank you for the reply! Frankly, I do not mind if the sequence is different for each visitor, however, I would like it to refresh every 4-5 seconds.
    Once I change my filename to index.php, do I merely add the additional photos in the code? If so, is there a way to dictate the how long before the next photo refreshes?
    http://www.westpoint.edu/band/test/index.htm

    Quote Originally Posted by mlseim
    Using PHP.

    But you'll need to change your filename to "index.php" (or use .htaccess to process
    your .htm file as PHP). If you don't want to use PHP, you could use Javascripting.

    Another decision ...
    It changes for each visitor randomly, or in sequence?
    It changes by hour, day, week?
    Each visitor sees the same photo, or does that not matter? (user cookie?)

  6. #5
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    I recommend you use Flash for doing what you want.

    PHP would require a page refresh, which you probably don't want.
    You could use Javascripting instead of Flash, but Flash would look nicer.

    Here is a nice Javascript with good transitions between photos:
    http://www.scriptocean.com/slideshow/


  7. #6
    Junior Member
    Join Date
    Oct 2009
    Posts
    10
    Member #
    20214
    Thank you! I will download your recommendation. I assume I can retain the .htm extension, correct?

  8. #7
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    With Javascript, you can keep it .htm


  9. #8
    Junior Member
    Join Date
    Oct 2009
    Posts
    10
    Member #
    20214
    Thank you!
    Quote Originally Posted by mlseim
    With Javascript, you can keep it .htm

  10. #9
    Junior Member
    Join Date
    Oct 2009
    Posts
    1
    Member #
    20248
    Quote Originally Posted by onlineisgreat
    even i need solution for same .if any one have answers
    i am planning to open a website on Cohiba cigars. what is the first step i need to take to do it... thanks...

  11. #10
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    James ...
    It looks like you did take the first step ... you have a website.

    What do you mean by "open it"?



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:40 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com