GJH
DIGITAL'S:
RANDOM IMAGES
GJH Random Images is an Image control that will
display random images from a folder that you specify. This is commonly used for
displaying ads, and keeping a website looking "NEW" or "Updated" without having
to modify the page's html. Simply add all the images you wish to have rotated
in a specific folder on your website and point the control to that folder.
Everytimg someone hits your page, a different image from within your specified
folder will display. You can specify:
-
width
-
height
-
css class
-
borders
-
align
-
alt
-
src
Private Sub Page_Load(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
GJHRandomImages1.ImgFolder = "images/"
End If
End Sub
|