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
2 questions about messagequeue
call / run / execute a javascript function on a html webpage with an vb 6 activeX on the same page
" List does not exist" when start Sharepoint portal server page. Please kindly help me!
How to make label in vb.net visual studio 2008 Transparent
Add reference to Microsoft.SqlServer.Manage<wbr />ment not available
select the most recent date in mssql
Convert Epoch Date from Mysql to MS Access
SSRS 2008 images after text
T SQL Update table.col based on several criteria
3 Cascading Combo boxes Working and NotInList Working But How do I Input Data from another Form