Microsoft
Software
Hardware
Network
Question : Randomize distribution of images
I have a bunch of images I am displaying on a web page.
I want to randomize the padding so the the images are not all in a straight line. Kinda "NASCAR" style where the placement is kinda random and disorgainzed.
I'll try to find an example of what I have in mind!
Answer : Randomize distribution of images
Use a random function and apply to all images and the padding property
for all images, do:
Random random = new Random();
int randomNumber = random.Next(min, max);
apply randomNumber on current image padding property
Note: It is a C# solution
Random Solutions
.Net v1.1 Website Problem
Hard disk drive Iomega MDHD10T-U2 not running on Windows 7/XP?
How do I delete .txt files using VBA in Excel 2007?
VBA to change Linked Tables for Test and Production
Login returns to login screen
Can a mde runtime based on access 2003 on computer with access 2007 installed
Auto Populate an unbound textbox on an unbound form
Question on Query Grouping
Cant find a driver for old wireless card
Word 07 - How do I remove the margins completely so that a tilte spreads across an entire A4 page?