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
WinMgmt errors in event log, started after applying latest updates
what is the difference between utf-8 or utf-7 both are unicode
Mailbox is missing after moving from Exchange 2003 to Exchange 2007
Add/Remove programs display has large gap in listling ?
How do I replace #N/A if it is returned in a formula? (not Vlookup)
What workarounds are available to paste an image into a sharepoint list form
UNC Share as an IIS Virtuial Directory
How do I return multiple files in Excel VBA using GetOpenFilename?
How many cores does Microsoft SBS 2003 support?
Flex: properties of components at runtime