% Const IMGS_DIR = "/slideshow images/" Dim objFSO, objFolderObject, objFileCollection, objFile Dim intFileNumberToUse, intFileLooper Dim objImageFileToUse Dim strImageSrcText Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Set objFolderObject = objFSO.GetFolder(Server.MapPath(IMGS_DIR)) Set objFSO = Nothing Set objFileCollection = objFolderObject.Files Set objFolderObject = Nothing Randomize() intFileNumberToUse = Int(objFileCollection.Count * Rnd) + 1 intFileLooper = 1 For Each objFile in objFileCollection If intFileLooper = intFileNumberToUse Then Set objImageFileToUse = objFile Exit For End If intFileLooper = intFileLooper + 1 Next Set objFileCollection = Nothing strImageSrcText = IMGS_DIR & objImageFileToUse.Name Set objImageFileToUse = Nothing %>
|
Newsletters |
|||
|
2009-2010 |
|||
|
November |
|||
|
December |
January |
February |
March |
![]() |
![]() |
![]() |
![]() |
|
April |
May |
Click
Here To See Summer Calendar
|
|
|
©2003-2009
All Rights Reserved Riverside Elementary School 38480 Sullivan Drive Pearl River< LA 70452 (985) 863-3141 Graphics from Graphic Garden |
|||