Graphics

  • Thread starter Thread starter Dana
  • Start date Start date
D

Dana

I don't really know how to explain what I am trying to do
but here goes. I have this folder of pictures that are
cropped and ready to put on my website (the opening
page). I would like if possible to change those pictures
every day just rotating through the pictures in the
folder. I don't know how to do that. I tryed to schedule
it but I don't really know how that would apply to my
scenario.

Any ideas?
 
You would have to program this in JavaScript, ASP, or ASP.NET. The exact
code would depend on how you want the rotation to work.

The simplest case is displaying a random picture every time someone browses
the page. In that case, try the techniques described in these articles.

o MSKB article 318285, How To Use the ASP Ad Rotator
Installable Component in FrontPage 2002

o MSKB article 305035, How To Use the AdRotator Control
in an ASP.NET Application

o Creating a Banner Ad System, at
http://msdn.microsoft.com/library/en-us/dnfp2k2/html/odc_fpadbanners.asp

If you want to display the same picture from midnight to midnight and then
change, you'd have to write some more elaborate code. The same would be true
if you want the code to get a list of available pictures at run time, and
then pick one at random or in some sort of sequence.

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
thanks :)
-----Original Message-----
You would have to program this in JavaScript, ASP, or ASP.NET. The exact
code would depend on how you want the rotation to work.

The simplest case is displaying a random picture every time someone browses
the page. In that case, try the techniques described in these articles.

o MSKB article 318285, How To Use the ASP Ad Rotator
Installable Component in FrontPage 2002

o MSKB article 305035, How To Use the AdRotator Control
in an ASP.NET Application

o Creating a Banner Ad System, at
http://msdn.microsoft.com/library/en- us/dnfp2k2/html/odc_fpadbanners.asp

If you want to display the same picture from midnight to midnight and then
change, you'd have to write some more elaborate code. The same would be true
if you want the code to get a list of available pictures at run time, and
then pick one at random or in some sort of sequence.

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*




.
 
Back
Top